Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (use sn template for hero spell, to keep things in sync)
(add sk1sym= and sk2sym= params)
Line 6: Line 6:
|style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]
|style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]
|[[File:{{{4}}}_small.png|{{{4}}}|link={{{4}}}]]
|[[File:{{{4}}}_small.png|{{{4}}}|link={{{4}}}]]
|{{-}}[[{{{4}}}]]{{-}}
|{{-}}[[{{{4}}}]]{{-}}{{{sk1sym|}}}
|{{{6|[[Image:{{{5}}}_small.png|{{{5}}}|link={{{5}}}]]}}}
|{{{6|[[Image:{{{5}}}_small.png|{{{5}}}|link={{{5}}}]]}}}
|{{-}}{{{6|[[{{{5}}}]]{{-}}}}}
|{{-}}{{{6|[[{{{5}}}]]{{-}}}}}{{{sk2sym|}}}
|{{{7|}}}
|{{{7|}}}
| style="padding-right:0.5em;"|{{{no_spell|{{sn|{{{spell}}}|32px|spell_link={{{spell_link|{{{spell}}}}}}}}{{-}}}}}{{{spell+|}}}</includeonly><noinclude>
| style="padding-right:0.5em;"|{{{no_spell|{{sn|{{{spell}}}|32px|spell_link={{{spell_link|{{{spell}}}}}}}}{{-}}}}}{{{spell+|}}}</includeonly><noinclude>
Line 27: Line 27:
* 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>
* 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.
* 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 ==
== Example ==
Line 36: Line 37:
{{Hero table row| Catherine | Knight      | Swordsmen    | Basic Leadership  | Basic Offense    | no_spell=        |exp=ab  | show=Druid | source={{-}}{{withmaped}}}}
{{Hero table row| Catherine | Knight      | Swordsmen    | Basic Leadership  | Basic Offense    | no_spell=        |exp=ab  | show=Druid | source={{-}}{{withmaped}}}}
{{Hero table row| Adrienne  | Witch        | Fire Magic    | Expert Fire Magic | | | spell=Inferno | spell_link=Inferno (spell)  |exp=ab  | source={{-}}{{withmaped}}}}
{{Hero table row| Adrienne  | Witch        | Fire Magic    | Expert Fire Magic | | | spell=Inferno | spell_link=Inferno (spell)  |exp=ab  | source={{-}}{{withmaped}}}}
{{Hero table row| Bron      | Beastmaster  | Basilisks    | Basic Armorer    | Basic Resistance  | no_spell=        |exp=roe  | only=sod |sk2sym={{-ws}}}}
{{Hero table row| Bron      | Beastmaster  | Basilisks    | Basic Armorer    | Basic Interference| no_spell=        |exp=roe  | only=hota|sk2sym={{-wh}}}}
|}
|}



Revision as of 16:37, 3 December 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.
  • 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 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  
AdrienneAdrienne Adrienne  Map Editor  Witch   2 - Armageddon's Blade  Fire Magic Expert Fire Magic  Expert Fire Magic      Inferno 
BronBron Bron  Beastmaster   1 - Restoration of Erathia  Basilisks Basic Armorer  Basic Armorer   Basic Resistance  Basic Resistance   Shadow of Death
BronBron Bron  Beastmaster   1 - Restoration of Erathia  Basilisks Basic Armorer  Basic Armorer   Basic Interference  Basic Interference  Horn of the Abyss

Related templates

See also