Template:City: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{Infobox | name = {{{name|}}} | image = {{{image|}}} | caption = {{{caption|}}} | headerstyle = background:#ccf; | labelstyle = width:33%;background:#ddf; | h...")
 
No edit summary
Line 10: Line 10:
| label3  = Map revision
| label3  = Map revision
| data3  = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}}
| data3  = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}}
| [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}}
| [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}}
| [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}}
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}}
}}
}}
| label4  = Warp
| label4  = Warp
Line 26: Line 22:
| label9  = Evicted
| label9  = Evicted
| data9  = {{{evicted|}}}
| data9  = {{{evicted|}}}
}}{{#ifeq: {{NAMESPACE}} | Template | | {{#switch: {{lc:{{{server|}}}}}
| [[creative]] = {{#if: {{{map revision|}}} | [[Category:Creative creations (map revision {{{map revision}}})]] | [[Category:Creative creations (unknown map revision)]]}}
| [[survival]] = {{#if: {{{map revision|}}} | [[Category:Survival creations (map revision {{{map revision}}})]] | [[Category:Survival creations (unknown map revision)]]}}
| [[pve]] = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}}
| [[chaos]] = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}}
}}}}</includeonly><noinclude>{{documentation}}</noinclude>
}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 17:06, 15 October 2011

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.png
caption text
Location
Server PvE
Map revision 17
Coordinates 0, 0
Creators
Residents example, example, example
}}

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