Difference between revisions of "Template:Album"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
m
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: E32636;">{{#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||
Line 13: Line 13:
 
}}
 
}}
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" class="description" style="text-align: center; background: E32636;">Song{{#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|}}}}}}};">Song{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}</th>
 
   </tr>
 
   </tr>
 
{{#if:{{{Released|}}}|
 
{{#if:{{{Released|}}}|
Line 52: Line 52:
 
}}
 
}}
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" style="text-align: center; background: E32636;">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 58: Line 58:
 
{{#if:{{{Reviews|}}}|
 
{{#if:{{{Reviews|}}}|
 
   <tr>
 
   <tr>
     <th colspan="3" scope="col" style="text-align: center; background: E32636;">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>

Revision as of 02:08, 1 April 2009