Template:Creation: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
(added chaos to category switch)
m (fixx)
 
(8 intermediate revisions by 3 users not shown)
Line 24: Line 24:
| label8  = Contributors
| label8  = Contributors
| data8  = {{{contributors|}}}
| data8  = {{{contributors|}}}
| header9 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| label9  = Evicted
| label10 = Started
| data9  = {{{evicted|}}}
| data10 = {{{started|}}}
| header10 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| label11 = Completed
| label11 = Started
| data11 = {{{completed|}}}
| data11 = {{{started|}}}
}}{{#switch: {{lc:{{{server|}}}}}
| label12 = Completed
| data12 = {{{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)]]}}
| 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)]]}}
| 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)]]}}
| 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)]]}}
| 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>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 21:05, 9 March 2012

Documentation icon Template documentation[view] [edit] [history] [purge]
Test
Example.png
Caption of image
Location
Server Creative
Map revision 3
Warp test
Coordinates 1, 2
Creators
Lead foo
Contributors bar, baz
Evicted baz, bar
Timeline
Started 2011-01-02
Completed 2011-01-05

Using this template on a page will automatically add the page to a category based on the server and map revision parameters.

{{Creation
| title        = Test
| image        = [[Image:Example.png|225px]]
| caption      = Caption
| server       = [[Creative]] / [[Survival]] / [[PvE]] / [[Chaos]] Remember put server name in brackets
| map revision = 3
| warp         = test
| coordinates  = 1, 2
| lead         = foo
| contributors = bar, baz
| evicted      = baz, bar
| started      = 2011-01-02
| completed    = 2011-01-05
}}

Parameters

title
creation title
image
image of the creation
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
lead
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)