Difference between revisions of "Ratings2/Cargo"

From Sega Retro

 
(One intermediate revision 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="padding:0px;"|
Line 6: Line 6:
 
|style="{{ScoreColour|{{{1|}}}}}; text-align:center;"|{{#expr:{{{1|}}} round 0}}
 
|style="{{ScoreColour|{{{1|}}}}}; text-align:center;"|{{#expr:{{{1|}}} round 0}}
 
|}
 
|}
|style="padding:0px;"|{{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 11:57, 15 September 2020