Editing Template:Hero row

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 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: #{{k {{{2}}}}};" {{!}} {{{{{2}}}}}|"{{!}}{{{2|}}}}}
| style="text-align:center;{{#if:{{{2|}}}| background-color: #{{k {{{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|}}}|&nbsp;the [[{{{4}}}]]}} {{{other|}}}
| style="padding-left:7px; padding-right:5px;" | {{h|{{{name|{{{3|Random}}}}}}|0=|image={{{image|{{{3|Random}}}}}}|hero_link={{{3|Random}}}}}{{#if:{{{4|}}}|&nbsp;the [[{{{4}}}]]}}
</includeonly><noinclude>
</includeonly><noinclude>
{{hero header}}
{{hero header}}
{{hero row|0, 1, 2| }}
{{hero row|0, 1, 2| }}
{{hero row|3, 2, 1|red|Christian|image=Christian 2|other=(NOTE: talky-talk)}}
{{hero row|3, 2, 1|red|Christian|image=Christian 2}}
{{hero row|0, 1, 2|green|Yog|Barbarian{{!}}Not-Wizard}}
{{hero row|0, 1, 2|green|Yog|Barbarian{{!}}Not-Wizard}}
{{hero row|3, 4, 5|teal|Gem|Sorcerer{{!}}Sorceress|image=Gem (Sorceress)}}
{{hero row|3, 4, 5|teal|Gem|Sorcerer{{!}}Sorceress|image=Gem (Sorceress)}}
{{hero row|6, 7, 8|{{imprisoned}}|Bidley|Captain|name=Jack Sparrow|other=[https://en.wikipedia.org/wiki/Jack_Sparrow]}}
{{hero row|6, 7, 8| |Bidley|Captain|name=Jack Sparrow}}
|}
|}
Usage:
Usage:
  <nowiki>{{hero row|Location|Color|Name|Class}}</nowiki>
  <nowiki>{{hero row|Location|Color|Name|Class}}</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). Alternatively, a template such as {{tl|imprisoned}} or {{tl|encamped}} can be used. 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.
#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.
#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.
#Class is the hero's class, such as Knight.
Additionally, name= and image= explicit parameters can be used to override the third parameter.
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.
[[Category:Table templates]]</noinclude>
[[Category:Table templates]]</noinclude>
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)