Template:CityExtended: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
 
<includeonly>{{Infobox
<pre style="overflow:auto">
| title  = {{{title|}}}
{{CityExtended
| image   = {{{image|}}}
| name        = Test
| caption = {{{caption|}}}
| image       = [[Image:Example.png|225px]]
| headerstyle = background:#ccf;
| caption     = Caption
| labelstyle  = width:33%;background:#ddf;
| server      = [[Creative]] / [[Survival]] / [[PvE]] / [[Chaos]] Remember put server name in brackets
| header1 = {{#if: {{{server|}}}{{{warp|}}}{{{coordinates|}}} | Location}}
| map revision = 3
| label2 = Server
| map revision as city = 4 through 16
| data2  = {{{server|}}}
| map revision in exile = 17 through 18
| label3  = Map revision
| warp         = test
| data3  = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}}
| coordinates = 1, 2
| [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}}
| mayors        = foo
| [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}}
| contributors = bar, baz
| [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}}
| evicted      = baz, bar
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}}
| started      = 2011-01-02
| completed    = 2011-01-05
| spleef team = The Senators
| colors = white, light blue, and blue
}}
}}
</pre>
| label4  = Warp
 
| data4  = {{{warp|}}}
== Parameters ==
| label5  = Coordinates
 
| data5  = {{{coordinates|}}}
; name : city name
| header6 = {{#if: {{{lead|}}}{{{contributors|}}} | Creators}}
; image : image of the city
| label7  = Lead
; caption : caption under the image.
| data7  = {{{lead|}}}
; server : link to the server page. put brackets around server name.
| label8  = Contributors
; map revision : map revision (the template will automatically add (current) if it is the current revision)
| data8  = {{{contributors|}}}
; warp : warp name
| label9  = Evicted
; coordinates : x and z coordinates
| data9  = {{{evicted|}}}
; mayors : lead designer or builder
| header10 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
; contributors : contributors or builders
| label11 = Started
; evicted : previous contributors or builders forceable removed
| data11  = {{{started|}}}
; started : start date ([http://en.wikipedia.org/wiki/ISO_8601 YYYY-MM-DD])
| label12 = Completed
; completed : completion date ([http://en.wikipedia.org/wiki/ISO_8601 YYYY-MM-DD])
| data12  = {{{completed|}}}
; spleef team : spleef team
}}{{#ifeq: {{NAMESPACE}} | Template | |  {{#switch: {{lc:{{{server|}}}}}
; colors : city colors
| [[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)]]}}
<includeonly>[[Category:Templates]]</includeonly>
| [[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)]]}}
| [[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 09:04, 2 June 2016

Documentation icon Template documentation[view] [edit] [history] [purge]
Example.png
Caption
Location
Server Creative / Survival / PvE / Chaos Remember put server name in brackets
Warp test
Coordinates 1, 2
Creators
Contributors bar, baz
Evicted baz, bar
Timeline
Started 2011-01-02
Completed 2011-01-05
{{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