Difference between revisions of "Ratings2"
From Sega Retro
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{|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;" | + | <includeonly> |
+ | {|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 | !style="height:39px;" |Sega Retro Average | ||
|- | |- | ||
Line 8: | Line 9: | ||
!Score | !Score | ||
!class="unsortable| | !class="unsortable| | ||
− | |-{{# | + | |-{{#vardefine:totalScore|0}}{{#vardefine:numberOfRatings|0}} |
{{#cargo_query: | {{#cargo_query: | ||
tables=ratings | tables=ratings | ||
|fields=ratings.score,ratings.version,ratings.code,ratings.issue,ratings.pdfpage | |fields=ratings.score,ratings.version,ratings.code,ratings.issue,ratings.pdfpage | ||
− | |where=ratings.name="{{{2|{{PAGENAME}}}}}" and ratings.format="{{{1|}}}" | + | |where=ratings.name="{{#replace:{{{2|{{#titleparts:{{PAGENAME}}}}}}}|"|""}}" and ratings.format="{{{1|}}}" |
|order by=ratings.code | |order by=ratings.code | ||
|limit=1000 | |limit=1000 | ||
Line 24: | Line 25: | ||
! style="max-width:40px;" style="font-size:16pt; {{scoreColour|{{#var: average}}}}"|{{#var: average}} | ! style="max-width:40px;" style="font-size:16pt; {{scoreColour|{{#var: average}}}}"|{{#var: average}} | ||
|- | |- | ||
− | |colspan="2" style="padding:2px; text-align:center; line-height:initial" | <small>{{#vardefine:totalText|Based on<br>[[{{PAGENAME}}/ | + | |colspan="2" style="padding:2px; text-align:center; line-height:initial" | <small>{{#vardefine:totalText|Based on<br>[[{{PAGENAME}}/Reception|'''{{#var:numberOfRatings|0}}''' review{{#ifexpr: {{#var:numberOfRatings|0}} > 1|s| }}]]}}{{#var:totalText}}</small> |
− | |}</includeonly><noinclude> | + | |} |
+ | <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> | ||
+ | <span style="display:none" itemprop="itemReviewed" itemscope itemtype="https://schema.org/VideoGame"> | ||
+ | <span itemprop="name">{{PAGENAME}}</span> | ||
+ | </span> | ||
+ | <meta itemprop="ratingValue" content="{{#var: average}}"> | ||
+ | <meta itemprop="ratingCount" content="{{#var:numberOfRatings|0}}"> | ||
+ | <meta itemprop="bestRating" content="100"> | ||
+ | <meta itemprop="worstRating" content="0"> | ||
+ | </div> | ||
+ | </includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 13:50, 26 April 2021
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:
{{Ratings2|SAT|Daytona USA}}
85 | |
---|---|
Based on 55 reviews |
- ↑ Alaab Alcomputtar, "" (SA; 1995-08-xx), page 74
- ↑ CD Consoles, "Mai 1995" (FR; 1995-xx-xx), page 102
- ↑ Consoles +, "Mai 1995" (FR; 1995-0x-xx), page 134
- ↑ Computer & Video Games, "June 1995" (UK; 1995-05-xx), page 15
- ↑ Computer & Video Games, "August 1995" (UK; 1995-07-12), page 32
- ↑ Digitiser (UK) (1995-07-12)
- ↑ Edge, "June 1995" (UK; 1995-04-27), page 72
- ↑ Electronic Entertainment, "August 1995" (US; 1995-0x-xx), page 76
- ↑ Electronic Gaming Monthly, "July 1995" (US; 1995-0x-xx), page 114
- ↑ Famitsu, "1995-04-07" (JP; 1995-03-24), page 1
- ↑ GameFan, "Volume 3, Issue 7: July 1995" (US; 1995-xx-xx), page 13
- ↑ Game Players, "Vol. 8 No. 8 August 1995" (US; 1995-0x-xx), page 40
- ↑ GamePro, "August 1995" (US; 1995-xx-xx), page 52
- ↑ Games World: The Magazine, "June 1995" (UK; 1995-0x-xx), page 78
- ↑ Games World: The Magazine, "September 1995" (UK; 1995-0x-xx), page 69
- ↑ Game Informer, "July 1995" (US; 1995-0x-xx), page 52
- ↑ HiTech, "Mayo 1995" (ES; 1995-0x-xx), page 50
- ↑ Level, "5/97" (TR; 1997-xx-xx), page 1
- ↑ MAN!AC, "06/95" (DE; 1995-05-10), page 44
- ↑ MAN!AC, "08/95" (DE; 1995-07-12), page 45
- ↑ Maximum, "October 1995" (UK; 1995-09-01), page 146
- ↑ Mega, "May 1995" (UK; 1995-04-30), page 4
- ↑ Mega Force, "Mai 1995" (FR; 1995-0x-xx), page 30
- ↑ Mega Fun, "08/95" (DE; 1995-07-19), page 80
- ↑ Magazina Igrushek, "2/1995" (RU; 1995-xx-xx), page 88
- ↑ Mean Machines Sega, "June 1995" (UK; 1995-04-28), page 58
- ↑ Mean Machines Sega, "September 1995" (UK; 1995-07-27), page 88
- ↑ Next Generation, "July 1995" (US; 1995-06-20), page 68
- ↑ Player One, "Juillet/Août 1995" (FR; 1995-0x-xx), page 60
- ↑ Players, "Dez 95" (BR; 1995-1x-xx), page 18
- ↑ Power Unlimited, "Jaagang 3, Jul/Aug 1995" (NL; 1995-06-28), page 42
- ↑ Saturn Fan, "1995 June" (JP; 1995-05-08), page 38
- ↑ Saturn+, "Christmas 1995" (UK; 1995-12-14), page 57
- ↑ Secret Service, "Maj 1996" (PL; 1996-05-01), page 67
- ↑ Sega Magazin, "August 1995" (DE; 1995-07-12), page 60
- ↑ Sega Magazine, "August 1995" (UK; 1995-07-13), page 58
- ↑ Sega News, "Říjen 1996" (CZ; 1996-xx-xx), page 13
- ↑ Sega Power, "June 1995" (UK; 1995-04-20), page 42
- ↑ Sega Pro, "May 1995" (UK; 1995-04-13), page 40
- ↑ Sega Pro, "September 1995" (UK; 1995-08-10), page 51
- ↑ Świat Gier Komputerowych, "9/1996" (PL; 1996-xx-xx), page 1
- ↑ Sega Megazone, "August 1995" (AU; 1995-0x-xx), page 20
- ↑ Sega Saturn Magazine, "April 1995" (JP; 1995-03-08), page 106
- ↑ Sega Saturn Magazine, "Readers rating final data" (JP; 2000-03), page 12
- ↑ Strana Igr, "" (RU; 1996-xx-xx), page 97
- ↑ Super Juegos, "Agosto 1995" (ES; 1995-0x-xx), page 50
- ↑ Todo Sega, "Agosto 1995" (ES; 1995-0x-xx), page 36
- ↑ Top Consoles, "Mai 1995" (FR; 1995-0x-xx), page 78
- ↑ Total Saturn, "Volume One Issue Four" (UK; 1996-12-29), page 21
- ↑ Ultimate Future Games, "June 1995" (UK; 1995-05-01), page 68
- ↑ Ultimate Future Games, "September 1995" (UK; 1995-08-01), page 91
- ↑ Última Generación, "Mayo 1995" (ES; 1995-0x-xx), page 66
- ↑ Video Games, "8/95" (DE; 1995-07-26), page 66
- ↑ Video Games, "8/95" (DE; 1995-07-26), page 64
- ↑ VideoGames, "June 1995" (US; 1995-0x-xx), page 75