Template:CityExtended: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
| label2  = Server
| label2  = Server
| data2  = {{{server|}}}
| data2  = {{{server|}}}
| label3  = Map revisions as city
| label3  = Map revisions
| data3   = {{{maprevisionascity|}}}
| data3  = {{{maprevision|}}} {{#switch: {{lc:{{{server|}}}}}
| label4  = Map revisions in exile
| data4  = {{{maprevisioninexile|}}}
| label5  = Map revisions
| data5   = {{{maprevision|}}} {{#switch: {{lc:{{{server|}}}}}
| [[creative]] = {{#ifeq: {{{maprevision|}}} | {{Current Creative map revision}} | (current)}}
| [[creative]] = {{#ifeq: {{{maprevision|}}} | {{Current Creative map revision}} | (current)}}
| [[survival]] = {{#ifeq: {{{maprevision|}}} | {{Current Survival map revision}} | (current)}}
| [[survival]] = {{#ifeq: {{{maprevision|}}} | {{Current Survival map revision}} | (current)}}
Line 19: Line 15:
| [[pve]] = {{#ifeq: {{{maprevision|}}} | {{Current PvE map revision}} | (current)}}
| [[pve]] = {{#ifeq: {{{maprevision|}}} | {{Current PvE map revision}} | (current)}}
}}
}}
| label6 = Warp
| label4 = Warp
| data6   = {{{warp|}}}
| data4   = {{{warp|}}}
| label7 = Coordinates
| label5 = Coordinates
| data7   = {{{coordinates|}}}
| data5   = {{{coordinates|}}}
| header6 = {{#if: {{{lead|}}}{{{contributors|}}} | Creators}}
| header6 = {{#if: {{{lead|}}}{{{contributors|}}} | Creators}}
| label8 = Lead
| label6 = Maoyrs
| data8   = {{{mayors|}}}
| data6   = {{{mayors|}}}
| label9 = Contributors
| label7 = Citizens
| data9   = {{{contributors|}}}
| data7   = {{{contributors|}}}
| label10   = Evicted
| label8   = Evicted
| data10   = {{{evicted|}}}
| data8   = {{{evicted|}}}
| header10 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| header10 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| label11 = Started
| label9 = Started
| data11 = {{{started|}}}
| data9 = {{{started|}}}
| label12 = Completed
| label10 = Completed
| data12  = {{{completed|}}}
| data10  = {{{completed|}}}
| label11  = Map revisions as city
| data11  = {{{maprevisionascity|}}}
| label12 = Map revisions in exile
| data12   = {{{maprevisioninexile|}}}
| header11 =  {{#if: {{{spleefteam|}}}{{{colors|}}} | City Info}}
| label11 = Spleef Team
| data11  = {{{spleefteam|}}}
| label12  = City Colors
| data12  = {{{colors|}}}
 
}}{{#ifeq: {{NAMESPACE}} | Template | |  {{#switch: {{lc:{{{server|}}}}}
}}{{#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)]]}}

Revision as of 09:19, 2 June 2016

Documentation icon Template documentation[view] [edit] [history] [purge]
Test
Example.png
Caption
Location
Server Creative / Survival / PvE / Chaos Remember put server name in brackets
Warp test
Coordinates 1, 2
Creators
Citizens bar, baz
Evicted baz, bar
Started 2011-01-02
Timeline
City Info
City Colors white, light blue, and blue
{{CityExtended
| name        = Test
| image        = [[Image:Example.png|225px]]
| caption      = Caption
| server       = [[Creative]] / [[Survival]] / [[PvE]] / [[Chaos]] Remember put server name in brackets
| maprevisions = 3
| maprevisionsascity = 4 through 16
| maprevisionsinexile = 17 through 18
| warp         = test
| coordinates  = 1, 2
| mayors         = foo
| contributors = bar, baz
| evicted      = baz, bar
| started      = 2011-01-02
| completed    = 2011-01-05
| spleefteam = SploofyMcSpleefface
| colors = white, light blue, and blue
}}

Parameters

name
city name
image
image of the city
caption
caption under the image.
server
link to the server page. put brackets around server name.
map revision
map revision (the template will automatically add (current) if it is the current revision)
warp
warp name
coordinates
x and z coordinates
mayors
lead designer or builder
contributors
contributors or builders
evicted
previous contributors or builders forceable removed
started
start date (YYYY-MM-DD)
completed
completion date (YYYY-MM-DD)
spleef team
spleef team
colors
city colors