Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
m testing ima's onlyhota fix
Legate (talk | contribs)
m testing reorder the onlyhota code
Line 1: Line 1:
<includeonly>|- class='{{sourceToggle|{{{source}}}|{{{only}}}}}' style="white-space:nowrap; {{#switch: {{{show|}}} | = | {{#ifeq: {{{show}}} | {{{2}}} | | display:none;}}}}"
<includeonly>|- {{#switch: {{{show|}}} | = class='{{sourceToggle|{{{source}}}|{{{only}}}}}' | {{#ifeq: {{{show}}} | {{{2}}} | class='{{sourceToggle|{{{source}}}|{{{only}}}}}' | display=none;}}}} style="white-space:nowrap; {{#switch: {{{show|}}} | = | {{#ifeq: {{{show}}} | {{{2}}} | | display:none;}}}}"
|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|himage={{{himage|}}}|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"|{{-}}{{Cl|{{{2}}}}}{{-}}
|style="padding-right:5px"|{{-}}{{Cl|{{{2}}}}}{{-}}

Revision as of 13:09, 18 March 2025


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.
  • To set an expansion symbol on Skill 1 or Skill 2, use sk1sym= or sk2sym=

Example

Name Class Expansion Source Specialty Skill 1 Skill 2 Spell
Haart LichHaart LichHaart LichHaart Lich Haart Lich    Death Knight Death Knight   2 - Armageddon's Blade  Black Knights Basic Necromancy  Basic Necromancy   Basic Estates  Basic Estates    Slow 
ChristianChristianChristianChristian Christian    Knight Knight   1 - Restoration of Erathia  Ballista Basic Leadership  Basic Leadership   Basic Artillery  Basic Artillery  
VeyVeyVey Vey    Battle Mage Battle Mage   1 - Restoration of Erathia  Ogres Basic Wisdom  Basic Wisdom   Basic Leadership  Basic Leadership    Magic Arrow 
CatherineCatherineCatherineCatherine Catherine  Map Editor   Knight Knight   2 - Armageddon's Blade  Swordsmen Basic Leadership  Basic Leadership   Basic Offense  Basic Offense  
CatherineCatherineCatherineCatherine Catherine  Map Editor   Knight Knight   2 - Armageddon's Blade  Swordsmen Basic Leadership  Basic Leadership   Basic Offense  Basic Offense  
AdrienneAdrienneAdrienneAdrienne Adrienne  Map Editor   Witch Witch   2 - Armageddon's Blade  Fire Magic Expert Fire Magic  Expert Fire Magic      Inferno 
BronBronBron Bron    Beastmaster Beastmaster   1 - Restoration of Erathia  Basilisks Basic Armorer  Basic Armorer   Basic Resistance  Basic Resistance  Shadow of Death 
BronBronBron Bron    Beastmaster Beastmaster   1 - Restoration of Erathia  Basilisks Basic Armorer  Basic Armorer   Basic Interference  Basic Interference Horn of the Abyss 
MurdochMurdochMurdochMurdoch Murdoch Horn of the Abyss (Campaign/Custom)   Mercenary Mercenary   4 - Horn of the Abyss  Archery Basic Archery  Basic Archery   Basic Tactics  Basic Tactics  
MurdochMurdochMurdochMurdoch Murdoch Horn of the Abyss (Campaign/Custom)   Mercenary Mercenary   4 - Horn of the Abyss  Archery Basic Archery  Basic Archery   Basic Tactics  Basic Tactics  

Related Templates

See Also