Template:Infobox: Difference between revisions

From Dragon Quest Wiki
m (added doc)
m (minor clean up)
Line 1: Line 1:
{| class="infobox" cellspacing="5" style="font-size:88%; text-align:left; width:22em; line-height:1.5em;"
<includeonly><onlyinclude>{| class="infobox" cellspacing="5" style="font-size:88%; text-align:left; width:22em; line-height:1.5em;"
|-  
|-  
! style="font-size:110%;text-align:center;background:#{{#if: {{{bgcolor|}}} | {{{bgcolor}}} | DEDEDE}};" colspan="2" | {{{type}}}
! style="font-size:110%;text-align:center;background:#{{#if: {{{bgcolor|}}} | {{{bgcolor}}} | DEDEDE}};" colspan="2" | {{{type}}}
Line 133: Line 133:
{{!}} {{{data25}}}
{{!}} {{{data25}}}
}}
}}
|}
|}</onlyinclude></includeonly><noinclude>
<noinclude>
 
== Usage ==
== Usage ==
This template is a standard infobox template.  It is primarily used as a ''base'' template for other more customized infobox template.
This template is a standard infobox template.  It is primarily used as a ''base'' template for other more customized infobox template.<br/>
bgcolor is the background color of the area where ''type'' is. bgcolor uses HTML color code, if none is entered, by default it is '''DEDEDE''' (light grey).
bgcolor is the background color of the area where ''type'' is. bgcolor uses HTML color code, if none is entered, by default it is '''DEDEDE''' (light grey).
{| style="float: left; background: transparent;"
{| style="float: left; background: transparent;"

Revision as of 10:11, 22 October 2010

Usage

This template is a standard infobox template. It is primarily used as a base template for other more customized infobox template.
bgcolor is the background color of the area where type is. bgcolor uses HTML color code, if none is entered, by default it is DEDEDE (light grey).

{{Infobox
| bgcolor = HTML color value (optional)
| type    =
| title   =
| image   =
| caption =
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
}}