Difference between revisions of "SongCredits/Cargo"

From Sega Retro

Line 1: Line 1:
{{#vardefine:newname|{{UnformatSQL|{{{1|}}}}}}}{{#vardefine:newtrack|{{UnformatSQL|{{{1|}}}}}}}{{#vardefine:newrole|{{UnformatSQL|{{{1|}}}}}}}{{
+
{{clearvar|showheader|showbullet|showrole|display}}
#ifeq:{{#var:newname}}|{{#var:oldname}}||<br/>
+
<div style="display:none;">
==={{#var:newname}} ({{#sub:{{{4|}}}|0|4}})===
+
{{#vardefine:newname|{{UnformatSQL|{{{1|}}}}}}}
}}
+
{{#vardefine:newtrack|{{UnformatSQL|{{{2|}}}}}}}this
{{#ifeq:{{#var:newtrack}}|{{#var:oldtrack}}|
+
{{#vardefine:newrole|{{UnformatSQL|{{{3|}}}}}}}should
, {{{3|}}}
+
{{#ifeq:{{#var:newname}}|{{#var:oldname}}||{{#vardefine:showheader|true}}}} be
|
+
{{#ifeq:{{#var:newtrack}}|{{#var:oldtrack}}||{{#vardefine:showbullet|true}}}} invisible
*'''{{{2|}}}:''' {{{3|}}}
+
{{#if:{{#var:newrole}}|{{#vardefine:showrole|true}}}}
}}{{#vardefine:oldname|{{#var:newname}}}}{{#vardefine:oldtrack|{{#var:newtrack}}}}{{#vardefine:oldrole|{{#var:newrole}}}}<noinclude>
+
</div>
 +
{{#vardefine:display|{{#if:{{#var:showheader}}|<br/>
 +
===''[[{{#var:newname}}]]'' ({{#sub:{{{4|}}}|0|4}})===
 +
|}}{{#if:{{#var:showbullet}}|*"{{#var:newtrack}}" {{#if:{{#var:showrole}}|— {{#var:newrole}}}}|{{#if:{{#var:showrole}}|, {{#var:newrole}}}}}}}}
 +
 
 +
{{#vardefine:oldname|{{#var:newname}}}}{{#vardefine:oldtrack|{{#var:newtrack}}}}{{#vardefine:oldrole|{{#var:newrole}}}}{{#var:display}}<noinclude>g
  
  

Revision as of 13:02, 29 November 2022

this should

be
invisible


g


Template:TrackTest