Template:Long/doc: Difference between revisions

m (Gboyers moved page Template:GameLong/doc to Template:Long/doc)
mNo edit summary
Line 1: Line 1:
This template takes any game name format (eg 'gtasa' or 'san andreas') and turns it into the correct long-form title (Grand Theft Auto: San Andreas). This uses {{template|game}} to achieve the lookups.
To use this in a template, with the input parameter of <nowiki>{{input}}</nowiki>:
<pre>{{Long| {{{input}}} }}</pre>
This template is used for showing the full-length proper game name for any game.
This template is used for showing the full-length proper game name for any game.



Revision as of 06:47, 29 July 2012

This template is used for showing the full-length proper game name for any game.

For example, inputting 'sa' or 'san andreas' would produce the output: Grand Theft Auto: San Andreas


If you want a different game name format, you can instead use {{id}}, {{game}} or {{condensed}}. Those templates actually use this template to figure out which game is being requested.


Usage

There is 1 parameter. You can input virtually ANY variation on a game name, whether long or short form, or any other incorrect form.

It will output the full-length game name, such as: Grand Theft Auto III, Grand Theft Auto: San Andreas

To request the long game name for the input "Three" just use:

{{Long | Three}}

This will then work out that you mean GTA III and output the correct long name of: Grand Theft Auto III