Template:Town row: Difference between revisions

From Heroes 3 wiki
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|}}}| y = {{town|{{{3|Random}}}|nofort=}} | {{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}}

Revision as of 07:17, 13 June 2024

Location Player Type Name
0, 1, 2 Random -
0, 1, 2 Green Rampart Treehug Central
3, 4, 5 Teal Tower High Hrothgar
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=y will show the town without a fort.