Difference between revisions of "Ratings"

From Sega Retro

Line 10: Line 10:
 
|-
 
|-
 
|-
 
|-
{{#vardefine:argpubname|null}}{{#vardefine:argpubscore|null}}{{#vardefine:argpubsource|}}{{#vardefine: newrow|false}}{{#vardefine: lastargtype|null}}
+
{{#vardefine:argpubname|null}}{{#vardefine:argpubscore|null}}{{#vardefine:argpubsource|}}{{#vardefine: newrow|false}}{{#vardefine: lastargtype|null}}{{#vardefine:thisIsARating|true}}
 
{{#forargs:
 
{{#forargs:
 
| key
 
| key
Line 75: Line 75:
 
<meta itemprop="bestRating" content="100">
 
<meta itemprop="bestRating" content="100">
 
<meta itemprop="worstRating" content="0">
 
<meta itemprop="worstRating" content="0">
</div><noinclude>
+
</div>{{#vardefine:thisIsARating|false}}<noinclude>
 
==Usage==
 
==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.  
 
This template is to be used on articles about video games and will display scores awarded to said games by video game magazines/websites.  

Revision as of 11:20, 26 June 2016

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.