Difference between revisions of "MusicCreditsRow"

From Sega Retro

(Hex doesn't work with tables)
 
(18 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|}}}
 
|-
 
|-
{{StoreCreditsLine
+
{{rep|{{{credits|}}}|'''||**|*|var=allLines}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}|
| role=Test
+
{{#while:|{{let|currentLine={{#explode:{{{credits|}}}|*|{{#var:i}}}}}}{{#var:currentLine}}
| nameList={{{credits|}}}
+
| {{incvar|i}}{{clearvar|currentRole|currentNames}}
| game={{PAGENAME}}
+
{{#if:{{#pos:{{#var:currentLine}}|:}}|{{let|currentRole={{#explode:{{#var:currentLine}}|:|0}}|currentNames={{#explode:{{#var:currentLine}}|:|1}}}}
| track={{{name|}}}
+
|{{let|currentNames={{#var:currentLine}}}}}}
| console=MD
+
{{#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=
 
| date=
 
| source=
 
| source=
 
| pdf=
 
| pdf=
 
| pdfpage=
 
| pdfpage=
}}<noinclude>[[Category:Templates]]</noinclude>
+
}}{{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;"| |-