Difference between revisions of "Template:Dungeonbox"

m
m (Why the If template? Why not the parser function? I'm baffled.)
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:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF; font-size:110%; text-align: center;" | ''{{{title|{{PAGENAME}}}}}''
+
! colspan="2" style="background-color:#{{#if: {{{background|}}} | {{{background}}} | 9f3215}}; color:#FFFFFF; font-size:110%; text-align: center;" | ''{{{title|{{PAGENAME}}}}}''
 
|-
 
|-
! style="background-color:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF;" | First Seen
+
! style="background-color:#{{#if: {{{background|}}} | {{{background}}} | 9f3215}}; color:#FFFFFF;" | First Seen
 
| {{{launched}}}
 
| {{{launched}}}
 
|-
 
|-
! style="background-color:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF;" | Coordinates
+
! style="background-color:#{{#if: {{{background|}}} | {{{background}}} | 9f3215}}; color:#FFFFFF;" | Coordinates
 
| {{{coordinates}}}
 
| {{{coordinates}}}
 
|-
 
|-
! style="background-color:#{{If|{{{background|}}}|then={{{background}}}|else=9f3215}}; color:#FFFFFF;" | Facet
+
! style="background-color:#{{#if: {{{background|}}} | {{{background}}} | 9f3215}}; color:#FFFFFF;" | Facet
 
| {{{facet}}}
 
| {{{facet}}}
 
|}<noinclude>[[Category:UO Utility Templates]]</noinclude>
 
|}<noinclude>[[Category:UO Utility Templates]]</noinclude>

Revision as of 09:25, 23 October 2009

Dungeonbox
First Seen {{{launched}}}
Coordinates {{{coordinates}}}
Facet {{{facet}}}