Difference between revisions of "Template:Divbox"
From Ouroboros Portal
GuyPerfect (Talk | contribs) (New page: <includeonly><div class="boilerplate metadata" id="{{{2}}}" style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}} | none = hidden | #default = solid }} {{#switch: {{{1}}} | ...) |
GuyPerfect (Talk | contribs) |
||
| 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. --> |
| + | ==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 07:24, 21 January 2009
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.