Difference between revisions of "Track"

From Sega Retro

(going to need to rethink this)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
{{#if:{{{credits|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}}
 
{{#if:{{{credits|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}}
 
{{rep|{{{credits|}}}|'''||**|*|var=allLines}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}|
 
{{rep|{{{credits|}}}|'''||**|*|var=allLines}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}|
{{#while:|{{let|currentLine={{ParseRolloverText|{{#explode:{{#var:allLines}}|*|{{#var:i}}}}}}}}{{#var:currentLine}}
+
{{#while:|{{let|currentLine={{#explode:{{#var:allLines}}|*|{{#var:i}}}}}}{{#var:currentLine}}
 
| {{incvar|i}}{{clearvar|currentRole|currentNames}}
 
| {{incvar|i}}{{clearvar|currentRole|currentNames}}
{{#if:{{#pos:{{#var:currentLine}}|:}}|{{let|currentRole={{#explode:{{ParseRolloverText|{{#var:currentLine}}}}|:|0}}|currentNames={{#explode:{{#replace:{{#var:currentline}}|style="border-bottom: 1px dotted #2BA6CB; padding-bottom: 1px;|}}|:|1}}}}
+
{{#if:{{#pos:{{#var:currentLine}}|:}}|{{let|currentRole={{#explode:{{#var:currentLine}}|:|0}}|currentNames={{#explode:{{#var:currentLine}}|:|1}}}}
 
|{{let|currentNames={{#var:currentLine}}}}}}{{StoreCreditsLine
 
|{{let|currentNames={{#var:currentLine}}}}}}{{StoreCreditsLine
 
| role={{#var:currentRole}} {{#if:{{#var:lastcreditsheader}}|({{#var:lastcreditsheader}})|}}
 
| role={{#var:currentRole}} {{#if:{{#var:lastcreditsheader}}|({{#var:lastcreditsheader}})|}}

Latest revision as of 16:08, 17 December 2022

This template defines the table "trackcredits". View table.

Track list

1. artist — test (1:23) 
2. test2 (4:56) 
Japan nihongo
China mandarin
EN: english
X1. test3  
X2. Data track  
lol. test4  
1. Cyberia — test (1:23) 
EN: english
Running time: 7:42

Formatting checks

1. artist — test (1:23) 
header
2. artist — test (1:23) 
  • does it line up
3. artist — test (1:23) 
  • without looking too dumb
Running time: 4:09