Difference between revisions of "Template:Track listing/Track"

From Bronies.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><tr> <td class="track-listing__no">{{{1}}}.</td> <td>{{#if: {{{2|}}} | "{{{2}}}" | Untitled }}{{#if: {{{3|}}} | <small>({{{3}}})</small> }}</td> {{#if: {{{e...")
 
(Remove duplicate code. Add missing code. Feel a bit silly.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><tr>
+
<includeonly>{{#if: {{{2|}}}{{{3|}}}{{{4|}}} | <tr>
 
<td class="track-listing__no">{{{1}}}.</td>
 
<td class="track-listing__no">{{{1}}}.</td>
 
<td>{{#if: {{{2|}}}
 
<td>{{#if: {{{2|}}}
Line 5: Line 5:
 
   | Untitled
 
   | Untitled
 
}}{{#if: {{{3|}}}
 
}}{{#if: {{{3|}}}
   | <small>({{{3}}})</small>
+
   | &#32;<small>({{{3}}})</small>
 
}}</td>
 
}}</td>
 
{{#if: {{{extra_column|}}}
 
{{#if: {{{extra_column|}}}
Line 13: Line 13:
 
   }}</td>
 
   }}</td>
 
}}
 
}}
<td>{{#if: {{{4|}}}
+
<td class="track-listing__length">{{#if: {{{4|}}}
 
   | {{{4}}}
 
   | {{{4}}}
 
   | &nbsp;
 
   | &nbsp;
 
}}</td>
 
}}</td>
</tr></includeonly><noinclude>
+
</tr> }}</includeonly><noinclude>
 
{{documentation}}  
 
{{documentation}}  
 
</noinclude>
 
</noinclude>
 
<includeonly>{{ #if: {{{2|}}}{{{3|}}}{{{4|}}} | <tr style="background-color: {{{color}}};">
 
  <td style="padding-right: 10px; text-align: right; vertical-align: top;">{{{1}}}.</td>
 
  <td style="text-align: left; vertical-align: top;">{{ #if: {{{2|}}} | "{{{2}}}" | Untitled }} {{ #if: {{{3|}}} | <span style="font-size:85%;">({{{3}}})</span> | &nbsp; }}</td>{{ #ifeq: {{{writing_credits}}}|yes| <td style="vertical-align: top;">{{ #if: {{{7|}}} | {{{7}}}| &nbsp; }}</td>|{{ #ifeq: {{{lyrics_credits}}}|yes| <td style="vertical-align: top;">{{ #if: {{{5|}}} | {{{5}}} | &nbsp; }}</td>}}{{ #ifeq: {{{music_credits}}}|yes| <td style="vertical-align: top;">{{ #if: {{{6|}}} | {{{6}}} | &nbsp; }}</td>}}}}{{ #if: {{{extra_column|}}}| <td style="vertical-align: top;">{{ #if: {{{8|}}} | {{{8}}}| &nbsp; }}</td>}}
 
  <td style="padding-right: 10px; text-align: right; vertical-align: top;">{{ #if: {{{4|}}} | {{{4}}} | &nbsp; }}</td>
 
</tr>
 
}}
 

Latest revision as of 13:03, 6 October 2020

This documentation is transcluded from Template:Track listing/Track/doc and needs to be edited separately.

Template:Track listing/Track/doc