Template:SpellRankDef
From Heroes of Might and Magic: Olden Era Official Wiki
This template defines and stores rows for the SpellRank Cargo table. Per-mastery-level data for a Spell. Always 4 rows per spell — levels 1=no skill, 2=basic, 3=advanced, 4=expert. Each row is self-contained: it carries English defaults, mechanical fields, and 15 non-English translations of name + description + bonus_description.
The bot emits these inline on the parent Data:Spell/<id> page.
Schema
This template defines the table "SpellRank". View table.
Field notes
- Primary key is
(spell_id, level). name_sidcarries the spell's name SID — same across all four ranks; duplicated per-row for clean labelled per-rank queries.descriptioncarries resolved English text. Hero-dependent placeholders ({N}for spell-power-scaled values) stay unsubstituted.bonus_descriptionis the unlock blurb at this level. Null at level 1.- Per-language columns are sparse — only emitted when the corresponding SID exists.
Related tables
- Spell — joined on
SpellRank.spell_id = Spell.id(N:1).


