Changes

Jump to navigation Jump to search
2,364 bytes added ,  23:56, 16 January 2010
Created page with 'This template is used to create coloured text background. === Usage === <nowiki>{{divbox|color of box|Headtitle|Message}}</nowiki> == Example == <nowiki>{{divbox|purple|An ex…'
This template is used to create coloured text background.

=== Usage ===
<nowiki>{{divbox|color of box|Headtitle|Message}}</nowiki>

== Example ==
<nowiki>{{divbox|purple|An example|This is only an example of how this template works.}}</nowiki>

Writing this code will give you...
{{divbox|purple|An example|This is only an example of how this template works.}}

== Available styles ==
<div style="{{divstyleamber}}; width:5em; float:left; margin:.3em">amber</div>
<div style="{{divstyleblack}}; width:5em; float:left; margin:.3em">black</div>
<div style="{{divstylebloodred}}; width:5em; float:left; margin:.3em">bloodred</div>
<div style="{{divstyleblue}}; width:5em; float:left; margin:.3em">blue</div>
<div style="{{divstylebrown}}; width:5em; float:left; margin:.3em">brown</div>
<div style="{{divstyleforest}}; width:5em; float:left; margin:.3em">forest</div>
<div style="{{divstylegold}}; width:5em; float:left; margin:.3em">gold</div>
<div style="{{divstylegray}}; width:5em; float:left; margin:.3em">gray</div>
<div style="{{divstylegreen}}; width:5em; float:left; margin:.3em">green</div>
<div style="{{divstylenavy}}; width:5em; float:left; margin:.3em">navy</div>
<div style="{{divstylenone}}; width:5em; float:left; margin:.3em">none</div>
<div style="{{divstyleorange}}; width:5em; float:left; margin:.3em">orange</div>
<div style="{{divstyleplain}}; width:5em; float:left; margin:.3em">plain</div>
<div style="{{divstylepurple}}; width:5em; float:left; margin:.3em">purple</div>
<div style="{{divstylered}}; width:5em; float:left; margin:.3em">red</div>
<div style="{{divstylewhite}}; width:5em; float:left; margin:.3em">white</div>
<div style="{{divstyleyellow}}; width:5em; float:left; margin:.3em">yellow</div>
<div style="{{divstylefawn}}; width:5em; float:left; margin:.3em">fawn</div>
<div style="{{divstylegreenv}}; width:4em; float:left; margin:.3em">greenv</div>
<div style="{{divstylegrayh}}; width:5em; float:left; margin:.3em">grayh</div>
<div style="{{divstylett}}; width:5em; float:left; margin:.3em">tt</div>
<div style="{{divstylewordperfect}}; width:11.7em; float:left; margin:.3em">wordperfect</div>
{{-}}

== See also ==
* {{tl|divhide}} (for hiding things)


{{Mbox templates see also}}

<includeonly>
<!-- [[Category:Wikipedia formatting templates|Divbox]] -->
[[ar:قالب:صندوق]]
[[simple:Template:Box]]
</includeonly>
1,520

edits

Navigation menu