Template:DLC: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(Fixing error handling. Unfortunate to have to add a variable here but it seemed like the best option for now.)
mNo edit summary
 
Line 28: Line 28:
| GoR    = Guardian of Remembrance
| GoR    = Guardian of Remembrance
| #default= {{#vardefine:dlc-err|true}}
| #default= {{#vardefine:dlc-err|true}}
}} Downloadable Content|<b>{{{1|}}}</b>}})</sup>{{#if:{{#var:dlc-err}}|{{#invoke:Error/v2|Warning|Invalid DLC <code>{{{1}}}</code>}}}}</includeonly><noinclude>
}} Downloadable Content|<b>{{{1|}}}</b>}})</sup>{{#if:{{#var:dlc-err}}|{{#invoke:Error/v2|Warning|Invalid DLC <code>{{{1}}}</code>}}}}{{#vardefine:dlc-err|}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 15:24, 14 June 2024


Purpose

This is a superscript template used for identifying Downloadable Content.

Usage

{{DLC|<code>}}

Examples

#InputOutput
Breath of the Wild
1{{DLC|BotWEP}} (BotWEP)
2{{DLC|TMT}} (TMT)
3{{DLC|TCB}} (TCB)
Hyrule Warriors
4{{DLC|OoTCS}} (OoTCS)
5{{DLC|TPCS}} (TPCS)
6{{DLC|SSCS}} (SSCS)
7{{DLC|DKCS}} (DKCS)
8{{DLC|HoHP}} (HoHP)
9{{DLC|MQP}} (MQP)
10{{DLC|TPP}} (TPP)
11{{DLC|MMP}} (MMP)
12{{DLC|BP}} (BP)
13{{DLC|LoHP}} (LoHP)
14{{DLC|LCP}} (LCP)
15{{DLC|LAP}} (LAP)
16{{DLC|PH&STP}} (PH&STP)
17{{DLC|ALBWP}} (ALBWP)
Hyrule Warriors Legends
18{{DLC|LoHP}} (LoHP)
19{{DLC|MWWP}} (MWWP)
20{{DLC|LAP}} (LAP)
21{{DLC|PH&STP}} (PH&STP)
22{{DLC|ALBWP}} (ALBWP)
Super Smash Bros. Ultimate
23{{DLC|FPV2}} (FPV2)
Cadence of Hyrule
24{{DLC|OO}} (OO)
25{{DLC|CoHSP}} (CoHSP)
26{{DLC|CP}} (CP)
27{{DLC|MP}} (MP)
28{{DLC|SotM}} (SotM)
Hyrule Warriors: Age of Calamity
29{{DLC|HWAoCEP}} (HWAoCEP)
30{{DLC|PotA}} (PotA)
31{{DLC|GoR}} (GoR)
The above documentation is transcluded from Template:DLC/Documentation. (edit | history)