Template:A: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "breaks section links" to "breaks the automatic section links")
m (Text replacement - "should not be replaced" to "should '''not''' be replaced")
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|
|
{{PAGETITLE|{{#replace:{{#replace:{{a/list|{{{1}}}}}|(series)|series}}|(franchise)|franchise}}}}
{{PAGETITLE|{{#replace:{{#replace:{{a/list|{{{1}}}}}|(series)|series}}|(franchise)|franchise}}}}
}}|{{{1|}}}{{#if:{{{nocheck|}}}||<sup style="font-weight:normal;font-style:normal">[invalid abbreviation]</sup>{{#switch:{{NAMESPACE}}||Gallery=[[Category:Articles with invalid abbreviations]]}}}}}}</includeonly><noinclude>
}}|{{{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>
Line 16: 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. It should not be used in headings since doing so breaks the automatic section links in the edit summary.
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.


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 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:23, January 4, 2025

Usage

{{a|SM64}}

Super Mario 64

{{a|SM64|l}} (l for link)

Super Mario 64

{{a|SM64|My favorite game}}

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 not be used in headings since doing so breaks the automatic section link in the edit summary.