XBMC will be renamed to Kodi for v14. Read here for more details

Template:Divbox

From XBMC
(Difference between revisions)
Jump to: navigation, search
(link possible colors)
(better to give a preview of each color scheme)
Line 3: Line 3:
 
<noinclude>
 
<noinclude>
 
==How to use==
 
==How to use==
  <nowiki>{{divbox|</nowiki>[[Special:Prefixindex/Template:Divstyle|color of box]]<nowiki>|Headtitle|Message}}</nowiki>
+
  <nowiki>{{divbox|color of box|Headtitle|Message}}</nowiki>
 
==Example==
 
==Example==
 
  <nowiki>{{divbox|green|An example|This is only an example of how this template works.}}</nowiki>
 
  <nowiki>{{divbox|green|An example|This is only an example of how this template works.}}</nowiki>
Line 13: Line 13:
 
[[Category:Formatting templates|Divbox]]
 
[[Category:Formatting templates|Divbox]]
 
</noinclude>
 
</noinclude>
 +
 +
==Available colors==
 +
<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>

Revision as of 16:37, 19 April 2007


1 How to use

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

2 Example

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

Writing this code will give you...


3 Available colors

amber
black
bloodred
blue
brown
forest
gold
gray
green
navy
none
orange
plain
purple
red
white
yellow
Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox