Difference between revisions of "RatingsTest"

From Sega Retro

Line 22: Line 22:
 
}}
 
}}
  
{{#ifeq: {{#var: argtype}}|name|{{#ifeq: {{#var:argpubscore}}|null||{{#ifeq: {{#var:argpubsource}}|null|{{#vardefine: newrow|true}}|}}|}}}}
+
{{#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}}}}
Line 30: Line 30:
  
 
{{#ifeq: {{#var: newrow}}|true|
 
{{#ifeq: {{#var: newrow}}|true|
 +
{{#ifeq: {{#var: argpubname}}|null||
 +
{{#ifeq: {{#var: argpubscore}|null||
 
{{#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}}
 
|}}
 
|}}
 +
}}
 +
}}
 
}}
 
}}
  

Revision as of 10:50, 15 June 2016

Sega Retro Average 
{{#forargs:
Publication Score Source
key value







{{{{{icon}}}|L}} Division by zero.
Based on
0 review