Difference between revisions of "Ratings2/Cargo"

From Sega Retro

 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#vardefine:totalScore|{{#expr:{{#var:totalScore}}+{{{1|}}}}}}}{{#vardefine:numberOfRatings|{{#expr:{{#var:numberOfRatings}}+1}}}}
 
<includeonly>{{#vardefine:totalScore|{{#expr:{{#var:totalScore}}+{{{1|}}}}}}}{{#vardefine:numberOfRatings|{{#expr:{{#var:numberOfRatings}}+1}}}}
|{{MagazineName|{{{3|}}}}}
+
|{{#vardefine:ratingsDisplayName|{{MagazineName|{{{3|}}}}}}}{{#if:{{#var:ratingsDisplayName}}|{{#var:ratingsDisplayName}}|{{VideoName|{{{3|}}}}}}}
 
|{{{2|}}}
 
|{{{2|}}}
|
+
|style="padding:0px;"|
{|style="{{ScoreColour|{{{1|}}}}}; max-width:35px; margin:0px;" align="center"
+
{|style="max-width:35px; margin:0px;" align="center"
|style="text-align:center;"|{{#expr:{{{1|}}} round 0}}
+
|style="{{ScoreColour|{{{1|}}}}}; text-align:center;"|{{#expr:{{{1|}}} round 0}}
 
|}
 
|}
|{{magref|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
+
|style="padding:0px;"|{{#if:{{#var:ratingsDisplayName}}|{{magref|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|{{videoref|{{{3|}}}|{{{4|}}}|{{{5|}}}}}}}
 
|-</includeonly><noinclude>[[Category:Sega Retro templates]]</noinclude>
 
|-</includeonly><noinclude>[[Category:Sega Retro templates]]</noinclude>

Latest revision as of 10:57, 15 September 2020