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.)
m (autolang replace)
 
(2 intermediate revisions by one other user not shown)
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}} {{#switch: {{language}}
|#default={{Metacritic score/strings|Main}}{{#if:{{{score|}}}|&nbsp;'''{{{score}}}'''}} {{Metacritic score/strings|Main2}} {{autolang
| #default =  You can [{{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>].
| 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}} {{#switch: {{language}}
| #default = [{{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>].  
| es = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">haz clic aquí</span>].
| es = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">haz clic aquí</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>]。
Line 22: Line 25:
|bdcolor = {{metacritic score color|{{{score}}}}}
|bdcolor = {{metacritic score color|{{{score}}}}}
|bdcolor2 = {{metacritic score color|{{{score}}}}}
|bdcolor2 = {{metacritic score color|{{{score}}}}}
|style = border: 2px {{metacritic score color|{{{score}}}}} solid;{{border-radius|10px}}
|style = border: 2px #545454 solid;{{border-radius|10px}}
|txtcolor = #ffffff
|txtcolor = #ffffff
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>
[[Category:Notice templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]

Latest revision as of 18:34, 5 August 2024

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