Difference between revisions of "Ratings"
From Sega Retro
Line 73: | Line 73: | ||
{{#if: {{{segamaguk|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segamaguk}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{segamaguk|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segamaguk}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
{{#if: {{{segapower|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segapower}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{segapower|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segapower}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
− | {{#if: {{{segapower_1|}}} | + | {{#if: {{{segapower_1|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segapower_1}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} |
{{#if: {{{segapro|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segapro}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{segapro|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segapro}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
{{#if: {{{segapro_1|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segapro_1}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | {{#if: {{{segapro_1|}}} | {{#vardefine: cumulativeScore|{{#expr: {{#var: cumulativeScore}} + {{{segapro_1}}} }} }} {{#vardefine: totalReviews|{{#expr: {{#var: totalReviews}} + 1 }} }} | }} | ||
Line 539: | Line 539: | ||
| }} | | }} | ||
− | {{ #if: {{{segapower_1|}}} | {{!}}''[[Sega | + | {{ #if: {{{segapower_1|}}} | {{!}}''[[Sega Pro]]'' |
− | {{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{ | + | {{!}}style="padding-left:5px;" width="20px" align="center"{{!}}{{{segapower_1}}} |
{{!}} {{#if: {{{segapower_source_1|}}} | {{{segapower_source_1}}} | }} | {{!}} {{#if: {{{segapower_source_1|}}} | {{{segapower_source_1}}} | }} | ||
{{!}}- | {{!}}- |
Revision as of 04:50, 29 March 2013
{{{{{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= | cdconsoles= | computergamer= | consolesmax= | consolesnews= | consolesplus= | cvg= | cvgit= | dcuk= | dmuk= | edge= | flux= | egm= | gamefan= | gamesmachine= | gamesmachineuk= | gamesmaster= | gameplayers= | gamepower= | gamepro= | gamesx= | 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= | rod= | s= | saturnplus= | saturnpower= | segamagjp= | segamaguk= | segapower= | segapro= | sfuk= | sfsw= | smf= | smz= | ssm= | superjuegos= | supersonic= | sv= | tilt= | topconsoles= | 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.