Difference between revisions of "RatingsRowSum"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:thisIsARating| | + | <includeonly>{{#vardefine:thisIsARating|true}} |
{{ #if: {{{2|}}} | {{!}}<span itemprop="author">{{{1}}}</span>{{addvar|cumulativeScore|{{{2}}}}}{{incvar|totalReviews}} | {{ #if: {{{2|}}} | {{!}}<span itemprop="author">{{{1}}}</span>{{addvar|cumulativeScore|{{{2}}}}}{{incvar|totalReviews}} | ||
{{!}}style="padding-left:5px; text-align:center; {{scoreColour|{{{2}}}}}" width="20px" {{!}}<span itemprop="ratingValue">{{{2}}}</span> | {{!}}style="padding-left:5px; text-align:center; {{scoreColour|{{{2}}}}}" width="20px" {{!}}<span itemprop="ratingValue">{{{2}}}</span> | ||
− | {{!}} {{#if: {{{3|}}} | | + | {{!}} {{#if: {{{3|}}} | {{{3}}} | [[Category:Rating without source]] }} |
{{!}}- | {{!}}- | ||
| }} | | }} |
Revision as of 15:51, 4 October 2015
See Template:Ratings for usage.