Template:Divbox: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia (removing the need for over a dozen auxiliary templates by using #switch) |
imported>Sekoia 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 boxed note for meta-content, such as article notices. The note will not appear in search engine snippets, so should be ancillary to the article.
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