Template:HeroTable: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
! colspan=2 | Name
|colspan=2|Name
! Class
|Class
! Specialty
|Specialty
! colspan=2 | Starting Skills
|colspan=2|Starting Skills
! Spell
|Spell
{{#vardefine:heroList|{{#invoke:HeroDataParser|getFactionHeroes|{{{faction}}}}}}}
{{#invoke:HeroDataParser|getFactionHeroes|{{{faction}}}}}
{{#fornumargs: i | 1 | {{#expr:{{#len:{{#var:heroList}}}}}} }}
{{#loopcsv: {{#var:heroList}} | , | hero | {{HeroTableLine|{{{hero}}}}} }}
{{#endloopcsv:}}
|}
|}

Revision as of 11:29, 29 October 2025

Name Class Specialty Starting Skills Spell