Difference between revisions of "Ratings"

From Sega Retro

Line 1: Line 1:
<section start="{{{icon}}}_ratings">{{#vardefine:totalReviews|0}}{{#vardefine:cumulativeScore|0}}
+
<section start="{{{icon}}}_ratings" />{{#vardefine:totalReviews|0}}{{#vardefine:cumulativeScore|0}}
 
{|cellpadding="0" cellspacing="0" class="breakout mw-collapsible mw-collapsed" style="width:auto !important; max-width: 320px; float: right; margin-left: 0px; display: inline; position: relative;"
 
{|cellpadding="0" cellspacing="0" class="breakout mw-collapsible mw-collapsed" style="width:auto !important; max-width: 320px; float: right; margin-left: 0px; display: inline; position: relative;"
 
!style="height:39px;" |Sega Retro Average&nbsp;
 
!style="height:39px;" |Sega Retro Average&nbsp;
Line 60: Line 60:
 
}}
 
}}
 
|}
 
|}
|}</section end="{{{icon}}}_ratings">
+
|}<section end="{{{icon}}}_ratings" />
 
{|cellpadding="0" cellspacing="0" class="breakout" style="width:auto !important; float: right; margin-left: 15px; display: inline; position: relative;"
 
{|cellpadding="0" cellspacing="0" class="breakout" style="width:auto !important; float: right; margin-left: 15px; display: inline; position: relative;"
 
! style="max-width:40px; height:40px"| {{{{{icon}}}|L}}{{#if: {{{icon|}}} |  | [[Category:Old Ratings Template]]}}
 
! style="max-width:40px; height:40px"| {{{{{icon}}}|L}}{{#if: {{{icon|}}} |  | [[Category:Old Ratings Template]]}}

Revision as of 12:49, 25 February 2017

Sega Retro Average 
Publication Score Source
{{{{{icon}}}|L}} Division by zero.
Based on
0 review

<meta itemprop="ratingValue" content="Division by zero.">

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=
| publication=
}}

Substitute "publication" with a publication code to get the desired result.

for sources, add "_source", e.g.

| smf_source=[http://www.google.com]
| vgce_source={{num|32|page=10/11}}

All fields are optional.