Template:Id: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
Tag: Reverted
m (Text replacement - "replaced. It should not be used" to "replaced. It should also not be used")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[{{#replace:{{#replace:{{{1}}} ({{{2}}})|'''}}|''}}|{{{1}}} {{#switch:{{{3}}}|a={{{2}}}|p=({{{2}}})|f=for the {{{2}}}|{{{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 ==
<code><nowiki>{{id|''Mario Kart''|series}}</nowiki></code>
=== Basic ===
:{{id|''Mario Kart''|series}}
<code><nowiki>{{id|Target Terror|DKC2}}</nowiki></code>
:{{id|Target Terror|DKC2}}


<code><nowiki>{{id|'''''Mario Kart'''''|series|a}}</nowiki></code> ('''a''' for ''after'')
<code><nowiki>{{id|Target Terror|DKC2|My favorite level}}</nowiki></code>
:{{id|'''''Mario Kart'''''|series|a}}
:{{id|Target Terror|DKC2|My favorite level}}


<code><nowiki>{{id|''Super Mario RPG''|Nintendo Switch|f}}</nowiki></code> ('''f''' for ''for'')
=== Advanced ===
:{{id|''Super Mario RPG''|Nintendo Switch|f}}
<code><nowiki>{{id|Shooting Star|minigame|a}}</nowiki></code> ('''a''' for ''after'')
:{{id|Shooting Star|minigame|a}}


<code><nowiki>{{id|''Super Mario RPG''|'''Nintendo Switch'''|p}}</nowiki></code> ('''p''' for ''parenthesis'')
<code><nowiki>{{id|Shooting Star|minigame|a|s}}</nowiki></code> ('''a''' for ''after''; '''s''' for ''split'')
:{{id|''Super Mario RPG''|'''Nintendo Switch'''|p}}
:{{id|Shooting Star|minigame|a|s}}


<code><nowiki>{{id|''Super Mario RPG''|Nintendo Switch|was remade in '''2023'''}}</nowiki></code>
<code><nowiki>{{id|SMRPG|NS|f}}</nowiki></code> ('''f''' for ''for'')
:{{id|''Super Mario RPG''|Nintendo Switch|was remade in '''2023'''}}
:{{id|SMRPG|NS|f}}
 
<code><nowiki>{{id|SMRPG|NS|f|s}}</nowiki></code> ('''f''' for ''for''; '''s''' for ''split'')
:{{id|SMRPG|NS|f|s}}
 
<code><nowiki>{{id|Hare Raising|WWDIY|p}}</nowiki></code> ('''p''' for ''parentheses'')
:{{id|Hare Raising|WWDIY|p}}
 
<code><nowiki>{{id|Hare Raising|WWDIY|p|s}}</nowiki></code> ('''p''' for ''parentheses''; '''s''' for ''split'')
:{{id|Hare Raising|WWDIY|p|s}}


== About ==
== About ==
This template is used to streamline linking for articles with identifiers. Bold and/or italic formatting is preserved.
This template can be used to streamline linking for articles with '''identifiers'''. Usable abbreviations are stored [[Template:A/list|here]].


To completely change the display text, just use a normal link: <code><nowiki>[[Super Mario RPG (Nintendo Switch)|its remake]]</nowiki></code>
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.


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

Latest revision as of 19: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.