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
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{2|}}}|[[{{#replace:{{#replace:{{a/list|{{{1}}}}}|'''}}|''}}|{{#ifeq:{{{2}}}|l|{{a/list|{{{1}}}}}|{{{2}}}}}]]|{{a/list|{{{1}}}}}}}<noinclude>
{{#if:{{a/list|{{{1}}}}}|
{{#if:{{{2|}}}|
[[{{#replace:{{#replace:{{a/list|{{{1}}}}}|'''}}|''}}|{{#ifeq:{{{2}}}|l|{{PAGETITLE|{{a/list|{{{1}}}}}}}|{{{2}}}}}]]
|
{{PAGETITLE|{{a/list|{{{1}}}}}}}}}
|{{{1|}}}{{#if:{{{nocat|}}}||{{#switch:{{NAMESPACE}}||Gallery=[[Category:Articles with invalid abbreviations]]}}}}}}<noinclude><noinclude>
== Usage ==
== Usage ==
<code><nowiki>{{a|N64}}</nowiki></code>
:{{a|N64}}
<code><nowiki>{{a|N64|l}}</nowiki></code> (''l'' for '''link''')
:{{a|N64|l}}
<code><nowiki>{{a|N64|My favorite console}}</nowiki></code>
:{{a|N64|My favorite console}}
<code><nowiki>{{a|SM64}}</nowiki></code>
<code><nowiki>{{a|SM64}}</nowiki></code>
:{{a|SM64}}
:{{a|SM64}}
Line 22: Line 18:
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.


Edit the [[Template:A/list|subtemplate]] to add more abbreviations.
Edit the [[Template:A/list|list subtemplate]] to add more abbreviations.


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 14:50, December 26, 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.