Template:Legacy perk: Difference between revisions
Preserve spacing before the source snapshot date |
Add locally hosted talent icons with attributed file pages |
||
| Line 8: | Line 8: | ||
<div class="fw-talent-nav">[[Talents]] <span aria-hidden="true">›</span> [[Legacy perks]] <span aria-hidden="true">›</span> [[Legacy perks#{{{tree}}}|{{{tree}}}]]</div> | <div class="fw-talent-nav">[[Talents]] <span aria-hidden="true">›</span> [[Legacy perks]] <span aria-hidden="true">›</span> [[Legacy perks#{{{tree}}}|{{{tree}}}]]</div> | ||
<div class="fw-talent-card"> | <div class="fw-talent-card"> | ||
<div class="fw-talent-header"> | |||
{{#if:{{{icon|}}}|<span class="fw-talent-card-icon">[[File:{{{icon}}}|48x48px|link=File:{{{icon}}}|alt={{PAGENAME}} icon. View file details and attribution.]]</span>}} | |||
<div class="fw-talent-kicker">Legacy perk</div> | <div class="fw-talent-kicker">Legacy perk</div> | ||
</div> | |||
<div class="fw-talent-facts"> | <div class="fw-talent-facts"> | ||
<div class="fw-talent-field"><strong>Tree</strong><span>[[Legacy perks#{{{tree}}}|{{{tree}}}]]</span></div> | <div class="fw-talent-field"><strong>Tree</strong><span>[[Legacy perks#{{{tree}}}|{{{tree}}}]]</span></div> | ||
| Line 20: | Line 23: | ||
This template describes the '''BlizzCon 2026 demo''' source snapshot. Its ''Source checked'' status records verification against the cited import source, not independent in-game testing. A maximum rank does not imply that every rank's effect has been confirmed. Record rank text and its limitations in the article body. | This template describes the '''BlizzCon 2026 demo''' source snapshot. Its ''Source checked'' status records verification against the cited import source, not independent in-game testing. A maximum rank does not imply that every rank's effect has been confirmed. Record rank text and its limitations in the article body. | ||
Use a plain tree name matching a heading on [[Legacy perks]], a plain number for maximum rank, a full source URL, and an ISO date. | Use a plain tree name matching a heading on [[Legacy perks]], a plain number for maximum rank, a full source URL, and an ISO date. For an icon, supply the uploaded filename without the <code>File:</code> prefix; the icon links to its file page for source and attribution. | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Legacy perk | {{Legacy perk | ||
|icon= | |||
|tree= | |tree= | ||
|max_ranks= | |max_ranks= | ||
| Line 38: | Line 42: | ||
"description": "Reference box and source-snapshot metadata for a Legacy perk from the BlizzCon 2026 demo. Source checked does not mean independently validated in-game.", | "description": "Reference box and source-snapshot metadata for a Legacy perk from the BlizzCon 2026 demo. Source checked does not mean independently validated in-game.", | ||
"params": { | "params": { | ||
"icon": {"label": "Perk icon", "description": "Uploaded icon filename without the File: prefix. The image links to its file page for source and attribution.", "type": "wiki-file-name", "suggested": true}, | |||
"tree": {"label": "Legacy tree", "description": "Legacy tree name matching its heading on the Legacy perks index.", "type": "string", "required": true}, | "tree": {"label": "Legacy tree", "description": "Legacy tree name matching its heading on the Legacy perks index.", "type": "string", "required": true}, | ||
"max_ranks": {"label": "Maximum rank", "description": "Maximum number of ranks listed by the source; this does not assert that every rank effect is known.", "type": "number", "required": true}, | "max_ranks": {"label": "Maximum rank", "description": "Maximum number of ranks listed by the source; this does not assert that every rank effect is known.", "type": "number", "required": true}, | ||
| Line 43: | Line 48: | ||
"snapshot": {"label": "Source snapshot date", "description": "Date on which the source data was captured, in YYYY-MM-DD format.", "type": "date", "required": true} | "snapshot": {"label": "Source snapshot date", "description": "Date on which the source data was captured, in YYYY-MM-DD format.", "type": "date", "required": true} | ||
}, | }, | ||
"paramOrder": ["tree", "max_ranks", "source_url", "snapshot"], | "paramOrder": ["icon", "tree", "max_ranks", "source_url", "snapshot"], | ||
"format": "block" | "format": "block" | ||
} | } | ||
Revision as of 22:05, 16 September 2026
Adds a compact reference, source note, and semantic data to a Legacy perk page. It places the article in Category:Legacy perks, separately from class talents.
This template describes the BlizzCon 2026 demo source snapshot. Its Source checked status records verification against the cited import source, not independent in-game testing. A maximum rank does not imply that every rank's effect has been confirmed. Record rank text and its limitations in the article body.
Use a plain tree name matching a heading on Legacy perks, a plain number for maximum rank, a full source URL, and an ISO date. For an icon, supply the uploaded filename without the File: prefix; the icon links to its file page for source and attribution.
{{Legacy perk
|icon=
|tree=
|max_ranks=
|source_url=
|snapshot=2026-09-16
}}
The presentation is shared with Template:Talent/styles.css. For rank tables, use class="wikitable fw-talent-ranks".
TemplateData
Reference box and source-snapshot metadata for a Legacy perk from the BlizzCon 2026 demo. Source checked does not mean independently validated in-game.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Perk icon | icon | Uploaded icon filename without the File: prefix. The image links to its file page for source and attribution. | File | suggested |
| Legacy tree | tree | Legacy tree name matching its heading on the Legacy perks index. | String | required |
| Maximum rank | max_ranks | Maximum number of ranks listed by the source; this does not assert that every rank effect is known. | Number | required |
| Source URL | source_url | Full URL of the source used for this perk. | URL | required |
| Source snapshot date | snapshot | Date on which the source data was captured, in YYYY-MM-DD format. | Date | required |