Template:City: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Changed protection settings for "Template:City" ([Edit=⧼protect-level-Trusted⧽] (indefinite) [Move=⧼protect-level-Trusted⧽] (indefinite))) |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
{{Infobox | {{Infobox | ||
| | | title = {{{title|}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| headerstyle = background:#ccf; | | headerstyle = background:#ccf; | ||
| labelstyle = width: | | labelstyle = width:45%;background:#ddf; | ||
| | | label1 = Server | ||
| | | data1 = {{{server|}}} | ||
| | | label2 = Map revision | ||
| | | data2 = {{{map revision|}}} | ||
| | | label3 = Warp | ||
| data3 = {{{warp|}}} | |||
| label4 = Coordinates | |||
| data4 = {{{coordinates|}}} | |||
| header5 = {{#if: {{{started|}}}{{{completed|}}} | Timeline}} | |||
| label6 = Started | |||
| data6 = {{{started|}}} | |||
| label7 = Completed | |||
| data7 = {{{completed|}}} | |||
| header8 = {{#if: {{{mayors|}}}{{{residents|}}} | Creators}} | |||
| label9 = Mayors | |||
| data9 = {{{mayors|}}} | |||
| label10 = Residents | |||
| data10 = {{{residents|}}} | |||
}} | }} | ||
{{#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)]]}} | |||
| [[pvp]] = {{#if: {{{map revision|}}} | [[Category:PvP creations (map revision {{{map revision}}})]] | [[Category:PvP creations (unknown map revision)]]}} | |||
| pvp = {{#if: {{{map revision|}}} | [[Category:PvP creations (map revision {{{map revision}}})]] | [[Category:PvP 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 23:39, 2 February 2023
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 | |
Server | PvE |
---|---|
Map revision | 17 |
Coordinates | 0, 0 |
Timeline | |
Started | date |
Completed | date |
Creators | |
Mayors | example, example, example |
Residents | example, example, example |
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. |