Template:A: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Protected "Template:A" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
mNo edit summary |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{2|}}}|[[{{#replace:{{#replace:{{a/list|{{{1}}}}}|'''}}|''}}|{{#ifeq:{{{2}}}|l|{{a/list|{{{1}}}}}|{{{2}}}}}]]|{{a/list|{{{1}}}}}}}<noinclude> | <includeonly>{{#if:{{a/list|{{{1}}}}}| | ||
{{#if:{{{2|}}}| | |||
[[{{#replace:{{#replace:{{a/list|{{{1}}}}}|'''}}|''}}|{{#ifeq:{{{2}}}|l|{{PAGETITLE|{{#replace:{{#replace:{{a/list|{{{1}}}}}|(series)|series}}|(franchise)|franchise}}}}|{{{2}}}}}]] | |||
| | |||
{{PAGETITLE|{{#replace:{{#replace:{{a/list|{{{1}}}}}|(series)|series}}|(franchise)|franchise}}}} | |||
}}|{{{1|}}}{{#if:{{{nocheck|}}}||<sup style="font-weight:normal;font-style:normal">[invalid parameter]</sup>{{#switch:{{NAMESPACE}}||Gallery=[[Category:Articles with invalid template parameters]]}}}}}}</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
<code><nowiki>{{a|SM64}}</nowiki></code> | <code><nowiki>{{a|SM64}}</nowiki></code> | ||
:{{a|SM64}} | :{{a|SM64}} | ||
Line 20: | Line 16: | ||
== About == | == About == | ||
This template was created [[MarioWiki:Proposals/Archive/72#Add an abbreviation template to type out full game titles|per proposal]] and allows an abbreviation to be entered and a full title or link to be outputted. | This template was created [[MarioWiki:Proposals/Archive/72#Add an abbreviation template to type out full game titles|per proposal]] and allows an '''abbreviation''' to be entered and a full title or link to be outputted. See the [[Template:A/list|list subtemplate]] for all available abbreviations; edit it to add more. | ||
This template is only to be used if desired when adding ''new'' content; pre-existing text and 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]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Latest revision as of 14:38, January 9, 2025
Usage
{{a|SM64}}
- Super Mario 64
{{a|SM64|l}}
(l for link)
{{a|SM64|My favorite game}}
About
This template was created per proposal and allows an abbreviation to be entered and a full title or link to be outputted. See the list subtemplate for all available abbreviations; edit it to add more.
This template is only to be used if desired when adding new content; pre-existing text and 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.