Jump to content

Template:Infobox song/old: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><table class="infobox vevent" style="width: 20em;">
<includeonly><table class="infobox vevent" style="width: 20em;">
  <tr>
|-
    <th colspan="3" scope="col" class="summary" style="text-align: center; background: {{#ifeq:{{Template:Infobox song/color|{{{Type|}}}}}|khaki|{{Template:Infobox song/color}}|{{Template:Infobox song/color|{{{Type|}}}}}}};">{{#if:{{{Name|}}}|''{{{Name}}}''|Untitled}}</th>
! colspan="3" scope="col" style="background: {{Infobox song/color}};" | {{{Name}}}
  </tr>
|-
{{#ifeq:{{{Cover size|}}}|0||
| colspan="3" style="text-align: center;" | {{#if: {{{Cover|}}}
  <tr>
| [[Image:{{{Cover}}}|{{min|220|{{{Cover size|}}}}}px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{#if: {{{Caption|}}} | {{{Caption}}} | “{{{Name}}}cover}}]]}}
    <td colspan="3" style="text-align: center;">{{#if:{{{Cover|}}}|[[Image:{{{Cover}}}|{{min|200|{{{Cover size|}}}}}px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{{Name}}} cover]]
{{#if:{{{Caption|}}} | <div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
}}
}}
{{#if:{{{Caption|}}}|<div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
|-
! colspan="3" scope="col" style="background: {{Infobox song/color}};" | {{#if: {{{Type|}}} | {{{Type}}} | [[Song]]}} {{#if:{{{Artist|}}} | by {{{Artist}}}}}
|-
{{#if:{{{Album|}}} |
! scope="row" style="width: 5.2em; text-align: left;" {{!}} [[Album]]
{{!}} colspan="2" style="width: 14em;" {{!}} ''{{{Album}}}''
{{!-}}
}}
}}
    </td>
  </tr>
}}
  <tr>
    <th colspan="3" scope="col" class="description" style="text-align: center; background: {{#ifeq:{{Template:Infobox song/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox song/color|{{{Type|}}}}}}};">{{Template:Infobox album/link|{{{Type}}}}}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}</th>
  </tr>
{{#if:{{{Album|}}}|
   <tr>
   <tr>
     <th scope="row" style="width: 5.2em; text-align: left;">Album</th>
     <th scope="row" style="width: 5.2em; text-align: left;">Album</th>