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)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}
|style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}}
| style="{{#if: {{{showexp|}}} | | display: none}};" | {{{{{exp}}} map icon}}
| style="{{#if: {{{showexp|}}} | | display: none}};" | {{{{{exp}}} map icon}}
|[[File:Specialty_{{{3}}}_small.gif|link={{{3}}}]]
|[[File:Specialty_{{{3}}}_small.png|link={{{3}}}]]
|style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]
|style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{3}}}]]
|[[File:{{{4}}}_small.gif|{{{4}}}|link={{{4}}}]]
|[[File:{{{4}}}_small.png|{{{4}}}|link={{{4}}}]]
|{{-}}[[{{{4}}}]]{{-}}
|{{-}}[[{{{4}}}]]{{-}}
|{{{6|[[Image:{{{5}}}_small.gif|{{{5}}}|link={{{5}}}]]}}}
|{{{6|[[Image:{{{5}}}_small.png|{{{5}}}|link={{{5}}}]]}}}
|{{-}}{{{6|[[{{{5}}}]]{{-}}}}}
|{{-}}{{{6|[[{{{5}}}]]{{-}}}}}
|{{{7|}}}
|{{{7|}}}
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) ==

Latest revision as of 23:31, 1 October 2024


Variables[edit | hide | hide all]

  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)[edit | hide]

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

Example (expansion)[edit | hide]

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

Related templates[edit | hide]

See also[edit | hide]