Template:City: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| headerstyle = background:#ccf;
| headerstyle = background:#ccf;
| labelstyle  = width:33%;background:#ddf;
| labelstyle  = width:45%;background:#ddf;
| header1 = {{#if: {{{server|}}}{{{warp|}}}{{{coordinates|}}} | Location}}
| label1  = Server
| label1  = Server
| data1  = {{{server|}}}
| data1  = {{{server|}}}
| label2  = Map revision
| label2  = Warp
| data2  = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}}
| data2  = {{{warp|}}}
| [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}}
| header3 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}}
| label4 = Started
| [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}}
| data4   = {{{started|}}}
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} }}
| label5 = Completed
| [[pvp]] = {{#ifeq: {{{map revision|}}} | {{Current PvP map revision}} | (current)}} }}
| data5   = {{{completed|}}}
| label3 = Warp
| data3   = {{{warp|}}}
| label4 = Coordinates
| data4   = {{{coordinates|}}}
| header5 = {{#if: {{{mayors|}}}{{{residents|}}} | Creators}}
| label6  = Mayors
| label6  = Mayors
| data6  = {{{mayors|}}}
| data6  = {{{mayors|}}}
| label7  = Residents
| label7  = Residents
| data7  = {{{residents|}}}
| data7  = {{{residents|}}}
| label8  = Evicted
 
| data8  = {{{evicted|}}}
}}{{#ifeq: {{NAMESPACE}} | Template | | [[Category:City|{{PAGENAME}}]]}}</includeonly><noinclude>{{documentation}}</noinclude>
| header9 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| label10 = Started
| data10  = {{{started|}}}
| label11 = Completed
| data11  = {{{completed|}}}
}}{{#ifeq: {{NAMESPACE}} | Template | |  {{#switch: {{lc:{{{server|}}}}}
| [[creative]] = {{#if: {{{map revision|}}} | [[Category:Creative creations (map revision {{{map revision}}})]] | [[Category:Creative creations (unknown map revision)]]}}
| 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)]]}}
| 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)]]}}
| 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)]]}}
|#default = [[Category:Unknown creations]]}}
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 15:38, 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
Server PvE
Timeline
Started date
Completed date
Mayors example, example, example
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
}}