Difference between revisions of "Template:AF"

From Nookipedia, the Animal Crossing wiki
m (Changed protection level for "Template:AMF": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (PanchamBro moved page Template:AMF to Template:AF: Since {{AF}} has been removed in favor of {{DnM}}, and many link template follow the same format of using the initials of a particular game (New Horizons -> NH), moving template to AF to be used for amiibo Festival links)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{1|}}}
+
{{#invoke:MediumLink|main|medium=Animal Crossing: amiibo Festival|short=amiibo Festival|shorter=ACaF|shortest=aF|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<noinclude>{{Pp|full}}{{Documentation}}[[Category:Link templates]]</noinclude>
    | {{#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>
 

Latest revision as of 10:48, November 9, 2022

Animal Crossing: amiibo Festival

This template is fully-protected to prevent editing by non-administrator users

Template documentation (view)


Usage

Lua Logo.svg
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
  • Module:MediumLink
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    Lua Logo.svg
    This template is using a Lua module
    To change certain features of this template, the following modules will need to be edited:
  • Module:MediumLink
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

    This is a link template, intended to link to Animal Crossing: amiibo Festival quicker and in different ways.

    The template accepts up to three parameters:

    • nolink - Will remove link but still produce game name in italics (e.g. Animal Crossing: amiibo Festival). Can be used in combination with sm and one of the following: short, shorter, shortest.
    • sm - Will make the name small text but still produce game name in italics (e.g. Animal Crossing: amiibo Festival). Can be used in combination with nolink and one of the following: short, shorter, shortest.
    • short - Will provide shorthand links (e.g. amiibo Festival). Can be used in combination with nolink and sm.
    • shorter - Will produce long acronyms instead of title names (e.g. ACaF). Can be used in combination with nolink and sm.
    • shortest - Will produce short acronyms instead of title names (e.g. aF). Can be used in combination with nolink and sm.
    The parameters can be used in any order to achieve the same effect. (e.g. {{aF|sm|nolink|short}} will yield the same results as {{aF|short|nolink|sm}}amiibo Festival)