Template:Town row: Difference between revisions
Jump to navigation
Jump to search
(add nofort=y) |
mNo edit summary |
||
Line 2: | Line 2: | ||
| style="text-align:center;" | {{{1|}}} | | style="text-align:center;" | {{{1|}}} | ||
| style="text-align:center;{{#if:{{{2|}}}| background-color: #{{k {{{2}}}}};" {{!}} {{{{{2}}}}}|"{{!}}}} | | style="text-align:center;{{#if:{{{2|}}}| background-color: #{{k {{{2}}}}};" {{!}} {{{{{2}}}}}|"{{!}}}} | ||
| style="padding-left:7px; padding-right:5px;" | {{#switch: {{{nofort|}}}| | | style="padding-left:7px; padding-right:5px;" | {{#switch: {{{nofort|no}}}| no = {{town|{{{3|Random}}}}} | {{town|{{{3|Random}}}|nofort=}}}} | ||
| style="padding-left:7px; padding-right:5px;" | {{{4|-}}}</includeonly><noinclude> | | style="padding-left:7px; padding-right:5px;" | {{{4|-}}}</includeonly><noinclude> | ||
{{town header}} | {{town header}} |
Revision as of 07:17, 13 June 2024
Location | Player | Type | Name |
---|---|---|---|
0, 1, 2 | Random | - | |
0, 1, 2 | Rampart | Treehug Central | |
3, 4, 5 | Tower | High Hrothgar | |
6, 7, 8 | Inferno | Traffic Jam |
Usage:
{{town row|Location|Player|Type|Name}}
- Location is map coordinates (X, Y, Z), no default.
- Color is one of the kingdom colors: red, blue, tan, green, orange, purple, teal, and pink. It should be in lower-case (red, not Red). Defaults to no color.
- Type is town/faction type. It should be capitalized (Castle, not castle). Defaults to Random.
- Name should be the town name, if given one. Defaults to "-" to indicate a random name.
- nofort=y will show the town without a fort.