Template:A: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{a/list|{{{1}}}}}|
<includeonly>{{#if:{{a/list|{{{1}}}}}|
{{#if:{{{2|}}}|
{{#if:{{{2|}}}|
[[{{#replace:{{#replace:{{a/list|{{{1}}}}}|'''}}|''}}|{{#ifeq:{{{2}}}|l|{{PAGETITLE|{{a/list|{{{1}}}}}}}|{{{2}}}}}]]
[[{{#replace:{{#replace:{{a/list|{{{1}}}}}|'''}}|''}}|{{#ifeq:{{{2}}}|l|{{PAGETITLE|{{a/list|{{{1}}}}}}}|{{{2}}}}}]]
|
|
{{PAGETITLE|{{a/list|{{{1}}}}}}}}}
{{PAGETITLE|{{a/list|{{{1}}}}}}}}}
|{{#switch:{{NAMESPACE}}||Gallery=[[Category:Articles with invalid abbreviations]]}}}}<noinclude><noinclude>
|{{{1|}}}{{#if:{{{nocheck|}}}||<sup style="font-weight:normal;font-style:normal">[invalid abbreviation]</sup>{{#switch:{{NAMESPACE}}||Gallery=[[Category:Articles with invalid abbreviations]]}}}}}}</includeonly><noinclude>
== Usage ==
== Usage ==
<code><nowiki>{{a|SM64}}</nowiki></code>
<code><nowiki>{{a|SM64}}</nowiki></code>
Line 14: Line 14:
<code><nowiki>{{a|SM64|My favorite game}}</nowiki></code>
<code><nowiki>{{a|SM64|My favorite game}}</nowiki></code>
:{{a|SM64|My favorite game}}
:{{a|SM64|My favorite game}}
<code><nowiki>{{a|PMTTYDNS|l}} for {{a|NS|l}}</nowiki></code>
:{{a|PMTTYDNS|l}} for {{a|NS|l}}


== About ==
== About ==

Latest revision as of 16:08, December 28, 2024

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.

Edit the list subtemplate to add more abbreviations.