Template:Town row: Difference between revisions
Jump to navigation
Jump to search
m (add town header template) |
(lighten the background colors for player) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
| style="text-align:center;" | {{{1|}}} | | style="text-align:center;" | {{{1|}}} | ||
| style="text-align:center;{{#if:{{{2|}}}| background-color: #{{ | | style="text-align:center;{{#if:{{{2|}}}| background-color: #{{{{{2}}} 3}};" {{!}} {{{{{2}}}}}|"{{!}}}} | ||
| style="padding-left:7px; padding-right:5px;" | {{town|{{{3|Random}}}}} | | 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}} | ||
Line 8: | Line 8: | ||
{{town row|0, 1, 2|green|Rampart|Treehug Central}} | {{town row|0, 1, 2|green|Rampart|Treehug Central}} | ||
{{town row|3, 4, 5|teal|Tower|High Hrothgar}} | {{town row|3, 4, 5|teal|Tower|High Hrothgar}} | ||
{{town row|6, 7, 8| |Inferno|Traffic Jam}} | {{town row|3, 4, 5|red|Castle}} | ||
{{town row|3, 4, 5|blue|Dungeon}} | |||
{{town row|3, 4, 5|purple|Necropolis}} | |||
{{town row|3, 4, 5|orange|Conflux}} | |||
{{town row|3, 4, 5|pink|Cove}} | |||
{{town row|3, 4, 5|tan|Stronghold|[[Ulgak]]}} | |||
{{town row|6, 7, 8| |Inferno|Traffic Jam|nofort=y}} | |||
|} | |} | ||
Usage: | Usage: | ||
<nowiki>{{town row|Location| | <nowiki>{{town row|Location|Player|Type|Name}}</nowiki> | ||
#Location is map coordinates (X, Y, Z), no default. | #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. | #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. | #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. | #Name should be the town name, if given one. Defaults to "-" to indicate a random name. | ||
#nofort= will show the town without a fort. | |||
[[Category:Table templates]]</noinclude> | [[Category:Table templates]]</noinclude> |
Latest revision as of 20:08, 16 August 2024
Location | Player | Type | Name |
---|---|---|---|
0, 1, 2 | Random | - | |
0, 1, 2 | Rampart | Treehug Central | |
3, 4, 5 | Tower | High Hrothgar | |
3, 4, 5 | Castle | - | |
3, 4, 5 | Dungeon | - | |
3, 4, 5 | Necropolis | - | |
3, 4, 5 | Conflux | - | |
3, 4, 5 | Cove | - | |
3, 4, 5 | Stronghold | Ulgak | |
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= will show the town without a fort.