Difference between revisions of "Ratings"
From Sega Retro
m (Text replacement - "saturntsushin" to "techsaturn") |
Scarred Sun (talk | contribs) |
||
Line 402: | Line 402: | ||
}} | }} | ||
</div> | </div> | ||
+ | <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> | ||
{|cellpadding="0" cellspacing="0" class="breakout mw-collapsible mw-collapsed" style="width:auto !important; max-width: 340px; float: right; margin-left: 15px; display: inline; position: relative;" | {|cellpadding="0" cellspacing="0" class="breakout mw-collapsible mw-collapsed" style="width:auto !important; max-width: 340px; float: right; margin-left: 15px; display: inline; position: relative;" | ||
!rowspan="2" style="max-width:40px;"| {{{{{icon}}}|L}}{{#if: {{{icon|}}} | | [[Category:Old Ratings Template]]}} | !rowspan="2" style="max-width:40px;"| {{{{{icon}}}|L}}{{#if: {{{icon|}}} | | [[Category:Old Ratings Template]]}} | ||
− | !rowspan="2" style="max-width:40px;" style="font-size:16pt; {{#ifexpr: {{#var: average}} < 30 | background: #E61414 !important; color: #FFFFFF; | {{#ifexpr: {{#var: average}} > 70 | background: #28BE28 !important; color: #FFFFFF; | background: #FFE600 !important; color: #000000 !important; }}}}"|{{#var: average}} | + | !rowspan="2" style="max-width:40px;" style="font-size:16pt; {{#ifexpr: {{#var: average}} < 30 | background: #E61414 !important; color: #FFFFFF; | {{#ifexpr: {{#var: average}} > 70 | background: #28BE28 !important; color: #FFFFFF; | background: #FFE600 !important; color: #000000 !important; }}}}"|<span itemprop="ratingValue">{{#var: average}}</div> |
!|Sega Retro Average | !|Sega Retro Average | ||
|- | |- | ||
− | | style="padding-left:5px;" | Based on '''{{#var: totalReviews}}''' review{{#ifexpr: {{#var: totalReviews}} > 1|s| }} | + | | style="padding-left:5px;" | Based on '''<span itemprop="reviewCount">{{#var: totalReviews}}</span>''' review{{#ifexpr: {{#var: totalReviews}} > 1|s| }} |
|- | |- | ||
| colspan="3" style="padding: 0px;"| | | colspan="3" style="padding: 0px;"| |
Revision as of 23:12, 30 June 2015
{{{{{icon}}}|L}} | 0 | Sega Retro Average | |||
---|---|---|---|---|---|
Based on 1 review | |||||
|
Usage
This template is to be used on articles about video games and will display scores awarded to said games by video game magazines/websites.
Usage:
{{Ratings | icon= | ace= | allgame= | asm= | arcade= | badinfluence= | ccc= | cdconsoles= | cgtc= | cgtm= | cgts= | computergamer= | consolesmax= | consolesnews= | consolesplus= | crash= | cvg= | cvgit= | dcm= | dcuk= | dcmonthly= | dlmo= | dmuk= | dragon= | dreamzone= | edge= | egm= | esg= | famitsu= | flux= | fungeneration= | gamefan= | gamenow= | gamesmachine= | gamesmachineuk= | gamesmaster= | gameplayers= | gamepower= | gamepro= | gamesx= | gamesworld= | generation= | gi= | gz= | happycomputer= | highscore= | hobbyconsolas= | ign= | insomnia= | joypad= | joystick= | madgamers= | maniac= | mdag= | mega= | megaaction= | megaforce= | megafun= | megamachines= | megaplay= | megapower= | megatech= | micromania= | milwaukee= | mm= | mms= | mrdc= | mt= | nextgeneration= | nextlevel= | odmfr= | odmuk= | odmus= | pcgamer= | pcjeux= | playerone= | playtime= | pp= | pu= | raze= | rod= | s= | saturnplus= | saturnpower= | techsaturn= | sega16= | segafan= | segamagjp= | segamaguk= | segapower= | segapro= | sfuk= | sfsw= | smf= | smz= | ssm= | stc= | superjuegos= | supersonic= | suser= | sv= | techtv= | tilt= | topconsoles= | totalcontrol= | ts= | ufg= | ug= | ugameplayers= | viciojuegos= | videogamecritic= | videogamer= | videogames= | vgce= | xboxworld= | xgen= | yc= | ysinclair= | zero= | zzap64= }}
for sources, add "_source", e.g.
| smf_source=[http://www.google.com] | vgce_source={{num|32|page=10/11}}
All fields are optional.