Template:Divbox: Difference between revisions
Jump to navigation
Jump to search
imported>Blondeshell (historical) mNo edit summary |
m (seo: nosnippet for meta-content notes) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="boilerplate metadata" id="{{{2}}}" style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}} | <includeonly><div role="note" class="boilerplate metadata" id="{{{2}}}" data-nosnippet style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}} | ||
| none = hidden | | none = hidden | ||
| #default = solid | | #default = solid | ||
Line 6: | Line 6: | ||
| babyblue = black; background-color: #1E90FF; color: white; | | babyblue = black; background-color: #1E90FF; color: white; | ||
| black = white; background-color: black; color: white; | | black = white; background-color: black; color: white; | ||
| blackskyblue = black; background-color: black; color: skyblue; | |||
| blackcrimson = black; background-color: black; color: crimson; <!-- confirmed --> | | blackcrimson = black; background-color: black; color: crimson; <!-- confirmed --> | ||
| blackdarkgoldenrod = black; background-color: black; color: darkgoldenrod; <!-- confirmed --> | | blackdarkgoldenrod = black; background-color: black; color: darkgoldenrod; <!-- confirmed --> | ||
Line 32: | Line 33: | ||
| darkgray = black; background-color: darkgray; color: white; <!-- confirmed --> | | darkgray = black; background-color: darkgray; color: white; <!-- confirmed --> | ||
| darkgreen = black; background-color: darkgreen; color: white; <!-- confirmed --> | | darkgreen = black; background-color: darkgreen; color: white; <!-- confirmed --> | ||
| darkkhaki = black; background-color: darkkhaki; color: white; <!-- confirmed --> | |||
| darkmagenta = black; background-color: darkmagenta; color: white; <!-- confirmed --> | | darkmagenta = black; background-color: darkmagenta; color: white; <!-- confirmed --> | ||
| darkolivegreen = black; background-color: darkolivegreen; color: white; <!-- confirmed --> | | darkolivegreen = black; background-color: darkolivegreen; color: white; <!-- confirmed --> |
Latest revision as of 13:23, 18 November 2022
[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