Difference between revisions of "StoreCreditsLine"

From Sega Retro

 
(2 intermediate revisions by one other user not shown)
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=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|}}}}}}}
 +
|{{#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|}}}}}
 +
}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
[[Category:Sega Retro templates]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:04, 1 January 2022