Difference between revisions of "Template:Divbox"

From Ouroboros Portal
Jump to: navigation, search
m
 
(3 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
| orange = #FF6600; background-color: #FFDEB5;
 
| orange = #FF6600; background-color: #FFDEB5;
 
| purple = #7D00B3; background-color: #FFDAFF;
 
| purple = #7D00B3; background-color: #FFDAFF;
 +
| indigo = #4B0082; background-color: #9B30FF;
 
| red = #CC0000; background-color: #FFCCCC;
 
| red = #CC0000; background-color: #FFCCCC;
 
| white = #000000; background-color: #FFFFFF;
 
| white = #000000; background-color: #FFFFFF;
Line 20: Line 21:
 
| #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>
+

Latest revision as of 11:46, 27 February 2012

[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.