Template:Infobox/doc: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
updating doc
correcting parameters in example, simplifying markup
 
Line 1: Line 1:
== Usage ==
== Usage ==
This template is a standard infobox template.  It is primarily used as a ''base'' template for other more customized infobox template.<br/>
This template is a standard infobox template.  It is primarily used as a ''base'' template for other more customized infobox template.
{| style="float: left; background: transparent;"
 
|
<pre style="float:left;">
<pre>{{Infobox
{{Infobox
| color = hex color code (optional, default black)
| color = hex color code (optional, default black)
| bgcolor = hex color code (optional, default grey)
| bgcolor = hex color code (optional, default grey)
Line 10: Line 10:
| image  =
| image  =
| caption =
| caption =
| header | value
| label1  = header | data1  = value
| header | value
| label2  = header | data2  = value
| header | value
| label3  = header | data3  = value
| header | value
| header | value
}}
| header | value
</pre>
| header | value
| header | value
| header | value
| header | value
| header | value
| header | value
}}</pre>
|}

Latest revision as of 03:47, 26 November 2015

Usage[edit source]

This template is a standard infobox template. It is primarily used as a base template for other more customized infobox template.

{{Infobox
| color = hex color code (optional, default black)
| bgcolor = hex color code (optional, default grey)
| type    =
| title   =
| image   =
| caption =
| label1  = header | data1  = value
| label2  = header | data2  = value
| label3  = header | data3  = value
⋮
}}