Difference between revisions of "Ratings"
From Sega Retro
m (Reverted edits by Pirate Dragon (talk) to last revision by Hivebrain) |
Scarred Sun (talk | contribs) |
||
Line 79: | Line 79: | ||
{{#if: {{{zzap64|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{zzap64}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{zzap64|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{zzap64}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
− | <!-- in case it can't cope with divide by | + | <!-- in case it can't cope with divide by dongs --> |
{{#ifeq: {{#var: totalReviews}} | 0 | {{#vardefine: totalReviews|1}} | }} | {{#ifeq: {{#var: totalReviews}} | 0 | {{#vardefine: totalReviews|1}} | }} | ||
Revision as of 02:59, 21 August 2012
{{{{{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= | asm= | arcade= | badinfluence= | computergamer= | consolesplus= | cvg= | cvgit= | dcuk= | dmuk= | edge= | flux= | egm= | gamefan= | gamesmachine= | gamesmachineuk= | gamesmaster= | gameplayers= | gamepower= | gamepro= | generation= | gi= | gz= | happycomputer= | highscore= | hobbyconsolas= | joypad= | joystick= | maniac= | mdag= | mega= | megaforce= | megafun= | megaplay= | megatech= | micromania= | mm= | mms= | mrdc= | mt= | odmfr= | odmuk= | odmus= | playerone= | pp= | pu= | raze= | s= | saturnplus= | saturnpower= | segamagjp= | segamaguk= | segapower= | segapro= | sfuk= | sfsw= | smf= | smz= | ssm= | supersonic= | sv= | tilt= | ts= | ug= | videogamer= | vgce= | yc= | zero= | zzap64= }}
for sources, add "_source", e.g.
| smf_source=[http://www.google.com] | vgce_source={{num|32}}
All fields are optional.