Difference between revisions of "StoreCreditsLine"
From Sega Retro
Line 5: | Line 5: | ||
{{#ifeq:{{#sub:{{#var:currentName}}|0|2}}|[[| | {{#ifeq:{{#sub:{{#var:currentName}}|0|2}}|[[| | ||
{{#vardefine:splitName|{{#explode:{{#var:currentName}}|{{!}}|1}}}} | {{#vardefine:splitName|{{#explode:{{#var:currentName}}|{{!}}|1}}}} | ||
− | {{#if:{{#var:splitName}}|{{#vardefine:currentName| | + | {{#if:{{#var:splitName}}|{{#vardefine:currentName|[[{{#sub:{{#var:splitName}}|-2}}]]}}|}} |
{{#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:52, 10 November 2017