Difference between revisions of "RatingsTest"
From Sega Retro
Line 9: | Line 9: | ||
!Source | !Source | ||
|- | |- | ||
− | {{#vardefine:argpubname|null}}{{#vardefine:argpubscore|null}}{{#vardefine:argpubsource|null}} | + | {{#vardefine:argpubname|null}}{{#vardefine:argpubscore|null}}{{#vardefine:argpubsource|null}}{{#vardefine: newrow|false}} |
{{#forargs: | {{#forargs: | ||
| key | | key | ||
Line 22: | Line 22: | ||
}} | }} | ||
− | {{#ifeq: {{#var: argtype}}|name|{{#ifeq: {{#var:argpubsource}}|null| | + | {{#ifeq: {{#var: argtype}}|name|{{#ifeq: {{#var:argpubsource}}|null|{{#vardefine: newrow|true}}|}}|}} |
{{#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: newrow|true}} | ||
+ | |}} | ||
+ | </span> | ||
+ | {{#ifeq: {{#var: newrow}}|true| | ||
{{#vardefine:magnamelong|{{MagazineName|{{#var: argpubname}}|0|noissuename=yes|nopubdate=yes}}}} | {{#vardefine:magnamelong|{{MagazineName|{{#var: argpubname}}|0|noissuename=yes|nopubdate=yes}}}} | ||
− | |||
{{RatingsRowSum|{{#var: magnamelong}}|{{#var: argpubscore}}|{{#var: argpubsource}}}} | {{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}} |
+ | |}} | ||
}} | }} | ||
+ | |||
+ | |||
<!-- Calculate average --> | <!-- Calculate average --> |
Revision as of 10:45, 15 June 2016
Sega Retro Average | |||
---|---|---|---|
|
{{{{{icon}}}|L}} | Division by zero. |
---|---|
Based on 0 review |