From Valve Developer Community
Jump to navigation
Jump to search
|
|
Line 25: |
Line 25: |
| }} | | }} |
| |image = [[File:Metacritic.png|38px|left|link=]] | | |image = [[File:Metacritic.png|38px|left|link=]] |
| |bgcolor = #000000 | | |bgcolor = {{#switch:{{{bgcolor|}}} |
| | | #default = {{metacritic score color|{{{score}}}|hexdark}} | black = #000000}} |
| |bdcolor = {{metacritic score color|{{{score}}}}} | | |bdcolor = {{metacritic score color|{{{score}}}}} |
| |bdcolor2 = {{metacritic score color|{{{score}}}}} | | |bdcolor2 = {{metacritic score color|{{{score}}}}} |
Revision as of 10:35, 6 July 2023

Available doc translations
…
EnglishThis template uses a strings subpagePlease follow the format on this subpage(s) to add translations.
Usage
Syntax: {{Metacritic score|color = (color)|gameid = (game-name)|platform = (platform)|score = (score)|bgcolor = (blank or black)}}
Parameters
Parameters
|
Description
|
{{{gameid}}}
|
The game id, must follow the website URL. Example: half-life-2
|
{{{platform}}}
|
Platforms. Example: pc, xbox-360, playstation-3
Deprecated:Partially deprecated since the website redesign in Sep 2023. For example, Half-Life 2 (Xbox) Metacritic links will lead to reviews combining both PC and original Xbox version. Platform-specific reviews are now located in ?platform=pc instead of pc/game_name. However, it is still required to be specified in order to avoid breaking links.
|
{{{score}}}
|
Metascore
|
{{{bgcolor}}}
|
Background color. Available values: blank (default), black (classic black)
|
Preview
97
This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the
Pages that use this template. Once no more pages use this template, it should be
Marked for deletion.
Additional notes:Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
}}
50
This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the
Pages that use this template. Once no more pages use this template, it should be
Marked for deletion.
Additional notes:Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
}}
23
This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the
Pages that use this template. Once no more pages use this template, it should be
Marked for deletion.
Additional notes:Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
}}
N/A
This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the
Pages that use this template. Once no more pages use this template, it should be
Marked for deletion.
Additional notes:Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
}}