Template:Stat
Appearance
Turns a game stat key into the stat's player-facing name, linked to its page. Use it anywhere a stat is named — roll tables, set pages, list pages, prose built from data.
{{Stat|critical_strike_chance}} → Critical Strike Chance
- Keys are the game's own
snake_casenames —attack_speed,power_shielding,resistance_fire. - An unknown key renders as itself, unlinked. That is deliberate: a stat the wiki does not know about shows as plain text instead of vanishing. If you meet one, it needs a line in Module:Gear/data — see Module:Gear/data/doc.
- No unit is added. Pair it with
{{Stat/unit}}
, or use {{Range}}
or {{RollStat}}
where the unit comes along automatically.
- Two names to know: the Precision stat page is Precision (stat) (plain Precision is an old relic page), and every resistance links to the single Resistances page.
This template is a one-line wrapper around {{#invoke:Stat|name}}. The names, units and primary flags live in Module:Gear/data; the rendering lives in Module:Stat. Add a stat to the module, not here — there is nothing on this template page to edit.
Linked player-facing name for a game stat key.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Stat key | 1 | snake_case key from the game data, e.g. attack_speed | String | required |