Template:CityExtended: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| name   = {{{name|}}}
| title   = {{{name|}}}
| image  = {{{image|}}}
| image  = {{{image|}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}
Line 7: Line 7:
| header1 = {{#if: {{{server|}}}{{{warp|}}}{{{coordinates|}}} | Location}}
| header1 = {{#if: {{{server|}}}{{{warp|}}}{{{coordinates|}}} | Location}}
| label2  = Server
| label2  = Server
| data2   = {{{server|}}}
| data2 = {{{server|}}}
| label3  = Map revisions
| label3  = Map revisions
| data3  = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}}
| data3  = {{{maprevision|}}} {{#switch: {{lc:{{{server|}}}}}
| label4  = Map revisions as city
| [[creative]] = {{#ifeq: {{{maprevision|}}} | {{Current Creative map revision}} | (current)}}
| data4  = {{{map revision as city|}}}
| [[survival]] = {{#ifeq: {{{maprevision|}}} | {{Current Survival map revision}} | (current)}}
| label5  = Map revisions in exile
| [[chaos]] = {{#ifeq: {{{maprevision|}}} | {{Current Chaos map revision}} | (current)}}
| data5  = {{{map revision in exile|}}}
| [[pve]] = {{#ifeq: {{{maprevision|}}} | {{Current PvE map revision}} | (current)}}
| [[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)}}
}}
}}
| label6 = Warp
| label4 = Warp
| data6   = {{{warp|}}}
| data4   = {{{warp|}}}
| label7 = Coordinates
| label5 = Coordinates
| data7   = {{{coordinates|}}}
| data5   = {{{coordinates|}}}
| header6 = {{#if: {{{lead|}}}{{{contributors|}}} | Creators}}
| header6= {{#if: {{{mayors|}}}{{{contributors|}}} | Creators}}
| label8 = Lead
| label7 = Mayors
| data8   = {{{lead|}}}
| data7   = {{{mayors|}}}
| label9 = Contributors
| label8 = Citizens
| data9  = {{{contributors|}}}
| data8  = {{{contributors|}}}
| label10   = Evicted
| label9   = Evicted
| data10  = {{{evicted|}}}
| data9  = {{{evicted|}}}
| header10 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| header10 = {{#if: {{{started|}}}{{{maprevisionsascity|}}}{{{maprevisionsinexile|}}}| Timeline}}
| label11 = Started
| label11 = Started
| data11  = {{{started|}}}
| data11  = {{{started|}}}
| label12 = Completed
| label12 = Map revisions as city
| data12  = {{{completed|}}}
| data12   = {{{maprevisionsascity|}}}
| label13  = Map revisions in exile
| data13  = {{{maprevisionsinexile|}}}
| header14 =  {{#if: {{{spleefteam|}}}{{{colors|}}} | City Info}}
| label15 = Spleef Team
| data15  = {{{spleefteam|}}}
| label16  = City Colors
| data16  = {{{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)]]}}

Latest revision as of 09:37, 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
Mayors foo
Citizens bar, baz
Evicted baz, bar
Timeline
Started 2011-01-02
Map revisions as city 4 through 16
Map revisions in exile 17 through 18
City Info
Spleef Team SploofyMcSpleefface
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