Difference between revisions of "StoreCreditsLine"

From Sega Retro

Line 10: Line 10:
 
{{#if:{{#var:splitName}}|{{#vardefine:currentName|{{#var:splitName}}}}}}
 
{{#if:{{#var:splitName}}|{{#vardefine:currentName|{{#var:splitName}}}}}}
 
}}
 
}}
{{#cargo_store:_table=credits|role={{FormatSQL|{{{role|}}}}}|name={{FormatSQL|{{#var:currentName}}}}|game={{FormatSQL|{{#titleparts:{{{game|}}}}}}}|console={{{console|}}}|date={{{date|}}}|source={{{source|}}}|pdf={{{pdf|}}}|pdfpage={{{pdfpage|}}}}}
+
{{#if:{{{track|}}}
 +
|{{#cargo_store:_table=credits|role={{FormatSQL|{{{role|}}}}}|name={{FormatSQL|{{#var:currentName}}}}|game={{FormatSQL|{{#titleparts:{{{game|}}}}}}}|console={{{console|}}}|date={{{date|}}}|source={{{source|}}}|pdf={{{pdf|}}}|pdfpage={{{pdfpage|}}}}}
 +
|{{#cargo_store:_table=trackcredits|role={{FormatSQL|{{{role|}}}}}|name={{FormatSQL|{{#var:currentName}}}}|game={{FormatSQL|{{#titleparts:{{{game|}}}}}}}|console={{{console|}}}|date={{{date|}}}|source={{{source|}}}|pdf={{{pdf|}}}|pdfpage={{{pdfpage|}}}|track={{FormatSQL|{{{track|}}}}}}}
 +
}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
[[Category:Sega Retro templates]]
 
[[Category:Sega Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:29, 30 June 2021