Template:Custombox
From A KoL Wiki
[edit]
{{Custombox}}
{|width="100%" cellspacing="0" style="font-family: Arial, Helvetica, sans-serif;color: white"
|- |align="center" cellpadding="4" bgcolor="{{{1}}}" style="font-style:bold;font-size: 16px;"| '''{{{2}}}''' |- |cellspacing="2" style="color: black;padding: 5px; border: 1px solid {{{1}}};font-size: 16px;"| {{{3}}}
|}Usage
{{custombox|color|header|text}} *place within a table cell
Example
Code
{|width="80%" align="center" |- |colspan="2"|{{custombox|blue|Example|This is an example of a blue box.}} |- |width="60%" valign="top"|{{custombox|red|Example|This is an example of a red box.}} |width="40%"|{{custombox|green|Example|This is an example of a green box. Notice the alignment on the red box.}} |}
Looks like
| |||||
|
|