Difference between revisions of "Ratings"
From Sonic Retro
SuperSonic2 (talk | contribs) |
SuperSonic2 (talk | contribs) |
||
Line 83: | Line 83: | ||
{{#if: {{{vandal|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{vandal}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{vandal|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{vandal}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
{{#if: {{{vgce|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{vgce}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{vgce|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{vgce}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
+ | {{#if: {{{worthplaying|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{worthplaying}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
<!-- in case it can't cope with divide by zero --> | <!-- in case it can't cope with divide by zero --> | ||
Line 584: | Line 585: | ||
{{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{vgce}}} | {{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{vgce}}} | ||
{{!}} {{#if: {{{vgce_source|}}} | {{{vgce_source}}} | }} | {{!}} {{#if: {{{vgce_source|}}} | {{{vgce_source}}} | }} | ||
+ | {{!}}- | ||
+ | | }} | ||
+ | |} | ||
+ | |||
+ | {{ #if: {{{worthplaying|}}} | {{!}}''Worth Playing'' | ||
+ | {{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{worthplaying}}} | ||
+ | {{!}} {{#if: {{{worthplaying_source|}}} | {{{worthplaying_source}}} | }} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 671: | Line 679: | ||
| vandal= | | vandal= | ||
| vgce= | | vgce= | ||
+ | | worthplaying= | ||
}} | }} | ||
</pre> | </pre> |
Revision as of 23:54, 25 July 2015
{{{{{icon}}}|L}} | 0 | Sonic 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= | 360= | 3djuegos= | 4players= | ace= | asm= | badinfluence= | consolesplus= | cvg= | cvgit= | dcuk= | dmuk= | edge= | egm= | famitsu= | famitsu360= | flux= | gamefan= | gamesmachine= | gamesmachineuk= | gamesmaster= | gameplayers= | gamepower= | gamepro= | generation= | gi= | happycomputer= | highscore= | hobbyconsolas= | ign= | joypad= | joystick= | justpushstart= | maniac= | mdag= | mega= | megaforce= | megafun= | megaplay= | micromania= | mm= | mms= | mrdc= | mt= | odmfr= | odmuk= | odmus= | palgn= | playerone= | pp= | psu= | pu= | s= | saturnplus= | saturnpower= | sega16= | segamagjp= | segamaguk= | segapower= | segapro= | sfuk= | sfsw= | sfm= | smf= | smz= | ssm= | supersonic= | sv= | svenska= | tilt= | ts= | ug= | ugameplayers= | vandal= | vgce= | worthplaying= }}
for sources, add "_source", e.g.
| smf_source=[http://www.google.com] | vgce_source={{num|32}}
All fields are optional.