Template:Id: Difference between revisions
mNo edit summary |
mNo edit summary |
||
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:{{{1}}} ({{{2}}})|'''}}|''}}|{{{1}}}{{#ifeq:{{{4}}}|s||<nowiki/> {{#switch:{{{3}}}|a={{{2}}}|p=({{{2}}})|f=for the {{{2}}}|{{{3|}}}}}}}]]{{#ifeq:{{{4}}}|s|<nowiki/> {{#switch:{{{3}}}|a=[[{{#replace:{{#replace:{{{2}}}|'''}}|''}}|{{{2}}}]]|p=([[{{#replace:{{#replace:{{{2}}}|'''}}|''}}|{{{2}}}]])|f=for the [[{{#replace:{{#replace:{{{2}}}|'''}}|''}}|{{{2}}}]]|[[{{#replace:{{#replace:{{{2}}}|'''}}|''}}|{{{3}}}]]}}}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<code><nowiki>{{id|''Mario Kart''|series}}</nowiki></code> | <code><nowiki>{{id|''Mario Kart''|series}}</nowiki></code> | ||
Line 6: | Line 6: | ||
<code><nowiki>{{id|'''''Mario Kart'''''|series|a}}</nowiki></code> ('''a''' for ''after'') | <code><nowiki>{{id|'''''Mario Kart'''''|series|a}}</nowiki></code> ('''a''' for ''after'') | ||
:{{id|'''''Mario Kart'''''|series|a}} | :{{id|'''''Mario Kart'''''|series|a}} | ||
<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|''Super Mario RPG''|Nintendo Switch|f}}</nowiki></code> ('''f''' for ''for'') | <code><nowiki>{{id|''Super Mario RPG''|Nintendo Switch|f}}</nowiki></code> ('''f''' for ''for'') | ||
:{{id|''Super Mario RPG''|Nintendo Switch|f}} | :{{id|''Super Mario RPG''|Nintendo Switch|f}} | ||
<code><nowiki>{{id|''Super Mario RPG''|Nintendo Switch|f|s}}</nowiki></code> ('''f''' for ''for''; '''s''' for ''split'') | |||
:{{id|''Super Mario RPG''|Nintendo Switch|f|s}} | |||
<code><nowiki>{{id|''Super Mario RPG''|'''Nintendo Switch'''|p}}</nowiki></code> ('''p''' for ''parenthesis'') | <code><nowiki>{{id|''Super Mario RPG''|'''Nintendo Switch'''|p}}</nowiki></code> ('''p''' for ''parenthesis'') | ||
:{{id|''Super Mario RPG''|'''Nintendo Switch'''|p}} | :{{id|''Super Mario RPG''|'''Nintendo Switch'''|p}} | ||
<code><nowiki>{{id|''Super Mario RPG''|Nintendo Switch|was | <code><nowiki>{{id|''Super Mario RPG''|'''Nintendo Switch'''|p|s}}</nowiki></code> ('''p''' for ''parenthesis''; '''s''' for ''split'') | ||
:{{id|''Super Mario RPG''|Nintendo Switch|was | :{{id|''Super Mario RPG''|'''Nintendo Switch'''|p|s}} | ||
<code><nowiki>{{id|''Super Mario RPG''|Nintendo Switch|was released on '''Switch'''}}</nowiki></code> (general text) | |||
:{{id|''Super Mario RPG''|Nintendo Switch|was released on '''Switch'''}} | |||
<code><nowiki>{{id|''Super Mario RPG''|Nintendo Switch|was released on '''Switch'''|s}}</nowiki></code> (general text; '''s''' for ''split'') | |||
:{{id|''Super Mario RPG''|Nintendo Switch|was released on '''Switch'''|s}} | |||
== About == | == About == | ||
This template | This template can be used to streamline linking for articles with identifiers. Bold and/or italic formatting is preserved. | ||
To completely change the display text, just use a normal link: <code><nowiki>[[Super Mario RPG (Nintendo Switch)|its remake]]</nowiki></code> | To completely change the display text, just use a normal link: <code><nowiki>[[Super Mario RPG (Nintendo Switch)|its remake]]</nowiki></code> | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Revision as of 01:16, December 19, 2024
Usage
{{id|''Mario Kart''|series}}
{{id|'''''Mario Kart'''''|series|a}}
(a for after)
{{id|Shooting Star|minigame|a|s}}
(a for after; s for split)
{{id|''Super Mario RPG''|Nintendo Switch|f}}
(f for for)
{{id|''Super Mario RPG''|Nintendo Switch|f|s}}
(f for for; s for split)
- Super Mario RPG for the Nintendo Switch
{{id|''Super Mario RPG''|'''Nintendo Switch'''|p}}
(p for parenthesis)
{{id|''Super Mario RPG''|'''Nintendo Switch'''|p|s}}
(p for parenthesis; s for split)
{{id|''Super Mario RPG''|Nintendo Switch|was released on '''Switch'''}}
(general text)
{{id|''Super Mario RPG''|Nintendo Switch|was released on '''Switch'''|s}}
(general text; s for split)
About
This template can be used to streamline linking for articles with identifiers. Bold and/or italic formatting is preserved.
To completely change the display text, just use a normal link: [[Super Mario RPG (Nintendo Switch)|its remake]]