Template:Hero row: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (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;{{#switch:{{{2|}}}|red|blue|tan|green|orange|purple|teal|pink= background-color: #{{ | | style="text-align:center;{{#switch:{{{2|}}}|red|blue|tan|green|orange|purple|teal|pink= background-color: #{{{{{2}}} 3}};" {{!}} {{{{{2}}}}}|"{{!}}{{{2|}}}}} | ||
| style="padding-left:7px; padding-right:5px;" | {{h|{{{name|{{{3|Random}}}}}}|0=|image={{{image|{{{3|Random}}}}}}|hero_link={{{hero_link|{{{3|Random}}}}}}}}{{#if:{{{4|}}}| the [[{{{4}}}]]}} {{{other|}}} | | style="padding-left:7px; padding-right:5px;" | {{h|{{{name|{{{3|Random}}}}}}|0=|image={{{image|{{{3|Random}}}}}}|hero_link={{{hero_link|{{{3|Random}}}}}}}}{{#if:{{{4|}}}| the [[{{{4}}}]]}} {{{other|}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 20:39, 16 August 2024
Location | Player | Hero |
---|---|---|
0, 1, 2 | Random Hero | |
3, 2, 1 | ChristianChristian Christian (NOTE: talky-talk) | |
0, 1, 2 | Yog the Not-Wizard | |
3, 4, 5 | Gem the Sorceress | |
6, 7, 8 | Jack Sparrow the Captain [1] |
Usage:
{{hero row|Location|Color|Name|Class}}
- 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). Alternatively, a template such as {{imprisoned}} or {{encamped}} can be used. Defaults to no color.
- Name should be the hero name. The hero's portrait and the link to the hero's page are also taken from this parameter. Defaults to Random.
- Class is the hero's class, such as Knight.
Additionally, name= and image= explicit parameters can be used to override the third parameter. other= can be used to add more text to the hero name box.