Template:City: Difference between revisions

From MC Public Wiki
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   = {{{warp|}}}
| data2  = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}}
| header3 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| label3 = Warp
| label4 = Started
| data3   = {{{warp|}}}
| data4   = {{{started|}}}
| header4 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| label5 = Completed
| label5 = Started
| data5   = {{{completed|}}}
| data5   = {{{started|}}}
| header6 = {{#if: {{{mayors|}}}{{{residents|}}} | Creators}}
| label6 = Completed
| label7 = Mayors
| data6   = {{{completed|}}}
| data7   = {{{mayors|}}}
| header7 = {{#if: {{{mayors|}}}{{{residents|}}} | Creators}}
| label8 = Residents
| label8 = Mayors
| data8   = {{{residents|}}}
| data8   = {{{mayors|}}}
| label9   = Evicted
| label9 = Residents
| data9   = {{{evicted|}}}
| data9   = {{{residents|}}}
| label10   = Evicted
| data10   = {{{evicted|}}}
 
}}
 
{{#ifeq: {{NAMESPACE}} | Template | | [[Category:City|{{PAGENAME}}]]
 
 
}}
 
</includeonly>
 
<noinclude>
 
{{documentation}}


}}{{#ifeq: {{NAMESPACE}} | Template | | [[Category:City|{{PAGENAME}}]]}}</includeonly><noinclude>{{documentation}}</noinclude>
</noinclude>

Revision as of 15:44, 5 March 2016



Documentation icon Template documentation[view] [edit] [history] [purge]

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 = Example.png | 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
}}