Difference between revisions of "Template:DnMe+"

From Nookipedia, the Animal Crossing wiki
m (Changed protection level for "Template:DnMe+" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Changed protection level for "Template:DnMe+": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
''[[Dōbutsu no Mori e+]]''
+
{{#if: {{{1|}}}
 +
    | {{#switch: {{{1|}}}
 +
          | nolink = {{#if: {{{2|}}}
 +
              | {{#switch: {{{2|}}}
 +
                    | short = ''Doub. no Mori e+''
 +
                    | shorter = DnM e+
 +
                    | shortest = DnMe+
 +
                    }}
 +
              | ''Doubutsu no Mori e+''
 +
              }}
 +
          | short = {{#ifeq: {{{2|}}}
 +
              | nolink
 +
              | ''Doub. no Mori e+''
 +
              | ''[[Doubutsu no Mori e+|Doub. no Mori e+]]''
 +
              }}
 +
          | shorter = {{#ifeq: {{{2|}}}
 +
              | nolink
 +
              | DnM e+
 +
              | [[Doubutsu no Mori e+|DnM e+]]
 +
              }}
 +
          | shortest = {{#ifeq: {{{2|}}}
 +
              | nolink
 +
              | DnMe+
 +
              | [[Doubutsu no Mori e+|DnMe+]]
 +
              }}
 +
          | ''[[Doubutsu no Mori e+]]''
 +
          }}
 +
    | ''[[Doubutsu no Mori e+]]''
 +
    }}<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 e+''). Can be used in combination with short/shorter/shortest.
 +
#'''short''' - Will provide shorthand links (e.g. ''[[Doubutsu no Mori e+|Doub. no Mori e+]]''). Can be used in combination with nolink.
 +
::'''shorter''' - Will produce long acronyms instead of title names (e.g. [[Doubutsu no Mori e+|DnM e+]])*. Can be used in combination with nolink.
 +
::'''shortest''' - Will produce short acronyms instead of title names (e.g. [[Doubutsu no Mori e+|DnMe+]])*. 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>{{DnMe+|nolink|short}}</nowiki></tt> will yield the same results as <tt><nowiki>{{DnMe+|short|nolink}}</nowiki></tt> : {{DnMe+|short|nolink}})
 +
[[Category:Link templates]]
 +
</noinclude>

Latest revision as of 11:04, July 28, 2015

Doubutsu no Mori e+

Usage

The template accepts up to two parameters:

  1. nolink- Will remove link but still produce game name in italics (e.g. Doubutsu no Mori e+). Can be used in combination with short/shorter/shortest.
  2. short - Will provide shorthand links (e.g. Doub. no Mori e+). Can be used in combination with nolink.
shorter - Will produce long acronyms instead of title names (e.g. DnM e+)*. Can be used in combination with nolink.
shortest - Will produce short acronyms instead of title names (e.g. DnMe+)*. Can be used in combination with nolink.
*Note: Due to the nature of some title names the shorter and shortest parameters may produce the same output.

The parameters can be used in any order to achieve the same effect. (e.g. {{DnMe+|nolink|short}} will yield the same results as {{DnMe+|short|nolink}} : Doub. no Mori e+)