Difference between revisions of "StoreCreditsLine"

From Sega Retro

Line 4: Line 4:
 
| {{#vardefine:currentName|{{#explode:{{{nameList}}}|, |{{#var:j}}}}}}{{incvar|j}}
 
| {{#vardefine:currentName|{{#explode:{{{nameList}}}|, |{{#var:j}}}}}}{{incvar|j}}
 
{{#ifexpr:{{#len:{{#var:currentName}}}} > 2|
 
{{#ifexpr:{{#len:{{#var:currentName}}}} > 2|
 +
{{#ifeq:{{#sub:{{#var:currentName}}|0|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|}}}}}
 +
|}}
 
|}}
 
|}}
 
}}</div></includeonly><noinclude>[[Category:Sega Retro templates]]
 
}}</div></includeonly><noinclude>[[Category:Sega Retro templates]]

Revision as of 14:24, 8 November 2017


{{#while: | true | {{#ifexpr:4 > 2| {{#ifeq:Wo|[[|

|}} |}}

}}