Difference between revisions of "RatingsTest"

From Sega Retro

Line 12: Line 12:
 
!Source
 
!Source
 
|-
 
|-
 +
{{#vardefine:argtype|score}}
 
{{#forargs:
 
{{#forargs:
 
| key
 
| key
 
| value  
 
| value  
 
|
 
|
{{#ifeq: {{#var: key}}|icon||
+
{{#ifeq: {{#var: key}}|icon|{{#vardefine:argtype|icon}}|}}
 +
{{#ifeq: {{#sub:{{#var: key}}|{{#len:key}} - 7|7}}|_source|{{#vardefine:argtype|source}}|}}
  
{{#ifeq: {{#sub:{{#var: key}}|{{#len:key}} - 7|7}}|_source|
+
 
 +
{{#switch: {{#var: argtype}}
 +
| score=
 +
{{!}}NAME HERE: {{#var: key}}
 +
{{!}}SCORE HERE: {{#var: value}}
 +
| source=
 
{{!}}SOURCE HERE: {{#var: value}}
 
{{!}}SOURCE HERE: {{#var: value}}
 
{{!}}-
 
{{!}}-
|
+
| default: bork
{{!}}NAME HERE: {{#var: key}}{{!}}{{!}}SCORE HERE: {{#var: value}}
 
 
}}
 
}}
  
}}
 
 
}}
 
}}
  

Revision as of 05:06, 15 June 2016



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