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}}
 
{{#ifeq:{{#sub:{{#var:currentName}}|0|2}}|[[|
 
{{#ifeq:{{#sub:{{#var:currentName}}|0|2}}|[[|
 +
{{#vardefine:splitName|{{#explode:{{#var:currentName}}|{{!}}|1}}}}
 +
{{#if:{{#var:splitName}}|{{#vardefine:currentName|[[{{#var:splitName}}}}|}}
 
{{#cargo_store:_table=credits|role={{{role}}}|name={{#var:currentName}}|game={{#titleparts:{{{game}}}}}|console={{{console|}}}|date={{{date|}}}|pdf={{{pdf|}}}|pdfpage={{{pdfpage|}}}}}
 
{{#cargo_store:_table=credits|role={{{role}}}|name={{#var:currentName}}|game={{#titleparts:{{{game}}}}}|console={{{console|}}}|date={{{date|}}}|pdf={{{pdf|}}}|pdfpage={{{pdfpage|}}}}}
 
|}}
 
|}}

Revision as of 15:49, 10 November 2017