Difference between revisions of "MusicCreditsRow"
From Sega Retro
(Created page with "|{{{ID|}}} |{{{name|}}} |{{{desc|}}} |{{{credits|}}} |{{#ifeq:{{{used|}}}|no|{{no}}|{{yes}}}} |{{{comments|}}} |-<noinclude>Category:Templates</noinclude>") |
(Hex doesn't work with tables) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |{{{ID|}}} | + | {{#if:{{#var:noid}}||{{!}}style="vertical-align:top;"{{!}}<tt>{{{ID|}}}{{{id|}}}</tt>}} |
− | |{{{name|}}} | + | {{#if:{{#var:noname}}||{{!}}style="vertical-align:top;"{{!}}{{{name|}}}}} |
− | |{{{desc|}}} | + | |style="vertical-align:top;"|{{{desc|}}} |
− | |{{{credits|}}} | + | |style="vertical-align:top;"| |
+ | {{{credits|}}} | ||
|{{#ifeq:{{{used|}}}|no|{{no}}|{{yes}}}} | |{{#ifeq:{{{used|}}}|no|{{no}}|{{yes}}}} | ||
− | |{{{comments|}}} | + | |style="vertical-align:top;"|{{{comments|}}} |
− | |-<noinclude>[[Category:Templates]]</noinclude> | + | |- |
+ | {{rep|{{{credits|}}}|'''||**|*|var=allLines}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}| | ||
+ | {{#while:|{{let|currentLine={{#explode:{{{credits|}}}|*|{{#var:i}}}}}}{{#var:currentLine}} | ||
+ | | {{incvar|i}}{{clearvar|currentRole|currentNames}} | ||
+ | {{#if:{{#pos:{{#var:currentLine}}|:}}|{{let|currentRole={{#explode:{{#var:currentLine}}|:|0}}|currentNames={{#explode:{{#var:currentLine}}|:|1}}}} | ||
+ | |{{let|currentNames={{#var:currentLine}}}}}} | ||
+ | {{#vardefine:k|0}}{{#while: | ||
+ | | {{#if:{{#explode:{{#var:format}}|,|{{#var:k}}}}|true}} | ||
+ | | {{#vardefine:currentformat|{{#explode:{{#var:format}}|,|{{#var:k}}}}}}{{StoreCreditsLine | ||
+ | | role={{#replace:{{#var:currentRole}}|'''|}} | ||
+ | | nameList={{#var:currentNames}} | ||
+ | | game={{#replace:{{#titleparts:{{PAGENAME}}}}|/Production credits|}} | ||
+ | | track={{#if:{{{name|}}}|{{{name|}}}|{{{desc|}}}}} | ||
+ | | console={{#var:currentformat}} | ||
+ | | date= | ||
+ | | source= | ||
+ | | pdf= | ||
+ | | pdfpage= | ||
+ | }}{{incvar|k}}}} | ||
+ | }}}}<noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 12:04, 21 April 2023
|style="vertical-align:top;"| |style="vertical-align:top;"| |style="vertical-align:top;"| |style="vertical-align:top;"|
|style="background: #90ff90; " class="table-yes" | Yes |style="vertical-align:top;"| |-