Difference between revisions of "RatingsRowSum"

From Sega Retro

(an idea)
Line 2: Line 2:
 
{{ #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|}}} | {{#vardefine:thisIsARating|true}}{{{3}}}{{#vardefine:thisIsARating|false}} | [[Category:Rating without source]] }}
+
{{!}} {{#if: {{{3|}}} | {{#vardefine:thisIsARating|true}}{{{3}}} | [[Category:Rating without source]] }}
 
{{!}}-
 
{{!}}-
 
| }}
 
| }}

Revision as of 15:47, 4 October 2015

See Template:Ratings for usage.