Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
m (simplify template)
Line 1: Line 1:
<includeonly>|- class='{{sourceToggle|{{{source}}}|{{{only}}}}}' style="white-space:nowrap; {{#switch: {{{show|}}} | = | {{#ifeq: {{{show}}} | {{{2}}} | | display:none;}}}}"
<includeonly>|- class='{{sourceToggle|{{{source}}}|{{{only}}}}}' style="white-space:nowrap; {{#switch: {{{show|}}} | = | {{#ifeq: {{{show}}} | {{{2}}} | | display:none;}}}}"
|{{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}}}}}}}}}}
|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|himage={{{himage|}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}
|style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}
|style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}
| {{{{{exp}}} map icon}}
| {{{{{exp}}} map icon}}

Revision as of 18:19, 11 October 2024


Variables

  1. Hero name
  2. Class
  3. Specialty
  4. Skill 1
  5. Skill 2
  6. If the hero has no skill 2
  • image
  • no_spell
  • spell
  • spell_link
  • name
  • Expansion (exp)
  • If there is a hota version of the image, add "himage=(HotA)"
  • Set "show=" to a class name if you only wish to show heroes of that class. Used for showing a portion of the campaign hero table.

Example

Name Class Expansion Source Specialty Skill 1 Skill 2 Spell
Haart LichHaart Lich Haart Lich  Death Knight  2 - Armageddon's Blade  Black Knights Basic Necromancy  Basic Necromancy  Basic Estates  Basic Estates   Slow 
ChristianChristian Christian  Knight  1 - Restoration of Erathia  Ballista Basic Leadership  Basic Leadership  Basic Artillery  Basic Artillery 
VeyVey Vey  Battle Mage   1 - Restoration of Erathia  Ogres Basic Wisdom  Basic Wisdom   Basic Leadership  Basic Leadership    Magic Arrow 
CatherineCatherine Catherine  Map Editor  Knight   2 - Armageddon's Blade  Swordsmen Basic Leadership  Basic Leadership   Basic Offense  Basic Offense  
CatherineCatherine Catherine  Map Editor  Knight   2 - Armageddon's Blade  Swordsmen Basic Leadership  Basic Leadership   Basic Offense  Basic Offense  

Related templates

See also