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}}{{ |
− | + | #vardefine:newname|{{UnformatSQL|{{{1|}}}}}}}{{ | |
− | {{#vardefine:newname|{{UnformatSQL|{{{1|}}}}}}} | + | #vardefine:newtrack|{{UnformatSQL|{{{2|}}}}}}}{{ |
− | {{#vardefine:newtrack|{{UnformatSQL|{{{2|}}}}}}} | + | #vardefine:newrole|{{UnformatSQL|{{{3|}}}}}}}{{ |
− | {{#vardefine:newrole|{{UnformatSQL|{{{3|}}}}}}} | + | #ifeq:{{#var:newname}}|{{#var:oldname}}||{{#vardefine:showheader|true}}}}{{ |
− | {{#ifeq:{{#var:newname}}|{{#var:oldname}}||{{#vardefine:showheader|true}}}} | + | #ifeq:{{#var:newtrack}}|{{#var:oldtrack}}||{{#vardefine:showbullet|true}}}}{{ |
− | {{#ifeq:{{#var:newtrack}}|{{#var:oldtrack}}||{{#vardefine:showbullet|true}}}} | + | #if:{{#var:newrole}}|{{ |
− | {{# | + | #ifeq:{{#var:newrole}}|?||{{#vardefine:showrole|true}}}}}}{{ |
− | + | #vardefine:display| | |
− | {{#vardefine:display|{{#if:{{#var:showheader}}|<br/> | + | {{#if:{{#var:showheader}}|<br/><h3>''[[{{#var:newname}}]]'' ({{#sub:{{{4|}}}|0|4}})</h3>|}} |
− | + | {{#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> | ||
− | |||
{{TrackTest|Jun Senoue}} | {{TrackTest|Jun Senoue}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |