Difference between revisions of "Template:NLa"
From Nookipedia, the Animal Crossing wiki
|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
− | {{#if: {{{1|}}}
| + | #REDIRECT [[Template:NLWa]] |
− | | {{#switch: {{{1|}}}
| |
− | | nolink = {{#if: {{{2|}}}
| |
− | | {{#switch: {{{2|}}}
| |
− | | short = ''Welcome amiibo''
| |
− | | shorter = ACNL-Wa
| |
− | | shortest = Wa
| |
− | }}
| |
− | | ''Animal Crossing: New Leaf - Welcome amiibo''
| |
− | }}
| |
− | | short = {{#ifeq: {{{2|}}}
| |
− | | nolink
| |
− | | ''Welcome amiibo''
| |
− | | ''[[Animal Crossing: New Leaf - Welcome amiibo|Welcome amiibo]]''
| |
− | }}
| |
− | | shorter = {{#ifeq: {{{2|}}}
| |
− | | nolink
| |
− | | ACNL-Wa
| |
− | | [[Animal Crossing: New Leaf - Welcome amiibo|ACNL-Wa]]
| |
− | }}
| |
− | | shortest = {{#ifeq: {{{2|}}}
| |
− | | nolink
| |
− | | Wa
| |
− | | [[Animal Crossing: Happy Home Designer|Wa]]
| |
− | }}
| |
− | | ''[[Animal Crossing: New Leaf - Welcome amiibo]]''
| |
− | }}
| |
− | | ''[[Animal Crossing: New Leaf - Welcome amiibo]]''
| |
− | }}<noinclude>
| |
− | ==Usage==
| |
− | The template accepts up to two parameters:
| |
− | #'''nolink'''- Will remove link but still produce game name in italics (e.g. ''Animal Crossing: Happy Home Designer''). Can be used in combination with short/shorter/shortest.
| |
− | #'''short''' - Will provide shorthand links (e.g. ''[[Animal Crossing: Happy Home Designer|Happy Home Designer]]''). Can be used in combination with nolink.
| |
− | ::'''shorter''' - Will produce long acronyms instead of title names (e.g. [[Animal Crossing: Happy Home Designer|ACHHD]]). Can be used in combination with nolink.
| |
− | ::'''shortest''' - Will produce short acronyms instead of title names (e.g. [[Animal Crossing: Happy Home Designer|HHD]]). Can be used in combination with nolink.
| |
− | | |
− | The parameters can be used in any order to achieve the same effect. (e.g. <tt><nowiki>{{HHD|nolink|short}}</nowiki></tt> will yield the same results as <tt><nowiki>{{HHD|short|nolink}}</nowiki></tt> : {{HHD|short|nolink}})
| |
− | [[Category:Link templates]] | |
− | </noinclude>
| |
Latest revision as of 21:48, January 6, 2021