Template:EncTierOpen

From CosmicReborn
Jump to navigation Jump to search

Opens a tier section (paired with Template:Tl). Sets `--tier-color` once on the section wrapper — every Template:Tl inside it, plus the tier dot and label, inherit color automatically. No other template needs a `color` param anymore for normal use.

Usage

{{EncTierOpen|Legendary|#FFAA00|legendary}}
{{EncCard|...}}
{{EncCard|...}}
{{EncTierClose}}

Params: 1 = display label, 2 = tier color (hex), 3 = anchor slug (used for `#tier-<slug>` and the nav pill scroll target).