Editing Template:Town row
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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;" | | | style="padding-left:7px; padding-right:5px;" | {{town|{{{3|Random}}}}} | ||
| style="padding-left:7px; padding-right:5px;" | {{{4|-}}}</includeonly><noinclude> | | style="padding-left:7px; padding-right:5px;" | {{{4|-}}}</includeonly><noinclude> | ||
{ | {| class="sortable wikitable" cellpadding=5px | ||
{{town row|0, 1, 2| }} | ! Location | ||
! Color | |||
! Type | |||
! Name | |||
{{town row|0, 1, 2| | | }} | |||
{{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|6, 7, 8| |Inferno|Traffic Jam}} | ||
|} | |} | ||
Usage: | Usage: | ||
<nowiki>{{town row|Location| | <nowiki>{{town row|Location|Color|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. | ||
[[Category:Table templates]]</noinclude> | [[Category:Table templates]]</noinclude> |