Template:Metacritic score: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (removed the need for the {{{color}}} parameter with the Template:Metacrtic score color template)
Line 3: Line 3:
<onlyinclude>{{messagebox
<onlyinclude>{{messagebox
|text =  
|text =  
<div class="floatright" style="font-size: 2em; margin-top: .5em; margin-right: .5em; color: {{{color|white}}};">{{{score}}}</div>
<div class="floatright" style="font-size: 2em; margin-top: .5em; margin-right: .5em; color: {{metacritic score color|{{{score}}} }};">{{{score}}}</div>
{{autolang
{{autolang
|1=This game has received a Metascore&reg;{{#if:{{{score|}}}|&nbsp;of {{{score}}}}} from Metacritic.<br />
|1=This game has received a Metascore&reg;{{#if:{{{score|}}}|&nbsp;of {{{score}}}}} from Metacritic.<br />
Line 26: Line 26:
|image = [[File:Metacritic.png|38px|left|link=]]
|image = [[File:Metacritic.png|38px|left|link=]]
|bgcolor = #000000
|bgcolor = #000000
|bdcolor = #474747
|bdcolor = {{metacritic score color|{{{score}}}}}
|bdcolor2 = #474747
|bdcolor2 = {{metacritic score color|{{{score}}}}}
|style = border: 2px #474747 solid;{{border-radius|10px}}
|style = border: 2px {{metacritic score color|{{{score}}}}} solid;{{border-radius|10px}}
|txtcolor = #ffffff
|txtcolor = #ffffff
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>
[[Category:Notice templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]

Revision as of 16:22, 2 May 2023

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