Difference between revisions of "SongCredits/Cargo"

From Sega Retro

(because apparently display:none doesn't work here for god knows what reason)
Line 1: Line 1:
{{clearvar|showheader|showbullet|showrole|display}}
+
{{clearvar|showheader|showbullet|showrole|display}}{{
<div style="display:none;">
+
#vardefine:newname|{{UnformatSQL|{{{1|}}}}}}}{{
{{#vardefine:newname|{{UnformatSQL|{{{1|}}}}}}}
+
#vardefine:newtrack|{{UnformatSQL|{{{2|}}}}}}}{{
{{#vardefine:newtrack|{{UnformatSQL|{{{2|}}}}}}}this
+
#vardefine:newrole|{{UnformatSQL|{{{3|}}}}}}}{{
{{#vardefine:newrole|{{UnformatSQL|{{{3|}}}}}}}should
+
#ifeq:{{#var:newname}}|{{#var:oldname}}||{{#vardefine:showheader|true}}}}{{
{{#ifeq:{{#var:newname}}|{{#var:oldname}}||{{#vardefine:showheader|true}}}} be
+
#ifeq:{{#var:newtrack}}|{{#var:oldtrack}}||{{#vardefine:showbullet|true}}}}{{
{{#ifeq:{{#var:newtrack}}|{{#var:oldtrack}}||{{#vardefine:showbullet|true}}}} invisible
+
#if:{{#var:newrole}}|{{
{{#if:{{#var:newrole}}|{{#vardefine:showrole|true}}}}
+
  #ifeq:{{#var:newrole}}|?||{{#vardefine:showrole|true}}}}}}{{
</div>
+
#vardefine:display|
{{#vardefine:display|{{#if:{{#var:showheader}}|<br/>
+
{{#if:{{#var:showheader}}|<br/><h3>''[[{{#var:newname}}]]'' ({{#sub:{{{4|}}}|0|4}})</h3>|}}
===''[[{{#var:newname}}]]'' ({{#sub:{{{4|}}}|0|4}})===
+
{{#if:{{#var:showbullet}}|*"{{#var:newtrack}}" {{#if:{{#var:showrole}}|— {{#var:newrole}}}}|{{#if:{{#var:showrole}}|, {{#var:newrole}}}}}}
|}}{{#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>
{{#vardefine:oldname|{{#var:newname}}}}{{#vardefine:oldtrack|{{#var:newtrack}}}}{{#vardefine:oldrole|{{#var:newrole}}}}{{#var:display}}<noinclude>g
 
 
 
  
 
{{TrackTest|Jun Senoue}}
 
{{TrackTest|Jun Senoue}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 13:47, 29 November 2022