Difference between revisions of "GetAverageScore2"

From Sega Retro

(eeehhhhh)
Line 2: Line 2:
 
tables=ratings
 
tables=ratings
 
|fields=avg(ratings.score)
 
|fields=avg(ratings.score)
|where=ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}"
+
|where=ratings.name="{{#replace:{{{1|}}}|"|""}}" and ratings.format="{{{2|}}}"
 
|limit=10
 
|limit=10
 
|format=template
 
|format=template
Line 10: Line 10:
 
<pre>{{GetAverageScore2|688 Attack Sub|MD}}</pre>
 
<pre>{{GetAverageScore2|688 Attack Sub|MD}}</pre>
 
{{GetAverageScore2|688 Attack Sub|MD}}
 
{{GetAverageScore2|688 Attack Sub|MD}}
 +
 +
<pre>{{GetAverageScore2|James "Buster" Douglas Knockout Boxing (Mega Drive)|MD}}</pre>
 +
{{GetAverageScore2|James "Buster" Douglas Knockout Boxing (Mega Drive)|MD}}
  
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 07:36, 18 March 2021

Template to get Sega Retro average score:

{{GetAverageScore2|688 Attack Sub|MD}}

76.05357142857136

{{GetAverageScore2|James "Buster" Douglas Knockout Boxing (Mega Drive)|MD}}