Difference between revisions of "Track"
From Sega Retro
Line 11: | Line 11: | ||
|- | |- | ||
{{#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}}| | ||
+ | {{#while:|{{let|currentLine={{#explode:{{#var:allLines}}|*|{{#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}}}}}}{{StoreCreditsLine | ||
+ | | role={{#var:currentRole}} | ||
+ | | nameList={{#var:currentNames}} | ||
+ | | game={{PAGENAME}} | ||
+ | | track={{{1|}}} | ||
+ | | console={{#var:tracklistconsole}} | ||
+ | | date={{{date|}}} | ||
+ | | source={{{source|}}} | ||
+ | | pdf={{first|{{{pdf|}}}|{{{file|}}}|{{#var:tracklistpdf}}}} | ||
+ | | pdfpage={{first|{{{pdfpage|}}}|{{#var:tracklistpdfpage}}}} | ||
+ | }} | ||
+ | }}}} | ||
{{{credits|}}} }} | {{{credits|}}} }} | ||
|- | |- | ||
− | {{#if:{{{composer|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Composed by:''' {{{composer|}}} }} | + | {{#if:{{{composer|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Composed by:''' {{{composer|}}}[[Category:Track credits]] }} |
|- | |- | ||
− | {{#if:{{{vocals|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Vocals:''' {{{vocals|}}} }} | + | {{#if:{{{vocals|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Vocals:''' {{{vocals|}}}[[Category:Track credits]] }} |
|- | |- | ||
− | {{#if:{{{arranger|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Arranged by:''' {{{arranger|}}} }} | + | {{#if:{{{arranger|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Arranged by:''' {{{arranger|}}}[[Category:Track credits]] }} |
|- | |- | ||
{{#if:{{{remix|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Remix by:''' {{{remix|}}} }} | {{#if:{{{remix|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Remix by:''' {{{remix|}}} }} | ||
Line 23: | Line 39: | ||
{{#if:{{{performed|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Performed:''' {{{performed|}}} }} | {{#if:{{{performed|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Performed:''' {{{performed|}}} }} | ||
|- | |- | ||
− | |}{{#iferror:{{#expr:{{#var:num}}}}|{{let|num=1}}|{{incvar|num}}}}{{#if:{{{time|}}}|{{addvar|time|{{seconds|{{{time|}}}}}}}}}</includeonly><noinclude> | + | |}{{#iferror:{{#expr:{{#var:num}}}}|{{let|num=1}}|{{incvar|num}}}}{{#if:{{{time|}}}|{{addvar|time|{{seconds|{{{time|}}}}}}}}}{{#if:{{{artist|}}}|{{StoreCreditsLine |
+ | | role=Artist | ||
+ | | nameList={{{artist|}}} | ||
+ | | game={{PAGENAME}} | ||
+ | | track={{{1|}}} | ||
+ | | console={{#var:tracklistconsole}} | ||
+ | }}}}</includeonly><noinclude> | ||
+ | {{#cargo_declare: | ||
+ | _table=trackcredits | ||
+ | |role=Text | ||
+ | |name=Text | ||
+ | |game=Text | ||
+ | |track=Text | ||
+ | |console=Text | ||
+ | |date=Text | ||
+ | |source=Text | ||
+ | |pdf=Text | ||
+ | |pdfpage=Integer | ||
+ | }} | ||
==Track list== | ==Track list== | ||
{{tracklist| | {{tracklist| | ||
Line 31: | Line 65: | ||
{{track|data}} | {{track|data}} | ||
{{track|test4|track=lol|side=none|time=}} | {{track|test4|track=lol|side=none|time=}} | ||
− | {{track|test|artist= | + | {{track|test|artist=[[Cyberia]]|time=1:23|en=english|credits= |
− | * '''role:''' | + | * '''role:''' [[Streets of Rage]] |
− | * '''role2:''' | + | * '''role2:''' [[Darius Gaiden]]}} |
}} | }} | ||
[[Category:Sega Retro templates]]</noinclude> | [[Category:Sega Retro templates]]</noinclude> |
Revision as of 13:54, 2 July 2021
This template defines the table "trackcredits". View table.
Track list
1. artist — test (1:23) |
---|
2. test2 (4:56) |
---|
nihongo |
mandarin |
EN: english |
X1. test3 |
---|
X2. Data track |
---|
lol. test4 |
---|
1. Cyberia — test (1:23) |
---|
EN: english |
|
► Running time: 7:42