Template:CityExtended: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox
<pre style="overflow:auto">
| title  = {{{name|}}}
{{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 revisions
| warp         = test
| data3  = {{{maprevision|}}} {{#switch: {{lc:{{{server|}}}}}
| coordinates = 1, 2
| [[creative]] = {{#ifeq: {{{maprevision|}}} | {{Current Creative map revision}} | (current)}}
| mayors        = foo
| [[survival]] = {{#ifeq: {{{maprevision|}}} | {{Current Survival map revision}} | (current)}}
| contributors = bar, baz
| [[chaos]] = {{#ifeq: {{{maprevision|}}} | {{Current Chaos map revision}} | (current)}}
| evicted      = baz, bar
| [[pve]] = {{#ifeq: {{{maprevision|}}} | {{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: {{{mayors|}}}{{{contributors|}}} | Creators}}
; image : image of the city
| label7  = Mayors
; caption : caption under the image.
| data7  = {{{mayors|}}}
; server : link to the server page. put brackets around server name.
| label8  = Citizens
; 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|}}}{{{maprevisionsascity|}}}{{{maprevisionsinexile|}}}| 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  = Map revisions as city
; completed : completion date ([http://en.wikipedia.org/wiki/ISO_8601 YYYY-MM-DD])
| data12  = {{{maprevisionsascity|}}}
; spleef team : spleef team
| label13  = Map revisions in exile
; colors : city colors
| data13  = {{{maprevisionsinexile|}}}
| header14 =  {{#if: {{{spleefteam|}}}{{{colors|}}} | City Info}}
| label15  = Spleef Team
| data15  = {{{spleefteam|}}}
| label16  = City Colors
| data16  = {{{colors|}}}


<includeonly>[[Category:Templates]]</includeonly>
}}{{#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)]]}}
| [[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>

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