Difference between revisions of "GetDefaultRatingSystem"
From Sega Retro
(give it a few hours, and this might start working) |
|||
Line 2: | Line 2: | ||
table=magdefaultratingsystems | table=magdefaultratingsystems | ||
|fields=system | |fields=system | ||
− | |where=code="{{{1|}}}" | + | |where=code="{{{1|}}}" {{#if:{{{2|}}}|AND firstissue <= "{{{2}}}"|}} |
− | |limit= | + | |order by={{#if:{{{2|}}}|firstissue DESC}} |
+ | |limit=1 | ||
+ | |more results text= | ||
|default= | |default= | ||
|format=template | |format=template | ||
Line 14: | Line 16: | ||
<pre>{{GetDefaultRatingSystem|cvg}}</pre> | <pre>{{GetDefaultRatingSystem|cvg}}</pre> | ||
{{GetDefaultRatingSystem|cvg}} | {{GetDefaultRatingSystem|cvg}} | ||
+ | |||
+ | <pre>{{GetDefaultRatingSystem|cvg|173}}</pre> | ||
+ | {{GetDefaultRatingSystem|cvg|173}} | ||
+ | |||
+ | <pre>{{GetDefaultRatingSystem|cvg|174}}</pre> | ||
+ | {{GetDefaultRatingSystem|cvg|174}} | ||
[[Category:Sega Retro templates]]</noinclude> | [[Category:Sega Retro templates]]</noinclude> |
Revision as of 14:36, 8 May 2020
Quick templates to get the default rating system of a magazine.
e.g.
{{GetDefaultRatingSystem|cvg}}
0-10
{{GetDefaultRatingSystem|cvg|173}}
0-100
{{GetDefaultRatingSystem|cvg|174}}
0-100