Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(add ability to show hota images without needing to duplicate lines)
mNo edit summary
Line 19: Line 19:
# Skill 2
# Skill 2
# If the hero has no skill 2
# If the hero has no skill 2
: image
* image
: no_spell
* no_spell
: spell
* spell
: spell_link
* spell_link
: name
* name
# Expansion (exp)
* Expansion (exp)
# Whether to show the expansion (showexp)
* 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 (no expansion) ==

Revision as of 18:44, 1 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)
  • Whether to show the expansion (showexp)
  • If there is a hota version of the image, add "himage=(HotA)"

Example (no expansion)

Name Class Expansion Source Specialty Skill 1 Skill 2 Spell
Lord HaartLord Haart Lord HaartLord HaartLord Haart Lord Haart  Death Knight  2 - Armageddon's Blade File:Specialty Black Knights small.gif  Black Knights Basic Necromancy  Basic Necromancy  Basic Estates  Basic Estates   Slow 
ChristianChristian ChristianChristianChristian Christian  Knight  1 - Restoration of Erathia File:Specialty Ballista small.gif  Ballista Basic Leadership  Basic Leadership  Basic Artillery  Basic Artillery 
VeyVey Vey VeyVey Vey  Battle Mage   1 - Restoration of Erathia File:Specialty Ogres small.gif  Ogres Basic Wisdom  Basic Wisdom   Basic Leadership  Basic Leadership    Magic Arrow 

Example (expansion)

Template:Hero table (combined) |- class= style="white-space:nowrap;" |Lord HaartLord Haart Lord HaartLord HaartLord Haart Lord Haart |style="padding-right:5px"| Death Knight  | style=";" | 2 - Armageddon's Blade |File:Specialty Black Knights small.gif |style="padding-right:5px; white-space: nowrap;"| Black Knights |Basic NecromancyBasic Necromancy  |Basic EstatesBasic Estates  | | style="padding-right:0.5em;"| Slow  |- class= style="white-space:nowrap;" |ChristianChristian ChristianChristianChristian Christian |style="padding-right:5px"| Knight  | style=";" | 1 - Restoration of Erathia |File:Specialty Ballista small.gif |style="padding-right:5px; white-space: nowrap;"| Ballista |Basic LeadershipBasic Leadership  |Basic ArtilleryBasic Artillery  | | style="padding-right:0.5em;"| |- class= style="white-space:nowrap;" |VeyVey Vey VeyVey Vey |style="padding-right:5px"| Battle Mage   | style=";" | 1 - Restoration of Erathia |File:Specialty Ogres small.gif |style="padding-right:5px; white-space: nowrap;"| Ogres |Basic WisdomBasic Wisdom   |Basic LeadershipBasic Leadership   | | style="padding-right:0.5em;"| Magic Arrow  |}

Related templates

See also