Template:Hero table row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Hide class toggle |
||
| Line 1: | Line 1: | ||
<includeonly>|- {{#switch: {{{show|}}} | = class='{{sourceToggle|{{{source}}}|{{{only}}}}}' | {{#ifeq: {{{show}}} | {{{2}}} | class='{{sourceToggle|{{{source}}}|{{{only}}}}}' | style="display:none;}}}} 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|{{{1}}}}}}|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"|{{-}}{{Cl|{{{2}}}}}{{-}} | |style="padding-right:5px"|{{{noclass|{{-}}{{Cl|{{{2}}}}}{{-}}}}} | ||
| {{{{{exp}}} map icon}} | | {{{{{exp}}} map icon}} | ||
|[[File:Specialty_{{{3}}}_small.png|link={{{3}}}]] | |[[File:Specialty_{{{3}}}_small.png|link={{{3}}}]] | ||
| Line 40: | Line 40: | ||
{{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=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 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=}} | |||
|} | |} | ||
Revision as of 20:16, 2 July 2025
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)
- 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 | Specialty | Skill 1 | Skill 2 | Spell | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Black Knights | Basic Necromancy | Basic Estates |
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