Difference between revisions of "RatingsTest"
From Sega Retro
Line 5: | Line 5: | ||
| style="padding: 0px;"| | | style="padding: 0px;"| | ||
{| class="breakout" width="100%" style="margin: 0px; border:0px;" | {| class="breakout" width="100%" style="margin: 0px; border:0px;" | ||
− | !Publication | + | !class="sortable"|Publication |
− | !Score | + | !class="sortable"|Score |
!Source | !Source | ||
|- | |- | ||
Line 16: | Line 16: | ||
<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}}|{{#vardefine:argtype|name}}}} |
}} | }} | ||
}} | }} | ||
+ | }} | ||
+ | |||
+ | {{#ifeq: {{#var: argtype}}|name|{{#ifeq: {{#var:argpubscore}}|null|{{RatingsRowSum|{{#var: magnamelong}}|{{#var: argpubscore}}|{{#var: argpubsource}}}}|}} | ||
{{#ifeq: {{#var: argtype}}|score|{{#vardefine:argpubname|{{#var: key}}}}{{#vardefine:argpubscore|{{#var: value}}}}|}} | {{#ifeq: {{#var: argtype}}|score|{{#vardefine:argpubname|{{#var: key}}}}{{#vardefine:argpubscore|{{#var: value}}}}|}} | ||
{{#ifeq: {{#var: argtype}}|source|{{#vardefine:argpubsource|{{#var: value}}}} | {{#ifeq: {{#var: argtype}}|source|{{#vardefine:argpubsource|{{#var: value}}}} | ||
+ | |||
{{#vardefine:magnamelong|{{MagazineName|{{#var: argpubname}}|0|noissuename=yes|nopubdate=yes}}}} | {{#vardefine:magnamelong|{{MagazineName|{{#var: argpubname}}|0|noissuename=yes|nopubdate=yes}}}} | ||
</span> | </span> |
Revision as of 10:34, 15 June 2016
Sega Retro Average | |||||||||
---|---|---|---|---|---|---|---|---|---|
{{#forargs:
|
{{{{{icon}}}|L}} | Expression error: Unexpected < operator. |
---|---|
Based on 1 review |