Template:City: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly> | ||
{{Infobox | |||
| title = {{{title|}}} | | title = {{{title|}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
Line 7: | Line 9: | ||
| label1 = Server | | label1 = Server | ||
| data1 = {{{server|}}} | | data1 = {{{server|}}} | ||
| label2 = Warp | | label2 = Map revision | ||
| | | data2 = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}} | ||
| | | label3 = Warp | ||
| | | data3 = {{{warp|}}} | ||
| | | header4 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}} | ||
| | | label5 = Started | ||
| | | data5 = {{{started|}}} | ||
| | | label6 = Completed | ||
| | | data6 = {{{completed|}}} | ||
| | | header7 = {{#if: {{{mayors|}}}{{{residents|}}} | Creators}} | ||
| | | label8 = Mayors | ||
| | | data8 = {{{mayors|}}} | ||
| | | label9 = Residents | ||
| | | data9 = {{{residents|}}} | ||
| label10 = Evicted | |||
| data10 = {{{evicted|}}} | |||
}} | |||
{{#ifeq: {{NAMESPACE}} | Template | | [[Category:City|{{PAGENAME}}]] | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
{{documentation}} | |||
</noinclude> |
Revision as of 15:44, 5 March 2016
Parameters
- city name
- Newest Argoth
- image
- caption
- "..."
- server name
- PvP
- map revision
- 12
- warp
- coordinates
- mayors
- username, username
- residents
- username, username
- started
- 2012-12-23
- completed
- 2013-02-13
Example
{{Infobox | title = Example City Name | image = | caption = caption text | headerstyle = background:#ccf; | labelstyle = width:45%;background:#ddf; | label1 = Server | data1 = PvE | label2 = Map revision | data2 = 17
If you don't have something to put in a section just leave it blank and it won't be shown. :)
{{City | title = Example City Name | image = [[Image:Example.png|350px]] | caption = caption text | server = [[PvE]] | map revision = 17 | warp = | coordinates = {{CartoP|r=17|x=0|z=0}} | mayors = example, example, example | residents = example, example, example | started = date | completed = date }}
The above documentation is transcluded from Template:City/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |