Template:Hero table row: Difference between revisions
Jump to navigation
Jump to search
m (replace solid color borders with invisible padding to make it look better with H3CSS) |
(make the image parameter optional) |
||
Line 1: | Line 1: | ||
<includeonly>|- class='{{sourceToggle|{{{source}}}|{{{only}}}}}' style="white-space:nowrap;" | <includeonly>|- class='{{sourceToggle|{{{source}}}|{{{only}}}}}' style="white-space:nowrap;" | ||
|{{H|0=|{{{name|{{{1}}}}}}|image={{{image}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}||style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}||[[File:Specialty_{{{3}}}_small.gif|link={{{3}}}]]||style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]||[[File:{{{4}}}_small.gif|{{{4}}}|link={{{4}}}]]||{{-}}[[{{{4}}}]]{{-}}||{{{6|[[Image:{{{5}}}_small.gif|{{{5}}}|link={{{5}}}]]}}}||{{-}}{{{6|[[{{{5}}}]]{{-}}}}}||{{{7|}}}|| style="padding-right:0.5em;"|{{{no_spell|[[File:{{{spell}}}_small.png|32px|link={{{spell_link|{{{spell}}}}}}]]{{-}}[[{{{spell_link|{{{spell}}}}}}|{{{spell}}}]]{{-}}}}}{{{spell+|}}}</includeonly><noinclude> | |{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}||style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}||[[File:Specialty_{{{3}}}_small.gif|link={{{3}}}]]||style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]||[[File:{{{4}}}_small.gif|{{{4}}}|link={{{4}}}]]||{{-}}[[{{{4}}}]]{{-}}||{{{6|[[Image:{{{5}}}_small.gif|{{{5}}}|link={{{5}}}]]}}}||{{-}}{{{6|[[{{{5}}}]]{{-}}}}}||{{{7|}}}|| style="padding-right:0.5em;"|{{{no_spell|[[File:{{{spell}}}_small.png|32px|link={{{spell_link|{{{spell}}}}}}]]{{-}}[[{{{spell_link|{{{spell}}}}}}|{{{spell}}}]]{{-}}}}}{{{spell+|}}}</includeonly><noinclude> | ||
{{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}} | {{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}} | ||
{{Hero table row|Christian|Knight|Ballista|Basic Leadership|Basic Artillery|no_spell=}} | |||
|} | |} | ||
Revision as of 20:49, 26 September 2024
Variables
- Hero name
- Class
- Specialty
- Skill 1
- Skill 2
- If the hero has no skill 2
- image
- no_spell
- spell
- spell_link
- name
Related templates
- Main templates:
- Secondary templates:
- Template: Campaign hero table
- Template: Castle hero table: Template: Knight hero table, Template: Cleric hero table
- Template: Rampart hero table: Template: Ranger hero table, Template: Druid hero table
- Template: Tower hero table: Template: Alchemist hero table, Template: Wizard hero table
- Template: Inferno hero table: Template: Demoniac hero table, Template: Heretic hero table
- Template: Necropolis hero table: Template: Death Knight hero table, Template: Necromancer hero table
- Template: Dungeon hero table: Template: Overlord hero table, Template: Warlock hero table
- Template: Stronghold hero table: Template: Barbarian hero table, Template: Battle Mage hero table
- Template: Fortress hero table: Template: Beastmaster hero table, Template: Witch hero table
- Template: Conflux hero table: Template: Planeswalker hero table, Template: Elementalist hero table