Difference between revisions of "Track"

From Sega Retro

(going to need to rethink this)
 
(4 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
{{#if:{{#pos:{{#var:currentLine}}|:}}|{{let|currentRole={{#explode:{{#var:currentLine}}|:|0}}|currentNames={{#explode:{{#var:currentLine}}|:|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}}
+
| role={{#var:currentRole}} {{#if:{{#var:lastcreditsheader}}|({{#var:lastcreditsheader}})|}}
 
| nameList={{#var:currentNames}}
 
| nameList={{#var:currentNames}}
 
| game={{PAGENAME}}
 
| game={{PAGENAME}}
Line 41: Line 41:
 
|-
 
|-
 
|}{{#iferror:{{#expr:{{#var:num}}}}|{{let|num=1}}|{{incvar|num}}}}{{#if:{{{time|}}}|{{addvar|time|{{seconds|{{{time|}}}}}}}}}{{#if:{{{artist|}}}|{{StoreCreditsLine
 
|}{{#iferror:{{#expr:{{#var:num}}}}|{{let|num=1}}|{{incvar|num}}}}{{#if:{{{time|}}}|{{addvar|time|{{seconds|{{{time|}}}}}}}}}{{#if:{{{artist|}}}|{{StoreCreditsLine
| role=Artist
+
| role=Artist {{#if:{{#var:lastcreditsheader}}|({{#var:lastcreditsheader}})|}}
 
| nameList={{{artist|}}}
 
| nameList={{{artist|}}}
 
| game={{PAGENAME}}
 
| game={{PAGENAME}}

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