Template:EncCard
Renders a single enchant card inside a tier grid.
Color is normally inherited automatically from the enclosing tier section (set once by Template:Tl via the CSS variable `--tier-color`) — you do NOT need to pass `color` on every card. Only pass it to override a single card's color away from its tier (rare).
`applies` is also written out as a `data-applies` attribute on the card, which the "applies to" filter bar (see Common.js) reads to build its buttons and filter cards. No extra setup needed — any new `applies` value is picked up automatically the next time the page loads.
`stackable=yes` marks a card as stackable for the "Stackable" filter tab. Omit it entirely for non-stackable cards — there is no visible badge for this, it only affects filtering.
Every card gets an `id` derived from `name` via the `anchorencode:` magic word — the same anchor-escaping MediaWiki uses for its own section links — so any page can deep-link straight to a specific enchant with `Silence` (spaces in the name become underscores automatically, same as a normal section link). No extra param needed, this is automatic from `name`.
Usage (normal)
{{EncCard
| name = Enchant Name
| desc = What this enchant does.
| level = X
| applies = Sword
}}
Usage (stackable)
{{EncCard
| name = Enchant Name
| desc = What this enchant does.
| level = X
| applies = Sword
| stackable = yes
}}
Usage (override, rare)
{{EncCard
| name = Enchant Name
| desc = What this enchant does.
| level = X
| applies = Sword
| color = #FFFFFF
}}
Tier colors (for reference — set in EncTierOpen, not here)
- Simple: #FFFFFF
- Unique: #55FF55
- Elite: #55FFFF
- Ultimate: #FFFF55
- Legendary: #FFAA00
- Soul: #FF5555
- Heroic: #FF55FF
- Mastery: #AA0000