Difference between revisions of "Track"

From Sega Retro

Line 1: Line 1:
<div style="display:none">{{#if: {{{side|}}} | {{#vardefine:side|{{{side}}}}} {{#vardefine:num|1}} | }}
+
<includeonly>{{#if:{{{side|}}}|{{let|side={{#switch:{{{side|}}}|none=|{{{side|}}}}}|num=1}}}}{{#if:{{{track|}}}|{{let|num={{{track|}}}}}}}
{{#if: {{{num|}}} | {{#vardefine:num|{{{num}}}}} | }}
+
{| class="{{#if:{{{jp|}}}{{{cn|}}}{{{en|}}}{{{from|}}}{{{credits|}}}{{{composer|}}}{{{vocals|}}}{{{performed|}}}{{{arranger|}}}{{{remix|}}}|mw-collapsible mw-collapsed}}" style="width:auto; padding-left:20px; padding-top:0px; margin:2px; border:0px; background-color:transparent;"
{{#ifeq: {{#var:hidetimeall}} | 1 | {{#vardefine:hidetime|yes}} | }}
+
! style="font-weight:normal; padding:2px; text-align:left"| '''{{#var:side}}{{#var:num}}.''' {{#if:{{{artist|}}}|{{{artist|}}} &mdash; }} {{#switch:{{{1|}}}|data=''Data track''|{{{1|}}}}} {{#if:{{{time|}}}|({{{time|}}})}}
{{#if: {{{hidetime|}}} | {{#vardefine:hidetime|yes}} | }}</div>
 
{| class="{{#if: {{{jp|}}}{{{cn|}}}{{{en|}}}{{{from|}}}{{{artist|}}}{{{composer|}}}{{{vocals|}}}{{{performed|}}}{{{arranger|}}}{{{remix|}}} | mw-collapsible mw-collapsed | }}" style="width:auto; padding-left:20px; padding-top:0px; margin:2px; border:0px; background-color:transparent;"
 
! style="font-weight:normal; padding:2px; text-align:left"| {{#if: {{{num_replace|}}}| '''{{{num_replace}}}.''' | '''{{#var:side}}{{#var:num}}.'''}} {{#ifeq:{{{1}}}|data|(Data track)|{{{1}}}}} {{#ifeq: {{#var:hidetime}} | yes | | {{#ifeq:{{{1}}}|data||({{{time}}})&nbsp;}} }}
 
 
|-
 
|-
{{#if: {{{jp|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} <span style="background:pink; font-family:Courier; padding:2px;">'''JP:'''</span> {{{jp}}} | }}
+
{{#if:{{{jp|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} {{flag|JP|border=silver}} {{{jp|}}} }}
 
|-
 
|-
{{#if: {{{cn|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} <span style="background:salmon; font-family:Courier; padding:2px;">'''CN:'''</span> {{{cn}}} | }}
+
{{#if:{{{cn|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} {{flag|CN}} {{{cn|}}} }}
 
|-
 
|-
{{#if: {{{en|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} <span style="background:gold; font-family:Courier; padding:2px;">'''EN:'''</span> {{{en}}} | }}
+
{{#if:{{{en|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''EN:''' {{{en|}}} }}
 
|-
 
|-
{{#if: {{{from|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} '''From:''' {{{from}}} | }}
+
{{#if:{{{from|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''From:''' {{{from|}}} }}
 
|-
 
|-
{{#if: {{{artist|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} '''Artist:''' {{{artist}}} | }}
+
{{#if:{{{credits|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}}
 +
{{{credits|}}} }}
 
|-
 
|-
{{#if: {{{composer|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} '''Composed by:''' {{{composer}}} | }}
+
{{#if:{{{composer|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Composed by:''' {{{composer|}}} }}
 
|-
 
|-
{{#if: {{{vocals|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} '''Vocals:''' {{{vocals}}} | }}
+
{{#if:{{{vocals|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Vocals:''' {{{vocals|}}} }}
 
|-
 
|-
{{#if: {{{performed|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} '''Performed:''' {{{performed}}} | }}
+
{{#if:{{{arranger|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Arranged by:''' {{{arranger|}}} }}
 
|-
 
|-
{{#if: {{{arranger|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} '''Arranged by:''' {{{arranger}}} | }}
+
{{#if:{{{remix|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Remix by:''' {{{remix|}}} }}
 
|-
 
|-
{{#if: {{{remix|}}} | {{!}} class="breakout" style="padding: 0px 0px 0px 20px; font-size:80%" {{!}} '''Remix by:''' {{{remix}}} | }}
+
{{#if:{{{performed|}}}| {{!}}style="padding:0px 0px 0px 20px"{{!}} '''Performed:''' {{{performed|}}} }}
{{#if:{{{jp|}}}{{{cn|}}}{{{en|}}}{{{from|}}}{{{artist|}}}{{{composer|}}}{{{vocals|}}}{{{performed|}}}{{{arranger|}}}{{{remix|}}}|
+
|-
{{!}}-
+
|}{{#iferror:{{#expr:{{#var:num}}}}|{{let|num=1}}|{{incvar|num}}}}{{addvar|time|{{seconds|{{{time|0:00}}}}}}}</includeonly><noinclude>
{{!}}
+
{{tracklist|
|}}
+
{{multicol|
|}{{incvar|num}}{{addvar|time|{{seconds|{{{time|0:00}}}}}}}{{#vardefine:hidetime|no}}<noinclude>
+
{{track|test|artist=artist|time=1:23}}
 +
{{track|test2|time=4:56|en=english|jp=nihongo|cn=mandarin}}
 +
{{track|test3|side=X}}
 +
{{track|data}}
 +
{{track|test4|track=lol|side=none}}
 +
{{track|test|artist=artist|time=1:23|credits=
 +
* '''role:''' name
 +
* '''role2:''' name2}}
 +
}}
 +
}}
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 19:01, 17 June 2021

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