Template:Town row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
(lighten the background colors for player)
 
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
| 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: #{{{{{2}}} 3}};" {{!}} {{{{{2}}}}}|"{{!}}}}
| 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;" | {{#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>
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|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}}
{{town row|6, 7, 8| |Inferno|Traffic Jam|nofort=y}}
|}
|}

Latest revision as of 20:08, 16 August 2024

Location Player Type Name
0, 1, 2 Random -
0, 1, 2 Green Rampart Treehug Central
3, 4, 5 Teal Tower High Hrothgar
3, 4, 5 Red Castle -
3, 4, 5 Blue Dungeon -
3, 4, 5 Purple Necropolis -
3, 4, 5 Orange Conflux -
3, 4, 5 Pink Cove -
3, 4, 5 Tan Stronghold Ulgak
6, 7, 8 Inferno Traffic Jam

Usage:

{{town row|Location|Player|Type|Name}}
  1. Location is map coordinates (X, Y, Z), no default.
  2. 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.
  3. Type is town/faction type. It should be capitalized (Castle, not castle). Defaults to Random.
  4. Name should be the town name, if given one. Defaults to "-" to indicate a random name.
  5. nofort= will show the town without a fort.