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| | === Basic === | ||
:{{id| | <code><nowiki>{{id|Target Terror|DKC2}}</nowiki></code> | ||
:{{id|Target Terror|DKC2}} | |||
<code><nowiki>{{id| | <code><nowiki>{{id|Target Terror|DKC2|My favorite level}}</nowiki></code> | ||
:{{id| | :{{id|Target Terror|DKC2|My favorite level}} | ||
<code><nowiki>{{id| | === Advanced === | ||
:{{id| | <code><nowiki>{{id|Shooting Star|minigame|a}}</nowiki></code> ('''a''' for ''after'') | ||
:{{id|Shooting Star|minigame|a}} | |||
<code><nowiki>{{id| | <code><nowiki>{{id|Shooting Star|minigame|a|s}}</nowiki></code> ('''a''' for ''after''; '''s''' for ''split'') | ||
:{{id|Shooting Star|minigame|a|s}} | |||
<code><nowiki>{{id|'' | <code><nowiki>{{id|SMRPG|NS|f}}</nowiki></code> ('''f''' for ''for'') | ||
:{{id|'' | :{{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 | This template can be used to streamline linking for articles with '''identifiers'''. Usable abbreviations are stored [[Template:A/list|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. | |||
[[Category:Formatting templates]] | [[Category:Formatting templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 19:43, January 6, 2025
Usage
Basic
{{id|Target Terror|DKC2}}
{{id|Target Terror|DKC2|My favorite level}}
Advanced
{{id|Shooting Star|minigame|a}}
(a for after)
{{id|Shooting Star|minigame|a|s}}
(a for after; s for split)
{{id|SMRPG|NS|f}}
(f for for)
{{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)
{{id|Hare Raising|WWDIY|p|s}}
(p for parentheses; s for split)
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.