Template:City: Difference between revisions
Jump to navigation
Jump to search
(added sections for PvP) |
No edit summary |
||
Line 6: | Line 6: | ||
| labelstyle = width:33%;background:#ddf; | | labelstyle = width:33%;background:#ddf; | ||
| header1 = {{#if: {{{server|}}}{{{warp|}}}{{{coordinates|}}} | Location}} | | header1 = {{#if: {{{server|}}}{{{warp|}}}{{{coordinates|}}} | Location}} | ||
| | | label1 = Server | ||
| | | data1 = {{{server|}}} | ||
| | | label2 = Map revision | ||
| | | data2 = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}} | ||
| [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}} | | [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}} | ||
| [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}} | | [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}} | ||
Line 15: | Line 15: | ||
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} }} | | [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} }} | ||
| [[pvp]] = {{#ifeq: {{{map revision|}}} | {{Current PvP map revision}} | (current)}} }} | | [[pvp]] = {{#ifeq: {{{map revision|}}} | {{Current PvP map revision}} | (current)}} }} | ||
| | | label3 = Warp | ||
| | | data3 = {{{warp|}}} | ||
| | | label4 = Coordinates | ||
| | | data4 = {{{coordinates|}}} | ||
| | | header5 = {{#if: {{{mayors|}}}{{{residents|}}} | Creators}} | ||
| | | label6 = Mayors | ||
| | | data6 = {{{mayors|}}} | ||
| | | label7 = Residents | ||
| | | data7 = {{{residents|}}} | ||
| | | label8 = Evicted | ||
| | | data8 = {{{evicted|}}} | ||
| | | header9 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}} | ||
| | | label10 = Started | ||
| | | data10 = {{{started|}}} | ||
| | | label11 = Completed | ||
| | | data11 = {{{completed|}}} | ||
}}{{#ifeq: {{NAMESPACE}} | Template | | {{#switch: {{lc:{{{server|}}}}} | }}{{#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)]]}} |
Revision as of 15:32, 5 March 2016
Parameters
- city name
- Newest Argoth
- image
- caption
- "..."
- server name
- PvP
- map revision
- 12
- warp
- coordinates
- mayors
- username, username
- residents
- username, username
- started
- 2012-12-23
- completed
- 2013-02-13
Example
caption text | |
Location | |
---|---|
Map revision | 17 |
| label3 = Warp | data3 = | label4 = Coordinates | data4 = 0, 0 | header5 = Creators | label6 = Mayors | data6 = example, example, example | label7 = Residents | data7 = example, example, example | label8 = Evicted | data8 = | header9 = Timeline | label10 = Started | data10 = date | label11 = Completed | data11 = date }}
If you don't have something to put in a section just leave it blank and it won't be shown. :)
{{City | title = Example City Name | image = [[Image:Example.png|350px]] | caption = caption text | server = [[PvE]] | map revision = 17 | warp = | coordinates = {{CartoP|r=17|x=0|z=0}} | mayors = example, example, example | residents = example, example, example | started = date | completed = date }}
The above documentation is transcluded from Template:City/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |