Template:Creation: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
(added category switch)
m (forgot brackets)
Line 30: Line 30:
| data11  = {{{completed|}}}
| data11  = {{{completed|}}}
}}{{#switch: {{lc:{{{server|}}}}}
}}{{#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)]]}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 10:50, 26 January 2011

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
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)