Difference between revisions of "Template:Album"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
m
(Undo revision 17998 by Vixen Windstorm (Talk))
Line 1: Line 1:
 
<includeonly><table class="infobox vevent" style="width: 20em; border: 1px solid #a6a6a6; float:right; margin: 0 0 20px 20px; vertical-align: top;">
 
<includeonly><table class="infobox vevent" style="width: 20em; border: 1px solid #a6a6a6; float:right; margin: 0 0 20px 20px; vertical-align: top;">
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" class="summary" style="text-align: center; background: 9999FF;">{{#if:{{{Name|}}}|''{{{Name}}}''|Untitled}}</th>
+
     <th colspan="3" scope="col" class="summary" style="text-align: center; background: {{#ifeq:{{Template:Album/color|{{{Type|}}}}}|khaki|{{Template:Album/color}}|{{Template:Album/color|{{{Type|}}}}}}};">{{#if:{{{Name|}}}|''{{{Name}}}''|Untitled}}</th>
 
   </tr>
 
   </tr>
 
{{#ifeq:{{{Cover size|}}}|0||
 
{{#ifeq:{{{Cover size|}}}|0||
 
   <tr>
 
   <tr>
     <td colspan="3" style="text-align: center;">{{#if:{{{Image|}}}|[[Image:{{{Image}}}|200px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{{Name}}} cover]]
+
     <td colspan="3" style="text-align: center;">{{#if:{{{Cover|}}}|[[Image:{{{Cover}}}|200px|{{#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>
Line 13: Line 13:
 
}}
 
}}
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" class="description" style="text-align: center; background: 9999FF;">{{Template:Album/link|{{{Type}}}}}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}</th>
+
     <th colspan="3" scope="col" class="description" style="text-align: center; background: {{#ifeq:{{Template:Album/color|{{{Type|}}}}}|khaki|{{Template:Album/color}}|{{Template:Album/color|{{{Type|}}}}}}};">{{Template:Album/link|{{{Type}}}}}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}</th>
 
   </tr>
 
   </tr>
 
{{#if:{{{Released|}}}|
 
{{#if:{{{Released|}}}|
Line 72: Line 72:
 
}}
 
}}
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" style="text-align: center; background: 9999FF;">Media</th>
+
     <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Album/color|{{{Type|}}}}}|khaki|{{Template:Album/color}}|{{Template:Album/color|{{{Type|}}}}}}};">Media</th>
 
   </tr>
 
   </tr>
 
<tr>     
 
<tr>     
Line 78: Line 78:
 
{{#if:{{{Reviews|}}}|
 
{{#if:{{{Reviews|}}}|
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" style="text-align: center; background: 9999FF;">Professional reviews</th>
+
     <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Album/color|{{{Type|}}}}}|khaki|{{Template:Album/color}}|{{Template:Album/color|{{{Type|}}}}}}};">Professional reviews</th>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
Line 88: Line 88:
 
{{#if:{{{Last album|}}}{{{Next album|}}}|
 
{{#if:{{{Last album|}}}{{{Next album|}}}|
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" style="text-align: center; background: 9999FF;">{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Type|}}}|video|&#32;video}}&#32;chronology</th>
+
     <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Album/color|{{{Type|}}}}}|khaki|{{Template:Album/color}}|{{Template:Album/color|{{{Type|}}}}}}};">{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Type|}}}|video|&#32;video}}&#32;chronology</th>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>

Revision as of 23:07, 4 May 2009