Template:Infobox game

From PCGamingWiki, the wiki about fixing PC games
Revision as of 09:21, 23 May 2020 by Aemony (talk | contribs) (wrapped property assignments in namespace check to prevent Steam AppID from being assigned by pages outside of the main namespace)

This template defines the table "Infobox_game". View table.

Documentation for the above template (sometimes hidden from view).
Example of a game infobox
Example of a game infobox cover
Developers
Developer
Windows Developer 2
macOS (OS X) Developer 3
Linux Developer 4
Publishers
Publisher
Europe Publisher 2
Engines
Engine
Release dates
DOS June 12, 1996
Mac OS (Classic) July 4, 1998
Windows January 3, 2012
macOS (OS X) March 21, 2013
Linux Early access
Reception
Metacritic 83
OpenCritic 81
IGDB 83
Infobox game on IGDB
Infobox game on Wikipedia

This template needs to be present on every game page on the wiki. It contains the basic information on who developed, ported and published the game, as well as what engine was used and when was it released on different operating systems. In addition, it can hold a cover or box image for the game, as well as information on the location of the game's page on several other websites.

Syntax
{{Infobox game
|cover        = 
|developers   = 
{{Infobox game/row/developer|}}
{{Infobox game/row/porter|}}
|publishers   = 
{{Infobox game/row/publisher|}}
|engines      = 
{{Infobox game/row/engine|}}
|release dates= 
{{Infobox game/row/date|Windows|}}
{{Infobox game/row/date|OS X|}}
{{Infobox game/row/date|Linux|}}
|reception    = 
{{Infobox game/row/reception|Metacritic| | }}
{{Infobox game/row/reception|OpenCritic| | }}
{{Infobox game/row/reception|IGDB| | }}
|steam appid  = 
|steam appid side = 
|gogcom id    = 
|gogcom id side = 
|official site= 
|hltb         =
|igdb         = 
|mobygames    = 
|strategywiki = 
|wikipedia    = 
|winehq       = 
|license      = 
}}
Arguments
Parameter Description
title Optional. Add if game title is stylized in some way and therefore varies from page name.
cover Only include this if a cover for this game is present on the wiki or on Wikimedia Commons. The contents of this line should be just the filename, excluding the namespace.

Defines Property:Cover.

developers All information included under this argument must be related to developers and porters of the particular game.

Possible rows include:

{{Infobox game/row/developer|1|2}} - This row defines Property:Developed by.
  1. The first argument should contain the name of the developer.
  2. The second, if necessary, a subtitle as to what the developer was responsible for.
{{Infobox game/row/porter|1}} - This row defines a matching "Ported to (OS) by" property.
  1. The first argument is the name of the porter.
  2. The second argument is the operating system.
publishers All information included under this argument must be related to publishers of the game.

Possible rows include:

{{Infobox game/row/publisher|1|2}} - This row defines Property:Published by.
  1. The first argument should contain the name of the publisher.
  2. The second, if necessary, a subtitle specifying the region or the OS the publisher was responsible for.
engines All information included under this argument must be related to engines used in the game.

Possible rows include:

{{Infobox game/row/engine|1|2}} - This row defines Property:Uses engine.
  1. The first argument should contain the name of the engine used.
  2. The second, if necessary, what component it was responsible for.
  • Never list the engine as Custom, Inhouse or similar. This provides no additional information to the user.
release dates All information included under this argument must be related to release dates of the game.

Possible rows include: (click on the row for more information)

{{Infobox game/row/date| <OS NAME> | <DATE> }}
reception Average critical reception of the game, from a supported aggregator.

Possible rows include:

{{Infobox game/row/reception|1|2|3}}
  1. The first argument should contain the reviews aggregator service the row is for:
    • Metacritic
    • OpenCritic
    • IGDB
  2. The second row should contain the unique identifier from the URL for the review aggregator page for the game:
  3. The third argument should contain the averaged critical reception score from the aggregator:
    • For Metacritic, use the Metascore.
    • For OpenCritic, use the Top Critic Average score.
    • For IDGB, use the critic ratings score. This is the smaller (in size of the element, not in units) score to the right. The larger score to the left is the average IGDB user rating and should not be used.
steam appid The App ID of the game on Steam. The SteamDB favicon will appear when it is defined.

Defines Property:Steam AppID.

steam appid side Additional App IDs the game or its DLCs are available under on Steam. This takes a comma separated list for input.

Defines Property:Steam AppID.

gogcom id The ID of the game on GOG.com. The GOG Database favicon will appear when it is defined.

Defines Property:GOGcom page.

gogcom id side Additional IDs the game or its DLCs/packages are available under on GOG.com. This takes a comma separated list for input.

Defines Property:GOGcom page.

official site Add the full URL of the official site from either the original developer or the current rights holder. Do not use store pages.
winehq The unique link identifier for the game on WineHQ.
hltb The unique link identifier for the game on HowLongToBeat.
igdb The unique link identifier for the game on IGDB.

This only needs to be filled out if a reception row for IGDB is not present already.

strategywiki The unique link identifier for the game on StrategyWiki.
mobygames The unique link identifier for the game on MobyGames.
wikipedia The unique link identifier for the game on the English Wikipedia. The Wikipedia favicon will appear when it is defined.

Defines Property:Wikipedia.

license License of the game from one of the following values. This information is not shown on the game page but is used to populate other pages such as the List of Freeware Games.
  • commercial
  • former commercial (paid games that have been re-released for free)
  • freeware
  • free-to-play
  • shareware

Defines Property:License.