Template:Metacritic score: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (autolang replace)
 
(One intermediate revision by one other user not shown)
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}} {{autolang
|n/a|N/a|N/A = {{Metacritic score/strings|Unrated}} {{#switch: {{language}}
| 1 = You can [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">click here</span>]
| #default = 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 -->
| 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}}
}} {{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}} {{#switch: {{language}}
| 1 = [{{metacritic website|platform={{{platform}}}|gameid={{{gameid}}}}} <span style="color: yellow;">click here</span>].
| #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 25: 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