Ero sivun ”Malline:Kappalelista” versioiden välillä

[arvioimaton versio][arvioimaton versio]
Poistettu sisältö Lisätty sisältö
Yartsa (keskustelu | muokkaukset)
Ei muokkausyhteenvetoa
Yartsa (keskustelu | muokkaukset)
Ei muokkausyhteenvetoa
Rivi 1:
<noinclude>
Ks. [[w:en:Template:Track listing|Track listing]] {{en}}. Tagit ovat samat siis kuin englanninkielisessä mallineessa.
Käyttö:...
 
<pre style="overflow:auto;">
{{Track listing
| collapsed =
| headline =
| extra_column =
| total_length =
 
| all_writing =
| all_lyrics =
| all_music =
 
| writing_credits =
| lyrics_credits =
| music_credits =
 
| title1 =
| note1 =
| writer1 =
| lyrics1 =
| music1 =
| extra1 =
| length1 =
 
| title2 =
| note2 =
| writer2 =
| lyrics2 =
| music2 =
| extra2 =
| length2 =
 
...
 
| title99 =
| note99 =
| writer99 =
| lyrics99 =
| music99 =
| extra99 =
| length99 =
}}
</pre>
 
[[Luokka:Musiikkimallineet|{{PAGENAME}}]]
</noinclude>
 
 
<onlyinclude>
{{#if: {{{all_writing|}}}|Kaikki kappaleet säv. ja san. {{{all_writing}}}.&nbsp;|{{#if: {{{all_lyrics|}}}|Kaikki kappaleet san. {{{all_lyrics}}}{{#if: {{{all_music|}}}|,|.}}&nbsp;}}{{#if: {{{all_music|}}}|{{#if: {{{all_lyrics|}}}|k|K}}aikki kappaleet säv.{{{all_music}}}.}}}}<div class="tracklist" style="margin: -1px 21em 0 0; {{#ifeq: {{{collapsed}}}|yes|border: #aaa 1px solid; padding: 3px|padding:4px}}"><table class="tracklist {{#ifeq: {{{collapsed}}}|yes|collapsible collapsed}}" cellpadding="0" style="width: 100%; border-width: 0px; border-collapse: collapse;">
{{#if:{{{headline|}}} |
Rivi 13 ⟶ 56:
{{#ifeq: {{{collapsed}}}|yes|
<tr>
<th class="tlheader" colspan="10" style="text-align: left; background-color: #fff">Track listingKappalelista</th>
</tr>
}}
Rivi 19 ⟶ 62:
<tr>
<th class="tlheader" style="width: 2em; padding-left: 10px; padding-right: 10px; text-align: right; background-color: #eee">Nro.</th>
<th class="tlheader" style="{{#switch: {{#expr: (0 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}} }} + {{#if:{{{extra_column|}}}|1|0}}) }} | 0 = width: 100%; | 1 = width: 60%; | 2 = width: 40%; | 3 = width: 30%;}} text-align: left; background-color: #eee">Nimi</th>{{ #ifeq: {{{writing_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#if:{{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%;}} text-align: left; background-color: #eee">Tekijä(t)</th>|{{ #ifeq: {{{lyrics_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{music_credits}}}|yes|1|0}} + {{#if:{{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee">Sanat</th>}}{{ #ifeq: {{{music_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#if:{{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee">Säveltäjä(t)Sävel</th>}}}}{{#if:{{{extra_column|}}}|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}}}})}} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee">{{{extra_column}}}</th>}}
<th class="tlheader" style="width: 4em; padding-right: 10px; text-align: right; background-color: #eee">Kesto</th>
</tr>
Rivi 126 ⟶ 169:
</tr>
}}</table></div>
<onlyinclude>