Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Infobox game/Documentation"

From PCGamingWiki, the wiki about fixing PC games
(updated syntax example)
(Removed "/pc/" from Metacritic link to match new URL format)
 
(53 intermediate revisions by 7 users not shown)
Line 1: Line 1:
;Description
+
{{Infobox game
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 file 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.
+
|title        = Example of a game infobox
 +
|cover        = Game article layout.jpg <!-- Try to find the highest resolution of a PC game cover -->
 +
|developers  =
 +
{{Infobox game/row/developer|Developer}}
 +
{{Infobox game/row/porter|Developer 2|Windows}}
 +
{{Infobox game/row/porter|Developer 3|OS X}}
 +
{{Infobox game/row/porter|Developer 4|Linux}}
 +
|publishers  =
 +
{{Infobox game/row/publisher|Publisher}}
 +
{{Infobox game/row/publisher|Publisher 2|Europe}}
 +
|engines      =
 +
{{Infobox game/row/engine|Engine}}
 +
|release dates=
 +
{{Infobox game/row/date|DOS|June 12, 1996}}
 +
{{Infobox game/row/date|Mac OS|July 4, 1998}}
 +
{{Infobox game/row/date|Windows|January 3, 2012}}
 +
{{Infobox game/row/date|OS X|March 21, 2013}}
 +
{{Infobox game/row/date|Linux|EA}}
 +
|reception    =
 +
{{Infobox game/row/reception|Metacritic|deus-ex-mankind-divided|83}} <!-- (Example: URL section and score - Deus Ex: Mankind Divided) -->
 +
{{Infobox game/row/reception|OpenCritic|1812/deus-ex-mankind-divided|81}}
 +
{{Infobox game/row/reception|IGDB|deus-ex-mankind-divided|83}}
 +
|taxonomy    =
 +
{{Infobox game/row/taxonomy/monetization      | | ref= }}
 +
{{Infobox game/row/taxonomy/microtransactions | | ref= }}
 +
{{Infobox game/row/taxonomy/modes            | Singleplayer, Multiplayer }}
 +
{{Infobox game/row/taxonomy/pacing            | Real-time }}
 +
{{Infobox game/row/taxonomy/perspectives      | First-person }}
 +
{{Infobox game/row/taxonomy/controls          | Direct control }}
 +
{{Infobox game/row/taxonomy/genres            | Action, Shooter }}
 +
{{Infobox game/row/taxonomy/sports            | }}
 +
{{Infobox game/row/taxonomy/vehicles          | }}
 +
{{Infobox game/row/taxonomy/art styles        | Stylized }}
 +
{{Infobox game/row/taxonomy/themes            | Sci-fi }}
 +
{{Infobox game/row/taxonomy/series            | PCGW Templates }}
 +
|steam appid  = 277430
 +
|steam appid side = 10
 +
|gogcom id    = 1207658682
 +
|gogcom id side =
 +
|official site= https://example.com/
 +
|hltb        =
 +
|igdb        = <!-- Only needs to be set if there is no IGDB reception row -->
 +
|mobygames    =
 +
|strategywiki =
 +
|wikipedia    = PCGamingWiki
 +
|winehq      = 2
 +
|license      =
 +
}}
  
;Arguments
+
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.
* {{Code|title}}
 
: ''Optional''. Add if game title is stylized in some way and therefore varies from page name.
 
* {{Code|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.
 
* {{Code|developers}}
 
: All information included under this argument must be related to developers and porters of the particular game. Possible rows include:
 
: {{Code|<nowiki>{{Infobox game/row/developer|1|2}}</nowiki>}}
 
:: This row defines [[Property:Developed by]]. The first argument should contain the name of the developer, and the second, if necessary, a subtitle as to what the developer was responsible for.
 
: {{Code|<nowiki>{{Infobox game/row/porter|1}}</nowiki>}}
 
:: The first argument is the name of the porter, the second argument is the operating system. This row defines a matching "Ported to (OS) by" property.
 
* {{Code|publishers}}
 
: All information included under this argument must be related to publishers of the game. Possible rows include:
 
: {{Code|<nowiki>{{Infobox game/row/publisher|1|2}}</nowiki>}}
 
:: This row defines [[Property:Published by]]. The first argument should contain the name of the publisher, and the second, if necessary, a subtitle specifying the region or the OS the publisher was responsible for.
 
* {{Code|engines}}
 
: All information included under this argument must be related to engines used in the game. Possible rows include:
 
: {{Code|<nowiki>{{Infobox game/row/engine|1|2}}</nowiki>}}
 
:: This row defines [[Property:Uses engine]]. The first argument should contain the name of the engine used, and the second, if necessary, what component was it responsible for.
 
:: '''Never''' list the engine as ''Custom'', ''Inhouse'' or similar. This provides no additional information to the user.
 
* {{Code|release dates}}
 
: All information included under this argument must be related to release dates of the game. Possible rows include:
 
: {{Code|<nowiki>{{Infobox game/row/date|1|2}}</nowiki>}}
 
:: The first property should define the OS the date is related to. Possible options include:
 
::: {{Code|DOS}} - defines [[Property:Release date DOS]];
 
::: {{Code|Windows}} - defines [[Property:Release date Windows]];
 
::: {{Code|OS X}} - defines [[Property:Release date OS X]]. Remember that {{W|OS X}} isn't the same thing as {{W|Classic Mac OS|Mac OS}}!
 
::: {{Code|Linux}} - defines [[Property:Release date Linux]]
 
::: {{Code|Mac OS}} - defines [[Property:Release date Mac OS]]. Remember that Mac OS isn't the same thing as OS X!
 
:: The second property should specify the date the game was released on the system in question. The date must be in a valid format to be recognized ("21 February 2001", "February 21, 2001", "2001", "February 2001" and additionally "TBA" will work but will not define a property).
 
:: Correctly using the property (that is, with the appropriate OS name) will result in the appropriate categories being automatically placed on the page.
 
:: Regional release dates should '''never''' be listed. Only ever list the relevant OS release date, always choosing the earliest it was made available in any region on that specific platform. Similarly, release dates for [[:Category:Stores|digital distribution]] services should also be ignored.
 
* {{Code|steam appid}} ''or'' {{Code|steam appid main}}
 
: The AppID of the game on [[Steam]]. This is used for the ''SteamDB'' and ''SteamCharts'' favicons. Defines [[Property:Steam AppID]].
 
* {{Code|steam appid side}}
 
: Additional AppIDs the game is available under on [[Steam]]. This takes a comma separated list for input. Defines [[Property:Steam AppID]].
 
* {{Code|gogcom page}}
 
: The page name of the game on [[GOG.com]]. Defines [[Property:GOGcom page]].
 
* {{Code|strategywiki}}
 
: The game's StrategyWiki page name
 
* {{Code|wikipedia}}
 
: The game's Wikipedia page name (not the full URL). The ''Wikipedia'' favicon will appear when it's defined. Defines [[Property:Wikipedia]].
 
* {{Code|winehq}}
 
: The ID of the game on WineHQ.
 
* {{Code|license}}
 
:License for the game (one of the following: {{code|commercial}}, {{code|former commercial}}, {{code|freeware}}, or {{code|free-to-play}}). Defines [[Property:License]].
 
  
 
;Syntax
 
;Syntax
Line 64: Line 66:
 
{{Infobox game/row/date|OS X|}}
 
{{Infobox game/row/date|OS X|}}
 
{{Infobox game/row/date|Linux|}}
 
{{Infobox game/row/date|Linux|}}
 +
|reception    =
 +
{{Infobox game/row/reception|Metacritic| | }}
 +
{{Infobox game/row/reception|OpenCritic| | }}
 +
{{Infobox game/row/reception|IGDB| | }}
 +
|taxonomy    =
 +
{{Infobox game/row/taxonomy/monetization      | }}
 +
{{Infobox game/row/taxonomy/microtransactions | }}
 +
{{Infobox game/row/taxonomy/modes            | }}
 +
{{Infobox game/row/taxonomy/pacing            | }}
 +
{{Infobox game/row/taxonomy/perspectives      | }}
 +
{{Infobox game/row/taxonomy/controls          | }}
 +
{{Infobox game/row/taxonomy/genres            | }}
 +
{{Infobox game/row/taxonomy/sports            | }}
 +
{{Infobox game/row/taxonomy/vehicles          | }}
 +
{{Infobox game/row/taxonomy/art styles        | }}
 +
{{Infobox game/row/taxonomy/themes            | }}
 +
{{Infobox game/row/taxonomy/series            | }}
 
|steam appid  =  
 
|steam appid  =  
 
|steam appid side =  
 
|steam appid side =  
|gogcom page  =  
+
|gogcom id    =
 +
|gogcom id side =
 +
|official site=
 +
|hltb        =
 +
|igdb        = <!-- Only needs to be set if there is no IGDB reception row -->
 +
|lutris      =
 +
|mobygames    =  
 
|strategywiki =  
 
|strategywiki =  
 
|wikipedia    =  
 
|wikipedia    =  
Line 74: Line 99:
 
</nowiki></pre>
 
</nowiki></pre>
  
<includeonly>[[Category:Infobox templates]]</includeonly>
+
;Arguments
<noinclude>[[Category:Documentation templates]]</noinclude>
+
{{Standard table| Parameter | Description |content=
 +
{{Standard table/row| title | ''Optional''. Add if game title is stylized in some way and therefore varies from page name. }}
 +
 
 +
{{Standard table/row| 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. Do not use a <code>File:</code> prefix for it, and do not use the <code><nowiki>{{Image}}</nowiki></code> template for it.
 +
}}
 +
 
 +
{{Standard table/row| developers | All information included under this argument must be related to developers of the particular game.
 +
Possible rows include:
 +
 
 +
: {{Code|<nowiki>{{Infobox game/row/developer|1|2}}</nowiki>}}
 +
# The first argument should contain the name of the developer.
 +
# The second, if necessary, a subtitle as to what the developer was responsible for.
 +
 
 +
 
 +
''Optional''. This row is only required when a game has been ported to a particular OS from another platform or OS.
 +
Possible rows include:
 +
 
 +
: {{Code|<nowiki>{{Infobox game/row/porter|1|2}}</nowiki>}}
 +
# The first argument is the name of the porter.
 +
# The second argument is the operating system. Valid arguments include:
 +
:* [[PC booter]]
 +
:* DOS
 +
:* Windows
 +
:* Windows 3.x
 +
:* Linux
 +
:* OS X
 +
:* Mac OS
 +
}}
 +
 
 +
{{Standard table/row| publishers | This row should only be used when a game was published by a company other than the developer of the game.
 +
Possible rows include:
 +
: {{Code|<nowiki>{{Infobox game/row/publisher|1|2}}</nowiki>}}
 +
# The first argument should contain the name of the publisher.
 +
# The second, if necessary, a subtitle specifying the region or the OS the publisher was responsible for.
 +
}}
 +
 
 +
{{Standard table/row| engines | All information included under this argument must be related to engines used in the game.
 +
Possible rows include:
 +
: {{Code|<nowiki>{{Infobox game/row/engine|1|2}}</nowiki>}}
 +
# The first argument should contain the name of the engine used.
 +
# 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.
 +
 
 +
See the {{T|Infobox game/row/engine}} documentation for more details, including on how to optionally specify the exact engine version used.
 +
}}
 +
 
 +
{{Standard table/row| release dates | All information included under this argument must be related to release dates of the game.
 +
 
 +
Possible rows include:
 +
: {{Code|<nowiki>{{Infobox game/row/date| <OS NAME> | <DATE> }}</nowiki>}}
 +
 
 +
See the {{T|Infobox game/row/date}} documentation for more details.
 +
}}
 +
 
 +
{{Standard table/row| reception | ''Average'' (based on a minimum of at least 4 scored reviews) critics reception of the game from a supported aggregator.
 +
Possible rows include:
 +
: {{Code|<nowiki>{{Infobox game/row/reception|1|2|3}}</nowiki>}}
 +
# The first argument should contain the reviews aggregator service the row is for:
 +
#* {{Code|Metacritic}}
 +
#* {{Code|OpenCritic}}
 +
#* {{Code|IGDB}}
 +
# The second row should contain the unique identifier from the URL for the review aggregator page for the game:
 +
#* For Metacritic: {{Code|nier-automata}} from ''https://www.metacritic.com/game/nier-automata''
 +
#* For OpenCritic: {{Code|3540/nier-automata}} from ''https://opencritic.com/game/3540/nier-automata''
 +
#* For IGDB: {{Code|nier-automata}} from ''https://www.igdb.com/games/nier-automata''
 +
# The third argument should contain the averaged critics reception score from the aggregator, and be at least based on '''a minimum of 4 reviews''':
 +
#* For '''Metacritic''', use the '''''Metascore'''''.
 +
#* For '''OpenCritic''', use the '''''Top Critic Average''''' score.
 +
#* For '''IGDB''', 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.
 +
#* Leave the field empty if the critics reception score on the aggregator is based on less than four reviews.
 +
}}
 +
 
 +
{{Standard table/row| taxonomy | The appropriate taxonomy tags for the game, see [[Taxonomy]] for further information.
 +
 
 +
}}
 +
 
 +
{{Standard table/row| steam appid | The App ID of the game on [[Steam]]. The [https://steamdb.info/ SteamDB] favicon will appear when it is defined.
 +
 
 +
* Use {{Code|2310}} from ''http://store.steampowered.com/app/2310/''
 +
}}
 +
 
 +
{{Standard table/row| steam appid side | Additional App IDs the game or its DLCs are available under on [[Steam]]. This takes a comma separated list for input.
 +
 
 +
* Use {{Code|9040}} from ''http://store.steampowered.com/app/9040/''
 +
}}
 +
 
 +
{{Standard table/row| gogcom id | The ID of the game on [[GOG.com]]. The [https://www.gogdb.org/ GOG Database] favicon will appear when it is defined.
 +
}}
 +
 
 +
{{Standard table/row| 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.
 +
}}
 +
 
 +
{{Standard table/row| 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. }}
 +
 
 +
{{Standard table/row| winehq |2= The unique link identifier for the game on [https://www.winehq.org/ WineHQ.]
 +
 
 +
* Use {{Code|930}} from ''https://appdb.winehq.org/objectManager.php?sClass=application&iId=930''
 +
 
 +
}}
 +
 
 +
{{Standard table/row| hltb |2= The unique link identifier for the game on [https://howlongtobeat.com/ HowLongToBeat.]
 +
 
 +
* Use {{Code|57506}} from ''https://howlongtobeat.com/game?id=57506''
 +
 
 +
}}
 +
 
 +
{{Standard table/row| igdb | The unique link identifier for the game on [https://www.igdb.com/ IGDB.]
 +
 
 +
* Use {{Code|nier-automata}} from ''https://www.igdb.com/games/nier-automata''
 +
 
 +
''This only needs to be filled out if a reception row for IGDB is not present already.''
 +
}}
 +
 
 +
{{Standard table/row| lutris | The unique link identifier for the game on [https://lutris.net/ Lutris.]
 +
 
 +
* Use {{Code|apex-legends}} from ''https://lutris.net/games/apex-legends/''
 +
 
 +
}}
 +
 
 +
{{Standard table/row| mobygames | The unique link identifier for the game on [https://www.mobygames.com/ MobyGames.]
 +
 
 +
* Use {{Code|143581}} from ''https://www.mobygames.com/game/143581/doom-eternal/''
 +
 
 +
}}
 +
 
 +
{{Standard table/row| strategywiki | The unique link identifier for the game on [https://strategywiki.org/wiki/Main_Page StrategyWiki.]
 +
 
 +
* Use {{Code|Doom}} from ''https://strategywiki.org/wiki/Doom''
 +
 
 +
}}
 +
 
 +
{{Standard table/row| wikipedia | The unique link identifier for the game on the [https://en.wikipedia.org English Wikipedia.] The Wikipedia favicon will appear when it is defined.
 +
 
 +
* Use {{Code|Doom_Eternal}} from ''https://en.wikipedia.org/wiki/Doom_Eternal''
 +
}}
 +
 
 +
{{Standard table/row| 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]].
 +
 
 +
* {{code|commercial}}
 +
* {{code|former commercial}} (paid games that have been re-released for free)
 +
* {{code|freeware}}
 +
* {{code|free-to-play}}
 +
* {{code|shareware}}
 +
}}
 +
 
 +
|collapsed=no}}
 +
 
 +
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Documentation templates]]</noinclude>

Latest revision as of 14:38, 15 September 2023

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
Taxonomy
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Action, Shooter
Art styles Stylized
Themes Sci-fi
Series PCGW Templates
Infobox game/Documentation on IGDB
Infobox game/Documentation on Wikipedia
PCGW Templates
Sample article 2013
Game (singleplayer) 2019
Game (multiplayer) 2019
Game (unknown) 2019

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| | }}
|taxonomy     = 
{{Infobox game/row/taxonomy/monetization      | }}
{{Infobox game/row/taxonomy/microtransactions | }}
{{Infobox game/row/taxonomy/modes             | }}
{{Infobox game/row/taxonomy/pacing            | }}
{{Infobox game/row/taxonomy/perspectives      | }}
{{Infobox game/row/taxonomy/controls          | }}
{{Infobox game/row/taxonomy/genres            | }}
{{Infobox game/row/taxonomy/sports            | }}
{{Infobox game/row/taxonomy/vehicles          | }}
{{Infobox game/row/taxonomy/art styles        | }}
{{Infobox game/row/taxonomy/themes            | }}
{{Infobox game/row/taxonomy/series            | }}
|steam appid  = 
|steam appid side = 
|gogcom id    = 
|gogcom id side = 
|official site= 
|hltb         =
|igdb         = <!-- Only needs to be set if there is no IGDB reception row -->
|lutris       = 
|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. Do not use a File: prefix for it, and do not use the {{Image}} template for it.
developers All information included under this argument must be related to developers of the particular game.

Possible rows include:

{{Infobox game/row/developer|1|2}}
  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.


Optional. This row is only required when a game has been ported to a particular OS from another platform or OS. Possible rows include:

{{Infobox game/row/porter|1|2}}
  1. The first argument is the name of the porter.
  2. The second argument is the operating system. Valid arguments include:
  • PC booter
  • DOS
  • Windows
  • Windows 3.x
  • Linux
  • OS X
  • Mac OS
publishers This row should only be used when a game was published by a company other than the developer of the game.

Possible rows include:

{{Infobox game/row/publisher|1|2}}
  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}}
  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.

See the {{Infobox game/row/engine}} documentation for more details, including on how to optionally specify the exact engine version used.

release dates All information included under this argument must be related to release dates of the game.

Possible rows include:

{{Infobox game/row/date| <OS NAME> | <DATE> }}

See the {{Infobox game/row/date}} documentation for more details.

reception Average (based on a minimum of at least 4 scored reviews) critics 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 critics reception score from the aggregator, and be at least based on a minimum of 4 reviews:
    • For Metacritic, use the Metascore.
    • For OpenCritic, use the Top Critic Average score.
    • For IGDB, 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.
    • Leave the field empty if the critics reception score on the aggregator is based on less than four reviews.
taxonomy The appropriate taxonomy tags for the game, see Taxonomy for further information.
steam appid The App ID of the game on Steam. The SteamDB favicon will appear when it is defined.
steam appid side Additional App IDs the game or its DLCs are available under on Steam. This takes a comma separated list for input.
gogcom id The ID of the game on GOG.com. The GOG Database favicon will appear when it is defined.
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.
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.

lutris The unique link identifier for the game on Lutris.
mobygames The unique link identifier for the game on MobyGames.
strategywiki The unique link identifier for the game on StrategyWiki.
wikipedia The unique link identifier for the game on the English Wikipedia. The Wikipedia favicon will appear when it is defined.
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