Difference between revisions of "Template:Divbox"
Jump to navigation
Jump to search
imported>SmackBot m (Date the maintenance tags or general fixes using AWB) |
imported>MaxSem (mandatory id leads to ill-formed XHTML) |
||
| Line 1: | Line 1: | ||
| − | <div class="boilerplate metadata" id="{{{2}}}" style="{{divstyle{{{1}}}}}; padding: 1em;"><center><b>{{{2}}}</b></center>{{{3}}}</div> | + | <div class="boilerplate metadata" {{#if:{{{2|}}}|id="{{{2}}}"|}} style="{{divstyle{{{1}}}}}; padding: 1em;"><center><b>{{{2|}}}</b></center>{{{3}}}</div> |
<noinclude> | <noinclude> | ||
==How to use== | ==How to use== | ||
Revision as of 07:48, 29 June 2008
How to use
{{divbox|color of box|Headtitle|Message}}
Example
{{divbox|green|An example|This is only an example of how this template works.}}
Writing this code will give you...
Available colors
amber
black
bloodred
blue
brown
forest
gold
gray
green
navy
none
orange
plain
purple
red
white
yellow