Template:Divbox/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (→‎Available styles: adding tt and wordperfect)
m (At the page "Template:Divbox", green color can't be shown on the same background color.)
Line 3: Line 3:
=== Usage ===
=== Usage ===
  <nowiki>{{divbox|color of box|Headtitle|Message}}</nowiki>
  <nowiki>{{divbox|color of box|Headtitle|Message}}</nowiki>
==Example==
 
  <nowiki>{{divbox|green|An example|This is only an example of how this template works.}}</nowiki>
== Example ==
  <nowiki>{{divbox|purple|An example|This is only an example of how this template works.}}</nowiki>


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


==Available styles==
== Available styles ==
<div style="{{divstyleamber}}; width:5em; float:left; margin:.3em">amber</div>
<div style="{{divstyleamber}}; width:5em; float:left; margin:.3em">amber</div>
<div style="{{divstyleblack}}; width:5em; float:left; margin:.3em">black</div>
<div style="{{divstyleblack}}; width:5em; float:left; margin:.3em">black</div>
Line 32: Line 33:
{{-}}
{{-}}


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


<includeonly>
<includeonly>

Revision as of 14:18, 4 August 2009


Usage

{{divbox|color of box|Headtitle|Message}}

Example

{{divbox|purple|An example|This is only an example of how this template works.}}

Writing this code will give you...

Available styles

amber
black
bloodred
blue
brown
forest
gold
gray
green
navy
none
orange
plain
purple
red
white
yellow
fawn
tt
wordperfect


See also