Template:Divbox/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Blondeshell mNo edit summary |
(→Usage: formalizing note semantics, meta-content usage, and seo nosnippet) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
This template may be used to create a | 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, | |||
<code><nowiki>{{divbox|forest|Example|This is an example}}</nowiki></code> | <code><nowiki>{{divbox|forest|Example|This is an example}}</nowiki></code> | ||
Line 44: | Line 46: | ||
{{divbox|babyblue|babyblue|}} | {{divbox|babyblue|babyblue|}} | ||
{{divbox|black|black|}} | {{divbox|black|black|}} | ||
{{divbox|blackskyblue|blackskyblue|}} | |||
{{divbox|blackcrimson|blackcrimson|}} | {{divbox|blackcrimson|blackcrimson|}} | ||
{{divbox|blackdarkgoldenrod|blackdarkgoldenrod|}} | {{divbox|blackdarkgoldenrod|blackdarkgoldenrod|}} | ||
Line 67: | Line 70: | ||
{{divbox|darkgray|darkgray|}} | {{divbox|darkgray|darkgray|}} | ||
{{divbox|darkgreen|darkgreen|}} | {{divbox|darkgreen|darkgreen|}} | ||
{{divbox|darkkhaki|darkkhaki|}} | |||
{{divbox|darkmagenta|darkmagenta|}} | {{divbox|darkmagenta|darkmagenta|}} | ||
{{divbox|darkolivegreen|darkolivegreen|}} | {{divbox|darkolivegreen|darkolivegreen|}} |
Latest revision as of 13:36, 18 November 2022
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