Template:Metacritic score: Difference between revisions
Jump to navigation
Jump to search
m (more testing and code cleanup.) |
No edit summary |
||
Line 4: | Line 4: | ||
|text = | |text = | ||
<div class="floatright" style="font-size: 2em; margin-top: .5em; margin-right: .5em; color: {{metacritic score color|{{{score|N/A}}} }};">{{{score|N/A}}}</div> | <div class="floatright" style="font-size: 2em; margin-top: .5em; margin-right: .5em; color: {{metacritic score color|{{{score|N/A}}} }};">{{{score|N/A}}}</div> | ||
{{#switch:{{{score|N/A}}} | <!-- Links are translated separately as putting them in /strings would break them if you trying to click it. --> | ||
|#default={{Metacritic score/strings|Main}} {{autolang | {{#switch:{{{score|N/A}}}|#default={{Metacritic score/strings|Main}} {{autolang | ||
| 1 = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">click here</span>]. | | 1 = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">click here</span>]. | ||
| de = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">hier klicken</span>]. | | de = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">hier klicken</span>]. | ||
Line 15: | Line 15: | ||
| zh = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">点击这里</span>] | | zh = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">点击这里</span>] | ||
| zh-tw = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">點擊這裡</span>]。 | | zh-tw = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">點擊這裡</span>]。 | ||
}} | }}}} | ||
}} | |n/a|N/a|N/A|unrated|Unrated={{Metacritic score/strings|Unrated}} | ||
| n/a|N/a|N/A|unrated|Unrated = {{Metacritic score/strings|Unrated}} | |||
| image = [[File:Logo-Metacritic.png|40px|left|link=]] | | image = [[File:Logo-Metacritic.png|40px|left|link=]] | ||
| bgcolor = {{#switch:{{{bgcolor|}}} | | bgcolor = {{#switch:{{{bgcolor|}}} |
Revision as of 01:51, 19 July 2023
The above documentation is transcluded from Template:Metacritic score/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.