Difference between revisions of "Template:AF"

From Nookipedia, the Animal Crossing wiki
m (Protected "Template:AMF": Same protection as other link templates ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Changed protection level for "Template:AMF": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(2 intermediate revisions by 2 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:

  1. 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.
  2. short - Will provide shorthand links (e.g. amiibo Festival). Can be used in combination with nolink.
shorter - Will produce long acronyms instead of title names (e.g. ACaF). Can be used in combination with nolink.
shortest - Will produce short acronyms instead of title names (e.g. aF). 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)