Difference between revisions of "Template:Divbox"
From Paragon Wiki Archive
(removing the need for over a dozen auxiliary templates by using #switch) |
m (+{{Documentation}}) |
||
Line 1: | Line 1: | ||
− | <div class="boilerplate metadata" id="{{{2}}}" style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}} | + | <includeonly><div class="boilerplate metadata" id="{{{2}}}" style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}} |
| none = hidden | | none = hidden | ||
| #default = solid | | #default = solid | ||
Line 19: | Line 19: | ||
| none | | none | ||
| #default = ; | | #default = ; | ||
− | }}"><center><b>{{{2}}}</b></center>{{{3}}}</div> | + | }}"><center><b>{{{2}}}</b></center>{{{3}}}</div></includeonly><noinclude> |
+ | {{Documentation}}</noinclude> |
Revision as of 10:37, 20 February 2008
[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.
- Subtle Colors
- Bold Colors
- Special-Use / Named Colors