Difference between revisions of "Ratings"
From Sonic Retro
Line 34: | Line 34: | ||
| ratingsvalue | | ratingsvalue | ||
| {{#if: {{#pos:{{#var:ratingskey}}|icon}}{{#pos:{{#var:ratingskey}}|_source}} | | | | {{#if: {{#pos:{{#var:ratingskey}}|icon}}{{#pos:{{#var:ratingskey}}|_source}} | | | ||
− | {{!}} {{#switch:{{#var: | + | {{!}}- |
+ | {{!}} {{#vardefine:ratingskeyx|{{#replace:{{#var:ratingskey}}|_1|}}}}{{#vardefine:ratingskeyx|{{#replace:{{#var:ratingskeyx}}|_2|}}}}{{#vardefine:ratingskeyx|{{#replace:{{#var:ratingskeyx}}|_3|}}}}{{#vardefine:ratingskeyx|{{#replace:{{#var:ratingskeyx}}|_4|}}}}{{#switch:{{#var:ratingskeyx}} | ||
| ace=''ACE'' | egm=''Electronic Gaming Monthly'' | famitsu=''Famitsu'' | gamepro=''GamePro'' | cvg=''Computer and Video Games'' | gamesx=''Games-X'' | mdag=''[[sega:Sega Mega Drive Advanced Gaming|Sega Mega Drive Advanced Gaming]]'' | megaaction=''[[sega:Mega Action|Mega Action]]'' | megatech=''[[sega:MegaTech|MegaTech]]'' | mm=''Mean Machines'' | raze=''Raze'' | segapower=''[[sega:Sega Power|Sega Power]]'' | segapro=''[[sega:Sega Pro|Sega Pro]]'' | zero=''Zero'' | | ace=''ACE'' | egm=''Electronic Gaming Monthly'' | famitsu=''Famitsu'' | gamepro=''GamePro'' | cvg=''Computer and Video Games'' | gamesx=''Games-X'' | mdag=''[[sega:Sega Mega Drive Advanced Gaming|Sega Mega Drive Advanced Gaming]]'' | megaaction=''[[sega:Mega Action|Mega Action]]'' | megatech=''[[sega:MegaTech|MegaTech]]'' | mm=''Mean Machines'' | raze=''Raze'' | segapower=''[[sega:Sega Power|Sega Power]]'' | segapro=''[[sega:Sega Pro|Sega Pro]]'' | zero=''Zero'' | ||
| {{#var:ratingskey}} }} | | {{#var:ratingskey}} }} | ||
{{!}}style="padding-left:5px;" width="20px" align="center"{{!}} {{#var:ratingsvalue}} | {{!}}style="padding-left:5px;" width="20px" align="center"{{!}} {{#var:ratingsvalue}} | ||
− | {{!}} {{{{{#var:ratingskey}}_source|}}} | + | {{!}} {{{{{#var:ratingskey}}_source|}}}{{#if:{{#pos:{{#var:ratingskey}}|_1}}|{{{{{#var:ratingskeyx}}_source_1|}}}}}{{#if:{{#pos:{{#var:ratingskey}}|_2}}|{{{{{#var:ratingskeyx}}_source_2|}}}}}{{#if:{{#pos:{{#var:ratingskey}}|_3}}|{{{{{#var:ratingskeyx}}_source_3|}}}}}{{#if:{{#pos:{{#var:ratingskey}}|_4}}|{{{{{#var:ratingskeyx}}_source_4|}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 152: | Line 153: | ||
All fields are optional. | All fields are optional. | ||
− | + | [[Category:Breakout box templates]]</noinclude> | |
− | [[Category:Breakout box templates |
Revision as of 18:47, 27 July 2016
{{{{{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= | dmjp= | dmjp_r= | dmuk= | dori= | edge= | eg= | egm= | famitsu= | famitsu360= | flux= | gamefan= | gamesmachine= | gamesmachineuk= | gamesmaster= | gameplayers= | gamepower= | gamepro= | gamezero= | gamingtarget= | generation= | gi= | happycomputer= | highscore= | hobbyconsolas= | ign= | joypad= | joystick= | justpushstart= | maniac= | mdag= | mega= | megaforce= | megafun= | megaplay= | meristation= | micromania= | mm= | mms= | mrdc= | mt= | nextlevel= | odmfr= | odmuk= | odmus= | palgn= | playerone= | powersonic= | pp= | psu= | pu= | s= | saturnplus= | saturnpower= | sega16= | segafan= | segamagjp= | segamaguk= | segapower= | segapro= | sfuk= | sfsw= | sfm= | smf= | shin= | smz= | ssm= | supersonic= | sv= | svenska= | tilt= | ts= | ug= | ugameplayers= | vandal= | vgce= | viciojuegos= | videogamecritic= | worthplaying= }}
for sources, add "_source", e.g.
| smf_source=[http://www.google.com] | vgce_source={{num|32}}
All fields are optional.