Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(change to always showing expansion)
Line 2: Line 2:
|{{swh|noicon=|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}{{{himage|}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}}}
|{{swh|noicon=|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}{{{himage|}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}}}
|style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}
|style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}
| style="{{#if: {{{showexp|}}} | | display: none}};" | {{{{{exp}}} map icon}}
| {{{{{exp}}} map icon}}
|[[File:Specialty_{{{3}}}_small.png|link={{{3}}}]]
|[[File:Specialty_{{{3}}}_small.png|link={{{3}}}]]
|style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]
|style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]
Line 25: Line 25:
* name
* name
* Expansion (exp)
* Expansion (exp)
* Whether to show the expansion (showexp)
* If there is a hota version of the image, add <nowiki>"himage=(HotA)"</nowiki>
* If there is a hota version of the image, add <nowiki>"himage=(HotA)"</nowiki>


== Example (no expansion) ==
== Example ==
{{Hero table}}
{{Hero table}}
{{Hero table row|Lord Haart|hero_link=Lord Haart#Lord_Haart_the_Death_Knight|image=Lord Haart Death Knight|Death Knight|Black Knights|Basic Necromancy|Basic Estates|spell=Slow |exp=ab}}
{{Hero table row|Lord Haart|hero_link=Lord Haart#Lord_Haart_the_Death_Knight|image=Lord Haart Death Knight|Death Knight|Black Knights|Basic Necromancy|Basic Estates|spell=Slow |exp=ab}}
{{Hero table row|Christian|Knight|Ballista|Basic Leadership|Basic Artillery|no_spell= |exp=roe}}
{{Hero table row|Christian|Knight|Ballista|Basic Leadership|Basic Artillery|no_spell= |exp=roe}}
{{Hero table row| Vey      | Battle Mage | Ogres      | Basic Wisdom      | Basic Leadership  | spell=Magic Arrow            |exp=roe |showexp={{{1|}}}| himage=(HotA)}}
{{Hero table row| Vey      | Battle Mage | Ogres      | Basic Wisdom      | Basic Leadership  | spell=Magic Arrow            |exp=roe | himage=(HotA)}}
|}
 
== Example (expansion) ==
{{Hero table (combined)}}
{{Hero table row|Lord Haart|hero_link=Lord Haart#Lord_Haart_the_Death_Knight|image=Lord Haart Death Knight|Death Knight|Black Knights|Basic Necromancy|Basic Estates|spell=Slow |exp=ab |showexp=showexp}}
{{Hero table row|Christian|Knight|Ballista|Basic Leadership|Basic Artillery|no_spell= |exp=roe |showexp=showexp}}
{{Hero table row| Vey      | Battle Mage | Ogres      | Basic Wisdom      | Basic Leadership  | spell=Magic Arrow            |exp=roe |showexp={{{1|}}}| himage=(HotA)|showexp=showexp}}
|}
|}



Revision as of 14:34, 2 October 2024