Template:ItemSetTierDef: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
obelisk-bot: uploading initial Cargo templates |
obelisk-bot: uploading initial Cargo templates |
||
| Line 47: | Line 47: | ||
| description_sid = {{{description_sid|}}} | | description_sid = {{{description_sid|}}} | ||
| description = {{{description|}}} | | description = {{{description|}}} | ||
}}</includeonly> | }} | ||
Created <code>ItemSetTier</code> entry: <code>{{{id|}}}</code></includeonly> | |||
Revision as of 01:12, 13 May 2026
One unlock tier of an ItemSetDef. The hero unlocks the tier's bonuses when they have `required_amount` artifacts from the parent set equipped. Sets have 1-3 tiers each (~37 tiers across the 24 sets in the 2026-05-03 corpus).
The bot emits these inline on the parent Data:ItemSet/<id> page. There are no individual Data:ItemSetTier/… pages.
Schema
This template defines the table "ItemSetTier". View table.
{{ItemSetTierDef
| id = String <!-- synthesized: <set_id>_tier_<ordinal> -->
| set_id = String <!-- joins ItemSet.id -->
| ordinal = Integer <!-- 0-based position in source bonuses[] -->
| required_amount = Integer <!-- pieces equipped to unlock -->
| description_sid = String
| description = Wikitext <!-- resolved English -->
}}
Field notes
- Primary key is
id. The synthesized form<set_id>tier<ordinal>letsBonus.parent_idjoin cleanly viaparent_type='item_set_tier'. set_idis the parent — duplicated here as a column so filtering by set doesn't require parsing the composite id.required_amountvalues seen in the 2026-05-03 corpus: 2 (×17 tiers), 3 (×11), 4 (×7), 5 (×2), 6 (×2), 8 (×1).descriptioncarries the resolved English text inline. Translations live on a{{TranslationDef | type=item_set_tier | target_id=<id>}}row (desc-only — tiers have no name).
Related tables
- ItemSet — joined on
set_id = id(N:1). BonusDef— joined onid = parent_id(1:N) whereBonus.parent_type = 'item_set_tier'. Each tier has 1-6 bonus effects.TranslationDef— one row per tier withtype=item_set_tierand the description SIDs for the 15 non-English locales.


