27,905
edits
(didn't work, needs more testing first) Tag: Undo |
(2nd try) |
||
| Line 1: | Line 1: | ||
{{#if:{{{Previous track|}}}{{{Next track|}}}| | {{#if:{{{tracks|}}} | ||
| <includeonly>{{{{{|safesubst:}}}#invoke:Unsubst-infobox||$params=album,type,tracks|$extra=chronology,tracks|$indent=1|$flags=override|$B={{Infobox | |||
| child = yes | decat = yes | |||
| headerstyle = background: {{Template:Infobox album/color|{{{type|}}}}} | |||
| header2 = {{#if:{{{tracks|}}}|{{#if:{{{album|}}}{{{chronology|}}}|''{{{album|}}}{{{chronology|}}}'' track listing}} }} | |||
| rowcellstyle3 = {{#if:{{{tracks|}}}|text-align:left}} | |||
| data3 = {{{tracks|}}} | |||
}}{{#ifeq:{{Template:Infobox album/color|{{{type|}}}|Test}}|Test|[[Category:Song articles with infoboxes with non-standard extra track listings|{{PAGENAME}}]]}}{{#if:{{#invoke:String|match|1={{{type|}}}{{{tracks|}}}{{{album|}}}{{{chronology|}}}x|2=</?t[drh][ >]|nomatch=}}|[[Category:Music infoboxes with malformed table placement|T]]}}{{#if:{{{tracks|}}}||[[Category:Pages using extra track listing with no tracks]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using extra track listing with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Extra track listing]] with unknown parameter "_VALUE_"|ignoreblank=y| album | chronology | tracks | type }}}}</includeonly> | |||
| {{#if:{{{Previous track|}}}{{{Next track|}}}| | |||
<tr> | |||
</ | <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Album type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Album type|}}}}}}};">{{#if:{{{Track listing|}}}|{{{Track listing}}}|'''''[[{{{Album}}}]]'''''}}{{#ifeq:{{{Type|}}}|video| video}} track listing | ||
</ | </th> | ||
</tr> | |||
<tr> | |||
<td colspan="3"> | |||
<table cellspacing="0" cellpadding="0" width="100%" style="background: transparent;"> | |||
<tr style="text-align: center; font-size: 0.8em; line-height: 1.4em;"> | |||
<td style="width: 33%; text-align: center; vertical-align: top; padding: 0.2em 0.1em 0.2em 0;">{{{Previous track|}}}</td> | |||
<td style="width: 33%; text-align: center; vertical-align: top; padding: 0.2em 0.1em 0.2em 0.1em;">'''{{{This track|}}}'''</td> | |||
<td style="width: 33%; text-align: center; vertical-align: top; padding: 0.2em 0 0.2em 0.1em;">{{{Next track|}}}</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
}} | |||
}} | |||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||