Template:Hero table row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(31 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>|- style="white-space:nowrap;"
<includeonly>|- {{#switch: {{{show|}}} | = class='{{sourceToggle|{{{source}}}|{{{only}}}}}' | {{#ifeq: {{{show}}} | {{{2}}} | class='{{sourceToggle|{{{source}}}|{{{only}}}}}' | style="display:none;}}}} style="white-space:nowrap;"
|{{H|0=|{{{name|{{{1}}}}}}|image={{{image}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}||style="border-right:5px solid #{{Green 3}}"|{{-}}[[{{{2}}}]]{{-}}||[[File:Specialty_{{{3}}}_small.gif|link={{{3}}}]]||style="border-right:5px solid #{{Green 3}}; white-space: nowrap;"|{{-}}[[{{{3}}}]]||[[File:{{{4}}}_small.gif|{{{4}}}|link={{{4}}}]]||{{-}}[[{{{4}}}]]{{-}}||{{{6|[[Image:{{{5}}}_small.gif|{{{5}}}|link={{{5}}}]]}}}||{{-}}{{{6|[[{{{5}}}]]{{-}}}}}||{{{7|}}}||{{{no_spell|[[File:{{{spell}}}_small.png|link={{{spell_link|{{{spell}}}}}}]]{{-}}[[{{{spell_link|{{{spell}}}}}}|{{{spell}}}]]{{-}}}}}{{{spell+|}}}</includeonly><noinclude>
|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}{{-}}
 
|style="padding-right:5px" {{#switch:{{{noclass}}}| =style="display: none;" |}} | {{-}}{{Cl|{{{2}}}}}{{-}}
{{Hero table}}
| {{{{{exp}}} map icon}}
{{Hero table row|Lord Haart|hero_link=Lord Haart#Lord_Haart_the_Death_Knight|image=Lord Haart Death Knight|Death Knight|Black Knights|Basic Necromancy|Basic Estates|spell=Slow}}
|[[File:Specialty_{{{3}}}_small.png|link={{{specialty_link|{{{3}}}}}}]]
|}
|style="padding-right:5px; white-space: nowrap;"|{{-}}[[{{{specialty_link|{{{3}}}}}}|{{{specialty_name|{{{3}}}}}}]]
|[[File:{{{4}}}_small.png|{{{4}}}|link={{{4}}}]]
|{{-}}[[{{{4}}}]]{{{sk1sym|}}}{{-}}
|{{{6|[[Image:{{{5}}}_small.png|{{{5}}}|link={{{5}}}]]}}}
|{{-}}{{{6|[[{{{5}}}]]{{{sk2sym|}}}{{-}}}}}
|{{{7|}}}
| style="padding-right:0.5em;"|{{{no_spell|{{sn|{{{spell}}}|32px|spell_link={{{spell_link|{{{spell}}}}}}}}{{-}}}}}{{{spell+|}}}</includeonly><noinclude>


== Variables ==
== Variables ==
Line 13: 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
* specialty_link
* specialty_name
* name
* Expansion (exp)
* 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 ==
{{Hero table}}
{{Hero table row|Haart Lich | Death Knight | Black Knights | Basic Necromancy  | Basic Estates    | spell=Slow        |exp=ab}}
{{Hero table row|Christian  | Knight      | Ballista      | Basic Leadership  | Basic Artillery  | no_spell=        |exp=roe}}
{{Hero table row| Vey      | Battle Mage  | Ogres        | Basic Wisdom      | Basic Leadership  | spell=Magic Arrow |exp=roe}}
{{Hero table row| Catherine | Knight      | Swordsmen    | Basic Leadership  | Basic Offense    | no_spell=        |exp=ab  | show=Knight | 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| 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}}}}
{{Hero table row| Murdoch  | Mercenary    | Archery      | Basic Archery    | Basic Tactics    | no_spell=        |exp=hota | show=Knight | source={{{noicon| {{withmapedhota}}}}}| only=hota }}
{{Hero table row| Murdoch  | Mercenary    | Archery      | Basic Archery    | Basic Tactics    | no_spell=        |exp=hota | show=Mercenary | source={{{noicon| {{withmapedhota}}}}}| only=hota }}
|}
 
{{Hero table|noclass=}}
{{Hero table row|Haart Lich | Death Knight | Black Knights | Basic Necromancy  | Basic Estates    | spell=Slow        |exp=ab|noclass=}}
|}


{{Hero template 'see also'}}
{{Hero template 'see also'}}


[[Category: Table templates|{{PAGENAME}}]]</noinclude>
[[Category: Table templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 22:29, 31 December 2025


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
  • specialty_link
  • specialty_name
  • name
  • Expansion (exp)
  • 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[edit | hide]

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   5 - Horn of the Abyss   Archery Basic Archery  Basic Archery   Basic Tactics  Basic Tactics  
MurdochMurdochMurdochMurdoch Murdoch Horn of the Abyss (Campaign/Custom)   Mercenary Mercenary   5 - Horn of the Abyss   Archery Basic Archery  Basic Archery   Basic Tactics  Basic Tactics  

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 

Related Templates[edit | hide]

See Also[edit | hide]