Template:City: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
(added sections for PvP)
Line 14: Line 14:
| [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}}
| [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}}
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} }}
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} }}
| [[pvp]] = {{#ifeq: {{{map revision|}}} | {{Current PvP map revision}} | (current)}} }}
| label4  = Warp
| label4  = Warp
| data4  = {{{warp|}}}
| data4  = {{{warp|}}}
Line 37: Line 38:
| [[pve]] = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}}
| [[pve]] = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}}
| pve = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}}
| pve = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}}
| [[pvp]] = {{#if: {{{map revision|}}} | [[Category:PvP creations (map revision {{{map revision}}})]] | [[Category:PvP creations (unknown map revision)]]}}
| pvp = {{#if: {{{map revision|}}} | [[Category:PvP creations (map revision {{{map revision}}})]] | [[Category:PvP creations (unknown map revision)]]}}
| [[chaos]] = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}}
| [[chaos]] = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}}
| chaos = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}}
| chaos = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}}
|#default = [[Category:Unknown creations]]}}
|#default = [[Category:Unknown creations]]}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 15:11, 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

Example City Name
Example.png
caption text
Location
Server PvE
Map revision 17

| label4 = Warp | data4 = | label5 = Coordinates | data5 = 0, 0 | header6 = Creators | label7 = Mayors | data7 = example, example, example | label8 = Residents | data8 = example, example, example | label9 = Evicted | data9 = | header10 = Timeline | label11 = Started | data11 = date | label12 = Completed | data12 = date }}

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
}}