Template:Divbox: Difference between revisions
Jump to navigation
Jump to search
imported>Blondeshell (historical) mNo edit summary |
m (seo: nosnippet for meta-content notes) |
||
(4 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 90: | Line 91: | ||
| whitedeepskyblue = black; background-color: white; color: deepskyblue; <!-- confirmed --> | | whitedeepskyblue = black; background-color: white; color: deepskyblue; <!-- confirmed --> | ||
| whitegoldenrod = black; background-color: white; color: goldenrod; <!-- confirmed --> | | whitegoldenrod = black; background-color: white; color: goldenrod; <!-- confirmed --> | ||
| whitered = black; background-color: white; color: red; <!-- confirmed --> | | whitered = black; background-color: white; color: red; <!-- confirmed --> | ||
| yellow = #FFCC00; background-color: #FFFFCC; | | yellow = #FFCC00; background-color: #FFFFCC; |
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