Difference between revisions of "Template:AF"
From Nookipedia, the Animal Crossing wiki
(new template) |
m (Changed protection level for "Template:AMF": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | ''[[Animal Crossing: amiibo Festival]]''<noinclude>[[Category:Link templates]]</noinclude> | + | {{#if: {{{1|}}} |
+ | | {{#switch: {{{1|}}} | ||
+ | | nolink = {{#if: {{{2|}}} | ||
+ | | {{#switch: {{{2|}}} | ||
+ | | short = ''amiibo Festival'' | ||
+ | | shorter = ACaF | ||
+ | | shortest = aF | ||
+ | }} | ||
+ | | ''Animal Crossing: amiibo Festival'' | ||
+ | }} | ||
+ | | short = {{#ifeq: {{{2|}}} | ||
+ | | nolink | ||
+ | | ''amiibo Festival'' | ||
+ | | ''[[Animal Crossing: amiibo Festival|amiibo Festival]]'' | ||
+ | }} | ||
+ | | shorter = {{#ifeq: {{{2|}}} | ||
+ | | nolink | ||
+ | | ACaF | ||
+ | | [[Animal Crossing: amiibo Festival|ACaF]] | ||
+ | }} | ||
+ | | shortest = {{#ifeq: {{{2|}}} | ||
+ | | nolink | ||
+ | | aF | ||
+ | | [[Animal Crossing: amiibo Festival|aF]] | ||
+ | }} | ||
+ | | ''[[Animal Crossing: amiibo Festival]]'' | ||
+ | }} | ||
+ | | ''[[Animal Crossing: amiibo Festival]]'' | ||
+ | }}<noinclude> | ||
+ | ==Usage== | ||
+ | The template accepts up to two parameters: | ||
+ | #'''nolink'''- Will remove link but still produce game name in italics (e.g. ''Animal Crossing: amiibo Festival''). Can be used in combination with short/shorter/shortest. | ||
+ | #'''short''' - Will provide shorthand links (e.g. ''[[Animal Crossing: amiibo Festival|amiibo Festival]]''). Can be used in combination with nolink. | ||
+ | ::'''shorter''' - Will produce long acronyms instead of title names (e.g. [[Animal Crossing: amiibo Festival|ACaF]]). Can be used in combination with nolink. | ||
+ | ::'''shortest''' - Will produce short acronyms instead of title names (e.g. [[Animal Crossing: amiibo Festival|aF]]). Can be used in combination with nolink. | ||
+ | |||
+ | The parameters can be used in any order to achieve the same effect. (e.g. <tt><nowiki>{{AMF|nolink|short}}</nowiki></tt> will yield the same results as <tt><nowiki>{{AMF|short|nolink}}</nowiki></tt> : {{AMF|short|nolink}}) | ||
+ | [[Category:Link templates]] | ||
+ | </noinclude> |
Revision as of 11:06, July 28, 2015
Animal Crossing: amiibo Festival
Usage
The template accepts up to two parameters:
- nolink- Will remove link but still produce game name in italics (e.g. Animal Crossing: amiibo Festival). Can be used in combination with short/shorter/shortest.
- short - Will provide shorthand links (e.g. amiibo Festival). Can be used in combination with nolink.
The parameters can be used in any order to achieve the same effect. (e.g. {{AMF|nolink|short}} will yield the same results as {{AMF|short|nolink}} : amiibo Festival)