Difference between revisions of "Template:Divbox"

From Ouroboros Portal
Jump to: navigation, search
m
Line 20: Line 20:
 
| #default = ;
 
| #default = ;
 
}}"><center><b>{{{2}}}</b></center>{{{3}}}</div></includeonly><noinclude>
 
}}"><center><b>{{{2}}}</b></center>{{{3}}}</div></includeonly><noinclude>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
{{Documentation}}</noinclude>
==Usage==
+
 
+
This template may be used to create a notice box for various purposes. It takes three unnamed arguments: color, title, and text. For example,
+
 
+
<code><nowiki>{{divbox|forest|Example|This is an example}}</nowiki></code>
+
 
+
will produce
+
 
+
{{divbox|forest|Example|This is an example}}
+
 
+
=== Colors ===
+
 
+
The boxes below demonstrate the different color palettes you may choose from.
+
 
+
{{divbox|amber|amber|}}
+
{{divbox|black|black|}}
+
{{divbox|bloodred|bloodred|}}
+
{{divbox|blue|blue|}}
+
{{divbox|brown|brown|}}
+
{{divbox|forest|forest|}}
+
{{divbox|gray|gray|}}
+
{{divbox|green|green|}}
+
{{divbox|navy|navy|}}
+
{{divbox|none|none|}}
+
{{divbox|orange|orange|}}
+
{{divbox|purple|purple|}}
+
{{divbox|red|red|}}
+
{{divbox|white|white|}}
+
{{divbox|yellow|yellow|}}
+
 
+
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
[[Category:Templates|{{PAGENAME}}]]
+
</noinclude>
+

Revision as of 17:52, 22 January 2009

[edit] Documentation

Usage

This template may be used to create a notice box for various purposes. It takes three unnamed arguments: color, title, and text. For example,

{{divbox|forest|Example|This is an example}}

will produce

Colors

The boxes below demonstrate the different color palettes you may choose from.