Difference between revisions of "RatingsTest"

From Sega Retro

Line 17: Line 17:
 
{{#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}}|{{#vardefine:argtype|name}}}}
 
{{#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}}|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}}}}

Revision as of 10:36, 15 June 2016

Sega Retro Average 
Publication Score Source
{{{{{icon}}}|L}} Division by zero.
Based on
0 review