「Template:Tracklist」の版間の差分

削除された内容 追加された内容
編集の要約なし
m編集の要約なし
1行目:
<includeonly>{{#if: {{{all_writing|}}}|<small>全作詞・作曲: {{{all_writing}}}</small>&nbsp;|{{#if: {{{all_lyrics|}}}|<small>全作詞: {{{all_lyrics||}}}}}</small>{{#if: {{{all_music|}}}&nbsp;}}{{#if: {{{all_music|}}}|{{#if: {{{all_lyrics|}}}||}}<small> 全作曲: {{{all_music}}}</small>}}}}<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|}}} |
<tr>
12行目:
<tr>
<th class="tlheader" style="width: 2em; padding-left: 10px; padding-right: 10px; text-align: right; background-color: #eee; font-size: 90%;">#</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; font-size: 90%; background-color: #eee;">タイトル</th>{{ #ifeq: {{{writing_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#if:{{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%;}} text-align: left; font-size: 90%; background-color: #eee;">作詞・作曲</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; font-size: 90%; background-color: #eee;">作詞</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; font-size: 90%; background-color: #eee"> 作曲</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; font-size: 90%; background-color: #eee">{{{extra_column}}}</th>}}
<th class="tlheader" style="width: 4em; padding-right: 10px; text-align: right; font-size: 90%; white-space: nowrap; background-color: #eee">時間</th>
</tr>