Template:Hero table row: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(add ability to show a portion of the campaign hero table) |
||
Line 1: | Line 1: | ||
<includeonly>|- class='{{sourceToggle|{{{source}}}|{{{only}}}}}' style="white-space:nowrap;" | <includeonly>|- class='{{sourceToggle|{{{source}}}|{{{only}}}}}' style="white-space:nowrap; {{#switch: {{{show|}}} | = | {{#ifeq: {{{show}}} | {{{2}}} | display:none; | }}}}" | ||
|{{swh|noicon=|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}{{{himage|}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}}} | |{{swh|noicon=|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}{{{himage|}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}|{{H|0=|{{{name|{{{1}}}}}}|image={{{image|{{{1}}}}}}|source={{{source|}}}|hero_link={{{hero_link|{{{1}}}}}}}}}} | ||
|style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}} | |style="padding-right:5px"|{{-}}[[{{{2}}}]]{{-}} | ||
Line 26: | Line 26: | ||
* Expansion (exp) | * Expansion (exp) | ||
* 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. | |||
== Example == | == Example == | ||
Line 32: | Line 33: | ||
{{Hero table row|Christian|Knight|Ballista|Basic Leadership|Basic Artillery|no_spell= |exp=roe}} | {{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 | himage=(HotA)}} | {{Hero table row| Vey | Battle Mage | Ogres | Basic Wisdom | Basic Leadership | spell=Magic Arrow |exp=roe | himage=(HotA)}} | ||
{{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}}}} | |||
|} | |} | ||
Revision as of 16:56, 4 October 2024
Variables
- Hero name
- Class
- Specialty
- Skill 1
- Skill 2
- 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.
Example
Name | Class | Specialty | Skill 1 | Skill 2 | Spell | |||||
---|---|---|---|---|---|---|---|---|---|---|
Haart Lich Haart Lich | Death Knight | Black Knights | Basic Necromancy | Basic Estates | Slow | |||||
Christian Christian | Knight | Ballista | Basic Leadership | Basic Artillery | ||||||
Vey Vey | Battle Mage | Ogres | Basic Wisdom | Basic Leadership | Magic Arrow | |||||
Catherine Catherine | Knight | Swordsmen | Basic Leadership | Basic Offense |
Related templates
- Main templates:
- Secondary templates:
- Template: Campaign hero table
- Template: Castle hero table: Template: Knight hero table, Template: Cleric hero table
- Template: Rampart hero table: Template: Ranger hero table, Template: Druid hero table
- Template: Tower hero table: Template: Alchemist hero table, Template: Wizard hero table
- Template: Inferno hero table: Template: Demoniac hero table, Template: Heretic hero table
- Template: Necropolis hero table: Template: Death Knight hero table, Template: Necromancer hero table
- Template: Dungeon hero table: Template: Overlord hero table, Template: Warlock hero table
- Template: Stronghold hero table: Template: Barbarian hero table, Template: Battle Mage hero table
- Template: Fortress hero table: Template: Beastmaster hero table, Template: Witch hero table
- Template: Conflux hero table: Template: Planeswalker hero table, Template: Elementalist hero table