Template:Metacritic score: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(yet again something just break but hopefully should be fixed as the strings has been split in two.)
No edit summary
Line 1: Line 1:
{{ulf|en=1|de=1|es=1|pl=1|ru=1|vi=1|zh=1|zh-tw=1|ko=1}}
{{ulf|en=1|de=1|es=1|pl=1|ru=1|vi=1|zh=1|zh-tw=1|ko=1}}<!-- Some translations are located in /strings subpage, so remember to check that aswell.-->
{{Doc}}<includeonly>
{{Doc}}<includeonly>
<onlyinclude>{{messagebox
<onlyinclude>{{messagebox
Line 5: Line 5:
<div class="floatright" style="font-size: 2.4em; margin-top: .5em; margin-right: .5em; color: {{metacritic score color|{{{score|N/A}}} }};">{{{score|N/A}}}</div>
<div class="floatright" style="font-size: 2.4em; margin-top: .5em; margin-right: .5em; color: {{metacritic score color|{{{score|N/A}}} }};">{{{score|N/A}}}</div>
{{#switch:{{{score|N/A}}}
{{#switch:{{{score|N/A}}}
|n/a|N/a|N/A = {{Metacritic score/strings|Unrated}}
|n/a|N/a|N/A = {{Metacritic score/strings|Unrated}} {{autolang
| 1 = You can [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">click here</span>]
| vi = Bạn có thể [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">truy cập vào đây</span>] <!-- translation by User:kr0tchet -->
}} {{Metacritic score/strings|Unrated2}}
|#default={{Metacritic score/strings|Main}}{{#if:{{{score|}}}|&nbsp;'''{{{score}}}'''}} {{Metacritic score/strings|Main2}} {{autolang
|#default={{Metacritic score/strings|Main}}{{#if:{{{score|}}}|&nbsp;'''{{{score}}}'''}} {{Metacritic score/strings|Main2}} {{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>].
Line 13: Line 16:
| pl = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">kliknij tutaj</span>].
| pl = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">kliknij tutaj</span>].
| ru = [{{metacritic website|platform=pc|gameid={{{gameid}}}}} <span style="color: yellow;">нажмите здесь</span>].
| ru = [{{metacritic website|platform=pc|gameid={{{gameid}}}}} <span style="color: yellow;">нажмите здесь</span>].
| vi = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">click vào đây</span>]. <!-- translation by User:kr0tchet -->
| vi = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">truy cập vào đây</span>]. <!-- translation by User:kr0tchet -->
| 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>]。

Revision as of 02:12, 19 July 2023

English (en)Deutsch (de)Español (es)한국어 (ko)Polski (pl)Русский (ru)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please 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

Preview