Difference between revisions of "Template:Dungeonbox"

m
m (if/else template inclusion for background color.)
Line 1: Line 1:
 
{| class="infobox bordered" style="float: {{{align|right}}}; width:250; font-size: 90%; text-align: left;" cellspacing="0" cellpadding="3" border="1"
 
{| class="infobox bordered" style="float: {{{align|right}}}; width:250; font-size: 90%; text-align: left;" cellspacing="0" cellpadding="3" border="1"
! colspan="2" style="background-color:#9f3215; color:#FFFFFF; font-size:110%; text-align: center;" | ''{{{title|{{PAGENAME}}}}}''
+
! colspan="2" style="background-color:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF; font-size:110%; text-align: center;" | ''{{{title|{{PAGENAME}}}}}''
 
|-
 
|-
! style="background-color:#9f3215; color:#FFFFFF;" | First Seen
+
! style="background-color:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF;" | First Seen
 
| {{{launched}}}
 
| {{{launched}}}
 
|-
 
|-
! style="background-color:#9f3215; color:#FFFFFF;" | Coordinates
+
! style="background-color:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF;" | Coordinates
 
| {{{coordinates}}}
 
| {{{coordinates}}}
 
|-
 
|-
! style="background-color:#9f3215; color:#FFFFFF;" | Facet
+
! style="background-color:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF;" | Facet
 
| {{{facet}}}
 
| {{{facet}}}
 
|}
 
|}

Revision as of 05:57, 1 February 2007

colspan="2" style="background-color:#Template:If; color:#FFFFFF; font-size:110%; text-align: center;" | Dungeonbox
style="background-color:#Template:If; color:#FFFFFF;" | First Seen {{{launched}}}
style="background-color:#Template:If; color:#FFFFFF;" | Coordinates {{{coordinates}}}
style="background-color:#Template:If; color:#FFFFFF;" | Facet {{{facet}}}