Difference between revisions of "RatingsTest"
From Sega Retro
Line 1: | Line 1: | ||
− | {{#vardefine:totalReviews|0}}{{#vardefine:cumulativeScore|0 | + | {{#vardefine:totalReviews|0}}{{#vardefine:cumulativeScore|0}} |
{|cellpadding="0" cellspacing="0" class="breakout mw-collapsible mw-collapsed" style="width:auto !important; max-width: 320px; float: right; margin-left: 0px; display: inline; position: relative;" | {|cellpadding="0" cellspacing="0" class="breakout mw-collapsible mw-collapsed" style="width:auto !important; max-width: 320px; float: right; margin-left: 0px; display: inline; position: relative;" | ||
!style="height:39px;" |Sega Retro Average | !style="height:39px;" |Sega Retro Average | ||
Line 15: | Line 15: | ||
| | | | ||
<span style="display:none;"> | <span style="display:none;"> | ||
− | |||
{{#vardefine:argtype|score}} | {{#vardefine:argtype|score}} | ||
{{#ifeq: {{#var: key}}|icon|{{#vardefine:argtype|icon}}|}} | {{#ifeq: {{#var: key}}|icon|{{#vardefine:argtype|icon}}|}} | ||
{{#ifexpr: {{#len: {{#var: key}} > 7 | | {{#ifexpr: {{#len: {{#var: key}} > 7 | | ||
− | {{#ifeq: {{#sub:{{#var: key}}|-7}}|_source|{{#vardefine:argtype|source | + | {{#ifeq: {{#sub:{{#var: key}}|-7}}|_source|{{#vardefine:argtype|source}} | }} |
}} | }} | ||
}} | }} | ||
Line 26: | Line 25: | ||
{{#vardefine:magnamelong|{{MagazineName|{{#var: argpubname}}|0|noissuename=yes|nopubdate=yes}}}} | {{#vardefine:magnamelong|{{MagazineName|{{#var: argpubname}}|0|noissuename=yes|nopubdate=yes}}}} | ||
</span> | </span> | ||
− | {{RatingsRowSum|{{#var: magnamelong}}|{{#var: argpubscore}}| | + | {{RatingsRowSum|{{#var: magnamelong}}|{{#var: argpubscore}}|{{#var: argpubsource}}}} |
{{#vardefine:argpubname|null}}{{#vardefine:argpubscore|null}}{{#vardefine:argpubsource|null}}|}} | {{#vardefine:argpubname|null}}{{#vardefine:argpubscore|null}}{{#vardefine:argpubsource|null}}|}} | ||
}} | }} | ||
Line 43: | Line 42: | ||
|colspan="2" style="padding:2px; text-align:center; line-height:initial" | <small>Based on<br>'''{{#var: totalReviews}}''' review{{#ifexpr: {{#var: totalReviews}} > 1|s| }}</small> | |colspan="2" style="padding:2px; text-align:center; line-height:initial" | <small>Based on<br>'''{{#var: totalReviews}}''' review{{#ifexpr: {{#var: totalReviews}} > 1|s| }}</small> | ||
|} | |} | ||
− | |||
− | |||
− | |||
<noinclude>[[Category:Breakout box templates]]</noinclude> | <noinclude>[[Category:Breakout box templates]]</noinclude> |
Revision as of 10:07, 15 June 2016
Sega Retro Average | |||
---|---|---|---|
|
{{{{{icon}}}|L}} | Division by zero. |
---|---|
Based on 0 review |