Difference between revisions of "StoreCreditsLine"

From Sega Retro

(Undo revision 405908 by Black Squirrel (talk))
Line 3: Line 3:
 
| {{#ifexpr:{{#len:{{#var:currentName}}}} > 1|true|}}
 
| {{#ifexpr:{{#len:{{#var:currentName}}}} > 1|true|}}
 
| {{#vardefine:currentName|{{#explode:{{{nameList}}}|, |{{#var:j}}}}}}{{incvar|j}}
 
| {{#vardefine:currentName|{{#explode:{{{nameList}}}|, |{{#var:j}}}}}}{{incvar|j}}
{{#ifeq:{{#sub:{{#var:currentName}}|0|2}}|[[|
+
{{#ifexpr:{{#len:{{#var:currentName}}}} > 2|
 
{{#cargo_store:_table=credits|role={{{role}}}|name={{#var:currentName}}|game={{#titleparts:{{{game}}}}}|console={{{console|}}}|date={{{date|}}}}}
 
{{#cargo_store:_table=credits|role={{{role}}}|name={{#var:currentName}}|game={{#titleparts:{{{game}}}}}|console={{{console|}}}|date={{{date|}}}}}
 
|}}
 
|}}

Revision as of 14:33, 8 November 2017