Template:Id: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Text replacement - "replaced. It should not be used" to "replaced. It should also not be used")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[{{#replace:{{#replace:{{a|{{{1}}}|nocat=y}} ({{a|{{{2}}}|nocat=y}})|'''}}|''}}|{{#switch:{{{3|}}}||a|f|p={{a|{{{1}}}|nocat=y}}}}{{#ifeq:{{{4}}}|s||<nowiki/> {{#switch:{{{3}}}|a={{a|{{{2}}}|nocat=y}}|p=({{a|{{{2}}}|nocat=y}})|f=for the {{a|{{{2}}}|nocat=y}}|{{{3|}}}}}}}]]{{#ifeq:{{{4}}}|s|<nowiki/> {{#switch:{{{3}}}|a=[[{{#replace:{{#replace:{{a|{{{2}}}|nocat=y}}|'''}}|''}}|{{a|{{{2}}}|nocat=y}}]]|p=([[{{#replace:{{#replace:{{a|{{{2}}}|nocat=y}}|'''}}|''}}|{{a|{{{2}}}|nocat=y}}]])|f=for the [[{{#replace:{{#replace:{{a|{{{2}}}|nocat=y}}|'''}}|''}}|{{a|{{{2}}}|nocat=y}}]]|[[{{#replace:{{#replace:{{a|{{{2}}}|nocat=y}}|'''}}|''}}|{{{3}}}]]}}}}</includeonly><noinclude>
<includeonly>[[{{#replace:{{#replace:{{a|{{{1}}}|nocheck=y}} ({{a|{{{2}}}|nocheck=y}})|'''}}|''}}|{{#switch:{{{3|}}}||a|f|p={{a|{{{1}}}|nocheck=y}}}}{{#ifeq:{{{4}}}|s||<nowiki/> {{#switch:{{{3}}}|a={{a|{{{2}}}|nocheck=y}}|p=({{a|{{{2}}}|nocheck=y}})|f=for the {{a|{{{2}}}|nocheck=y}}|{{{3|}}}}}}}]]{{#ifeq:{{{4}}}|s|<nowiki/> {{#switch:{{{3}}}|a=[[{{#replace:{{#replace:{{a|{{{2}}}|nocheck=y}}|'''}}|''}}|{{a|{{{2}}}|nocheck=y}}]]|p=([[{{#replace:{{#replace:{{a|{{{2}}}|nocheck=y}}|'''}}|''}}|{{a|{{{2}}}|nocheck=y}}]])|f=for the [[{{#replace:{{#replace:{{a|{{{2}}}|nocheck=y}}|'''}}|''}}|{{a|{{{2}}}|nocheck=y}}]]|[[{{#replace:{{#replace:{{a|{{{2}}}|nocheck=y}}|'''}}|''}}|{{{3}}}]]}}}}</includeonly><noinclude>__NOTOC__
== Usage ==
== Usage ==
=== Basic ===
<code><nowiki>{{id|Target Terror|DKC2}}</nowiki></code>
<code><nowiki>{{id|Target Terror|DKC2}}</nowiki></code>
:{{id|Target Terror|DKC2}}
:{{id|Target Terror|DKC2}}


<code><nowiki>{{id|Target Terror|DKC2|My favorite level}}</nowiki></code>
:{{id|Target Terror|DKC2|My favorite level}}
=== Advanced ===
<code><nowiki>{{id|Shooting Star|minigame|a}}</nowiki></code> ('''a''' for ''after'')
<code><nowiki>{{id|Shooting Star|minigame|a}}</nowiki></code> ('''a''' for ''after'')
:{{id|Shooting Star|minigame|a}}
:{{id|Shooting Star|minigame|a}}
Line 16: Line 21:
:{{id|SMRPG|NS|f|s}}
:{{id|SMRPG|NS|f|s}}


<code><nowiki>{{id|Donkey Kong|WWDIYS|p}}</nowiki></code> ('''p''' for ''parentheses'')
<code><nowiki>{{id|Hare Raising|WWDIY|p}}</nowiki></code> ('''p''' for ''parentheses'')
:{{id|Donkey Kong|WWDIYS|p}}
:{{id|Hare Raising|WWDIY|p}}


<code><nowiki>{{id|Donkey Kong|WWDIYS|p|s}}</nowiki></code> ('''p''' for ''parentheses''; '''s''' for ''split'')
<code><nowiki>{{id|Hare Raising|WWDIY|p|s}}</nowiki></code> ('''p''' for ''parentheses''; '''s''' for ''split'')
:{{id|Donkey Kong|WWDIYS|p|s}}
:{{id|Hare Raising|WWDIY|p|s}}


<code><nowiki>{{id|Target Terror|DKC2|My favorite level}}</nowiki></code> (general text)
== About ==
:{{id|Target Terror|DKC2|My favorite level}}
This template can be used to streamline linking for articles with '''identifiers'''. Usable abbreviations are stored [[Template:A/list|here]].


== About ==
This template is only to be used if desired when adding ''new'' content; pre-existing links should '''not''' be replaced. It should also not be used in headings since doing so breaks the automatic section link in the edit summary.
This template can be used to streamline linking for '''articles with identifiers'''. Usable abbreviations are stored [[Template:A/list|here]].


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Latest revision as of 20:43, January 6, 2025

Usage

Basic

{{id|Target Terror|DKC2}}

Target Terror

{{id|Target Terror|DKC2|My favorite level}}

My favorite level

Advanced

{{id|Shooting Star|minigame|a}} (a for after)

Shooting Star minigame

{{id|Shooting Star|minigame|a|s}} (a for after; s for split)

Shooting Star minigame

{{id|SMRPG|NS|f}} (f for for)

Super Mario RPG for the Nintendo Switch

{{id|SMRPG|NS|f|s}} (f for for; s for split)

Super Mario RPG for the Nintendo Switch

{{id|Hare Raising|WWDIY|p}} (p for parentheses)

Hare Raising (WarioWare: D.I.Y.)

{{id|Hare Raising|WWDIY|p|s}} (p for parentheses; s for split)

Hare Raising (WarioWare: D.I.Y.)

About

This template can be used to streamline linking for articles with identifiers. Usable abbreviations are stored here.

This template is only to be used if desired when adding new content; pre-existing links should not be replaced. It should also not be used in headings since doing so breaks the automatic section link in the edit summary.