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|[[{{#var:splitName}}}}|}}
+
{{#if:{{#var:splitName}}|{{#vardefine:currentName|<nowiki>[[</nowiki>{{#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:50, 10 November 2017