Template:HeroClass

From Heroes of Might and Magic: Olden Era Official Wiki

This template renders a two-column layout: left column contains the class description, notes, and a "Heroes" area listing the provided heroes (each hero collapsible to show the heroBox). The right column shows the class-box produced by Module:HeroClasses.

Parameters:

- class: (required) class name as used in p.data (case-sensitive)
- description: (optional) class description wikitext
- notes: (optional) class notes or designer notes
- faction: (optional) faction name to pass to Module:HeroesUtil|heroTable (e.g. Dungeon, Temple). When provided the template will call the module to render the heroes list for that faction.

Usage example:

Description

Overlords are tactical commanders ...
Notes:
    Some developer notes or rules.

Heroes

     Script error: No such module "HeroesUtil".
   Script error: No such module "HeroClasses".