Login / Create Account

Items: 100,514
Quests: 5,032
NPCs: 17,172
Recipes: 5,032
Objects: 1,383
Users: 1,423,104
Comments: 9,878,331

template:GameID

While for many games the proper form of the gameid is all upper-case, for some, such as LotRO, it is not.

This template is intended to be called by other templates, and will normalize the gameid, or return a default, or EQ2.

Contents [hide]

Usage

{{GameID|gameid|default|name=|siteid=}}

Parameters

gameid

(REQUIRED) An Allakhazam game id, such as eq2, eq, ffxi, wow, etc. The gameid is case-insensitive!
default
(OPTIONAL) If gameid is blank, default will be returned. If default is ALSO blank, EQ2 will be returned. If gameid is not blank, but is not in the list of supported gameid's, the UPPER CASE of the gameid is returned.
name=
If name= is not blank or undefined, this template will return the full proper name of the game, rather than gameid. This should be the same as the top-level category for the game.
siteid=
If siteid= is not blank or undefined, this template will return the domain prefix for the game, rather than gameid. If the game does not have a domain prefix, we return www

Examples

{{Gameid|wow}}

  • returns: WoW
{{Gameid|war|name=y}}
  • returns: Warhammer Online
{{Gameid||WoW}}
  • returns: WoW
{{Gameid}}
  • returns: EQ2
{{Gameid|eq|siteid=y}}
  • returns: everquest


Need help understanding Bludwyng's documentation style? See Bludwyng's Guide to Using Templates!


Tytania
The Relentless
Fae Wizard
Lucan D'Lere
EverQuest II
Bludwyng, ZAM Network Sr. Wikibase Admin Send a private message to Bludwyng
All the power in the universe in a small, flaming fairy, package.