Template:Infobox: Difference between revisions

From Dragon Quest Wiki
m (Added category)
mNo edit summary
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="5" style="font-size:88%; text-align:left; width:22em; line-height:1.5em;"
{| 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:#DEDEE2;" colspan="2" | {{{type}}}
! style="font-size:110%;text-align:center;background:#{{#if: {{{bgcolor|}}} | {{{bgcolor}}} | DEDEDE}};" colspan="2" | {{{type}}}
|-  
|-  
! colspan="2" style="font-size:125%;text-align:center;"| {{{title}}}
! colspan="2" style="font-size:125%;text-align:center;"| {{{title}}}
Line 137: Line 137:


== Usage ==
== Usage ==
bgcolor is the bckground 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;"
|  
|  
<pre>{{Infobox
<pre>{{Infobox
| bgcolor = HTML color value (optional)
| type    =
| type    =
| title  =
| title  =
Line 158: Line 160:
}}</pre>
}}</pre>
|}
|}
[[Category:Infobox templates]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 14:20, 30 July 2010

{{{type}}}
{{{title}}}


Usage

bgcolor is the bckground 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
}}