Difference between revisions of "Template:Film"

From Nookipedia, the Animal Crossing wiki
m (AlexBot2004 moved page Template:AM to Template:Film: Clearer name; per discussion)
m (Text replacement - "Pp|full|move" to "Pp|full")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}}
+
{{#invoke:MediumLink|main|medium=Gekijōban Doubutsu no Mori|short=Gekijōban Doub. no Mori|shorter=Gekijōban DnM|shortest=GDnM|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<noinclude>{{Pp|full}}{{Documentation}}[[Category:Link templates]]</noinclude>
    | {{#switch: {{{1|}}}
 
          | nolink = {{#if: {{{2|}}}
 
              | {{#switch: {{{2|}}}
 
                    | short = ''Doub. no Mori (film)''
 
                    | shorter = DnM (film)
 
                    | shortest = DnM (film)
 
                    }}
 
              | ''Doubutsu no Mori (film)''
 
              }}
 
          | short = {{#ifeq: {{{2|}}}
 
              | nolink
 
              | ''Doub. no Mori (film)''
 
              | ''[[Doubutsu no Mori (film)|Doub. no Mori (film)]]''
 
              }}
 
          | shorter
 
          | shortest = {{#ifeq: {{{2|}}}
 
              | nolink
 
              | DnM (film)
 
              | [[Doubutsu no Mori (film)|DnM (film)]]
 
              }}
 
          | ''[[Doubutsu no Mori (film)]]''
 
          }}
 
    | ''[[Doubutsu no Mori (film)]]''
 
    }}<noinclude>
 
==Usage==
 
The template accepts up to two parameters:
 
#'''nolink'''- Will remove link but still produce game name in italics (e.g. ''Doubutsu no Mori (film)''). Can be used in combination with short/shorter/shortest.
 
#'''short''' - Will provide shorthand links (e.g. ''[[Doubutsu no Mori (film)|Doub. no Mori (film)]]''). Can be used in combination with nolink.
 
::'''shorter''' - Will produce long acronyms instead of title names (e.g. [[Doubutsu no Mori (film)|DnM (film)]])*. Can be used in combination with nolink.
 
::'''shortest''' - Will produce short acronyms instead of title names (e.g. [[Doubutsu no Mori (film)|DnM (film)]])*. Can be used in combination with nolink.
 
:<nowiki>*</nowiki><small>'''Note:''' Due to the nature of some title names the shorter and shortest parameters may produce the same output.</small>
 
The parameters can be used in any order to achieve the same effect. (e.g. <tt><nowiki>{{AM|nolink|short}}</nowiki></tt> will yield the same results as <tt><nowiki>{{AM|short|nolink}}</nowiki></tt> : {{AM|short|nolink}})
 
[[Category:Link templates]]
 
</noinclude>
 

Latest revision as of 02:04, November 8, 2022

🎬 Gekijōban Doubutsu no Mori

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 🎬 Gekijōban Doubutsu no Mori quicker and in different ways.

    The template accepts up to three parameters:

    • nolink - Will remove link but still produce film name in italics (e.g. Gekijōban Doubutsu no Mori). 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 film name in italics (e.g. Gekijōban Doubutsu no Mori). Can be used in combination with nolink and one of the following: short, shorter, shortest.
    • short - Will provide shorthand links (e.g. 🎬 Gekijōban Doub. no Mori). Can be used in combination with nolink and sm.
    • shorter - Will produce long acronyms instead of title names (e.g. 🎬 Gekijōban DnM). Can be used in combination with nolink and sm.
    • shortest - Will produce short acronyms instead of title names (e.g. 🎬 GDnM). Can be used in combination with nolink and sm.
    The parameters can be used in any order to achieve the same effect. (e.g. {{Film|sm|nolink|short}} will yield the same results as {{Film|short|nolink|sm}}Gekijōban Doub. no Mori)