Last modified on 14 August 2012, at 16:53

Template:Condensed/doc

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

The condensed form is just 'GTA' then the game ID, without a space between. This produces GTA2, GTAIII, GTAVC etc.

This format is only really used in image titles, where a short, condensed but recognisable format with no spaces or punctuation is required. Simply using the game ID alone (eg 1, III, VC) might not be recognisable as a game name, but GTA1 is.

It takes any input. For example, inputting 'sa' or 'san andreas' would produce the output: GTASA.

If you want a different game name format, you can instead use {{id}}, {{long}} 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 condensed-length game name, such as: GTAIII, GTASA

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

{{condensed | Three}}

This will then work out that you mean GTA III and output the correct condensed name of: GTAIII


If you're using this in a template, you need to pass the inputted parameter, whether numbered as {{{1}}} or named like {{{game}}}

{{condensed | {{{game}}} }}


And to add links, use this around the template:

[[{{condensed | {{{game}}} }}]]

For multiple games, use this template multiple times. This will NOT work if you try to pass two game names into this template (like {{condensed |gta 1, gta2}} or {{game | gta 1 | gta 2}}). You need to use the template twice like {{condensed | gta 1}}, {{condensed| gta 2}})

If the variable is not found (like "mexico") then it will simply return whatever you put in with 'GTA' in front of it: "GTA mexico"