Template:Infobox/doc: Difference between revisions

Created page with "== Usage == 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..."
 
correcting parameters in example, simplifying markup
 
(One intermediate revision by one other user not shown)
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.
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;"
<pre style="float:left;">
|
{{Infobox
<pre>{{Infobox
| color = hex color code (optional, default black)
| bgcolor = HTML color value (optional)
| bgcolor = hex color code (optional, default grey)
| type    =
| type    =
| title  =
| title  =
| 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>
|}