Difference between revisions of "Ratings"

From Sega Retro

Line 14: Line 14:
 
| value  
 
| value  
 
|
 
|
<span style="display:none;">
 
 
{{#vardefine: key|{{#replace:{{#var:key}}|_1|}}}}
 
{{#vardefine: key|{{#replace:{{#var:key}}|_1|}}}}
 
{{#vardefine: key|{{#replace:{{#var:key}}|_2|}}}}
 
{{#vardefine: key|{{#replace:{{#var:key}}|_2|}}}}
Line 38: Line 37:
 
|}}
 
|}}
 
{{#vardefine: lastargtype|{{#var: argtype}}}}
 
{{#vardefine: lastargtype|{{#var: argtype}}}}
</span>
+
 
 
{{#ifeq: {{#var: newrow}}|true|
 
{{#ifeq: {{#var: newrow}}|true|
 
{{#ifeq: {{#var: argpubname}}|null||
 
{{#ifeq: {{#var: argpubname}}|null||

Revision as of 16:02, 21 August 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.