Template:Creation: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
 
m (fixx)
 
(20 intermediate revisions by 3 users not shown)
Line 5: Line 5:
| headerstyle = background:#ccf;
| headerstyle = background:#ccf;
| labelstyle  = width:33%;background:#ddf;
| labelstyle  = width:33%;background:#ddf;
| header1 = Location
| header1 = {{#if: {{{server|}}}{{{warp|}}}{{{coordinates|}}} | Location}}
| label2  = Server
| label2  = Server
| data2  = {{{server|}}}
| data2  = {{{server|}}}
| label3  = Warp
| label3 = Map revision
| data3   = {{{warp|}}}
| data3  = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}}
| label4 = Coordinates
| [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}}
| data4   = {{{coordinates|}}}
| [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}}
| header5 = Creators
| [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}}
| label6 = Lead
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}}
| data6   = {{{lead|}}}
}}
| label7 = Contributors
| label4 = Warp
| data7   = {{{contributors|}}}
| data4   = {{{warp|}}}
}}</includeonly>
| label5 = Coordinates
<noinclude>{{documentation}}</noinclude>
| data5   = {{{coordinates|}}}
| header6 = {{#if: {{{lead|}}}{{{contributors|}}} | Creators}}
| label7 = Lead
| data7   = {{{lead|}}}
| label8 = Contributors
| data8   = {{{contributors|}}}
| label9  = Evicted
| data9  = {{{evicted|}}}
| header10 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}}
| label11 = Started
| data11  = {{{started|}}}
| 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)]]}}
| [[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 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)