Difference between revisions of "Ratings"
From Sonic Retro
Scarred Sun (talk | contribs) |
Scarred Sun (talk | contribs) |
||
Line 28: | Line 28: | ||
{{#if: {{{highscore|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{highscore}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{highscore|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{highscore}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
{{#if: {{{hobbyconsolas|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{hobbyconsolas}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{hobbyconsolas|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{hobbyconsolas}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
+ | {{#if: {{{hyper|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{hyper}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
{{#if: {{{joypad|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{joypad}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{joypad|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{joypad}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
{{#if: {{{joystick|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{joystick}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{joystick|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{joystick}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
Line 235: | Line 236: | ||
{{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{hobbyconsolas}}} | {{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{hobbyconsolas}}} | ||
{{!}} {{#if: {{{hobbyconsolas_source|}}} | {{{hobbyconsolas_source}}} | }} | {{!}} {{#if: {{{hobbyconsolas_source|}}} | {{{hobbyconsolas_source}}} | }} | ||
+ | {{!}}- | ||
+ | | }} | ||
+ | |||
+ | {{ #if: {{{hyper|}}} | {{!}}''Hyper'' | ||
+ | {{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{hyper}}} | ||
+ | {{!}} {{#if: {{{hyper_source|}}} | {{{hyper_source}}} | }} | ||
{{!}}- | {{!}}- | ||
| }} | | }} |
Revision as of 23:50, 18 March 2012
{{{{{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= | ace= | asm= | badinfluence= | consolesplus= | cvg= | cvgit= | dcuk= | dmuk= | edge= | flux= | egm= | gamefan= | gamesmachine= | gamesmachineuk= | gamesmaster= | gameplayers= | gamepower= | gamepro= | generation= | gi= | happycomputer= | highscore= | hobbyconsolas= | joypad= | joystick= | maniac= | mdag= | mega= | megaforce= | megafun= | megaplay= | micromania= | mm= | mms= | mrdc= | mt= | odmfr= | odmuk= | odmus= | playerone= | pp= | pu= | s= | saturnplus= | saturnpower= | segamagjp= | segamaguk= | segapower= | segapro= | sfuk= | sfsw= | smf= | smz= | ssm= | supersonic= | sv= | tilt= | ts= | ug= | vgce= }}
for sources, add "_source", e.g.
| smf_source=[http://www.google.com] | vgce_source={{num|32}}
All fields are optional.