Jump to content

Template:Infobox album: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 7: Line 7:
     <td colspan="3" style="text-align: center;">{{#if:{{{Cover|}}}|[[Image:{{{Cover}}}|{{min|200|{{{Cover size|}}}}}px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{{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}}}
{{#if:{{{Caption|}}}|<div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
}}
}}
     </td>
     </td>
   </tr>
   </tr>
}}
}}
  <tr>
     <th colspan="3" scope="col" class="description" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}}}}}};">{{Template:Infobox Album/link|{{{Type}}}}}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}
     <th colspan="3" scope="col" class="description" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}}}}}};">{{Template:Infobox Album/link|{{{Type}}}}}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}
   </tr>
   </tr>