Difference between revisions of "GetNumberOfRatings"

From Sega Retro

 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
tables=ratings
 
tables=ratings
 
|fields=count(ratings.score)
 
|fields=count(ratings.score)
|where=ratings.name="{{#replace:{{{1|}}}|"|""}}" and ratings.format="{{{2|}}}"
+
|where=ratings.name="{{#replace:{{{1|}}}|"|:qm:}}" and ratings.format="{{{2|}}}"
 
|limit=1000
 
|limit=1000
 
}}</includeonly><noinclude>Template to get Sega Retro average score:
 
}}</includeonly><noinclude>Template to get Sega Retro average score:
Line 12: Line 12:
 
{{GetNumberOfRatings|James "Buster" Douglas Knockout Boxing (Mega Drive)|MD}}
 
{{GetNumberOfRatings|James "Buster" Douglas Knockout Boxing (Mega Drive)|MD}}
  
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 13:20, 1 January 2022

Template to get Sega Retro average score:

{{GetNumberOfRatings|688 Attack Sub|MD}}

28

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

36