Template:Abbrgame/doc: Difference between revisions
Jump to navigation
Jump to search
(create) |
mNo edit summary |
||
Line 2: | Line 2: | ||
This template is used to get the abbreviation or full name for any [[:Category:Games|game covered on the wiki]]. This is often useful for templates using abbreviations or taking user input. | This template is used to get the abbreviation or full name for any [[:Category:Games|game covered on the wiki]]. This is often useful for templates using abbreviations or taking user input. | ||
See also [[NPOWiki:Policies#Articles]] for guidelines related to formatting of game names. | |||
==Parameters== | ==Parameters== |
Latest revision as of 03:08, 6 August 2020
This page contains the documentation for Template:Abbrgame. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.
This template is used to get the abbreviation or full name for any game covered on the wiki. This is often useful for templates using abbreviations or taking user input.
See also NPOWiki:Policies#Articles for guidelines related to formatting of game names.
Parameters
- first unnamed parameter: the abbreviation, nickname, or full name to look up.
- second unnamed parameter: if set to "full", the template will return the full name of the game. Otherwise (by default), it will return the abbreviation for the game.
Examples
{{abbrgame|Cyber Nations}}
produces: CN{{abbrgame|CN|full}}
produces: Cyber Nations{{abbrgame|CN}}
produces: CN