Difference between revisions of "Ratings"

From Sega Retro

m
Line 71: Line 71:
 
|average = {{#var: average}}
 
|average = {{#var: average}}
 
|totalReviews = {{#var: totalReviews}}
 
|totalReviews = {{#var: totalReviews}}
}}</includeonly>{{#if:{{{icon|}}}|[[Category:Update ratings template]]|</div>{{Ratings2|{{{1|}}}|{{{2|{{#titleparts:{{PAGENAME}}}}}}}}}}}<noinclude>{{#cargo_declare:
+
}}</includeonly>{{#if:{{{icon|}}}|[[Category:Update ratings template]]|</div>{{Ratings2|{{{1|}}}|{{{2|{{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}}}}}}}}<noinclude>{{#cargo_declare:
 
_table = ratings_table
 
_table = ratings_table
 
|name=Page
 
|name=Page

Revision as of 10:50, 21 April 2021

Sega Retro Average 
Publication Score Source
{{{{{icon}}}|L}} Division by zero.
Based on
0 review
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.