Difference between revisions of "RatingsRowSum"

From Sega Retro

Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{ #if: {{{2|}}} | {{!}}<span itemprop="author">{{{1}}}</span>{{addvar|cumulativeScore|{{{2}}}}}{{incvar|totalReviews}}
+
{{ #if: {{{2|}}} | {{!}}<span itemprop="author">{{{1}}}</span>{{addvar|cumulativeScore|{{#if:{{#var:starscore}}|{{#var:starscore}}|{{{2}}}}}}}{{incvar|totalReviews}}
 
{{!}} style="text-align:center; {{scoreColour|{{{2}}}}}" {{!}}<span itemprop="ratingValue">{{{2}}}</span>
 
{{!}} style="text-align:center; {{scoreColour|{{{2}}}}}" {{!}}<span itemprop="ratingValue">{{{2}}}</span>
 
{{!}} {{#if: {{{3|}}} | {{{3}}} | [[Category:Rating without source]] }}
 
{{!}} {{#if: {{{3|}}} | {{{3}}} | [[Category:Rating without source]] }}

Revision as of 14:45, 6 December 2018

See Template:Ratings for usage.