Difference between revisions of "Ratings"

From Sega Retro

Line 66: Line 66:
 
|}
 
|}
 
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
 
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="itemReviewed" style="display:none">VideoGame<span itemprop="name">{{{PAGENAME}}}</span></span>
+
<meta itemprop="itemReviewed" content="VideoGame">
 
<meta itemprop="additionalType" content="http://schema.org/VideoGame">
 
<meta itemprop="additionalType" content="http://schema.org/VideoGame">
 
<meta itemprop="ratingValue" content="{{#var: average}}">
 
<meta itemprop="ratingValue" content="{{#var: average}}">

Revision as of 12:31, 20 December 2020

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

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

Sega Retro Average 
Publication Version Score
{{|L}} N/A
Based on
0 reviews

Ratings

This template defines the table "ratings_table". View table.

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.