Template:Divbox/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Blondeshell m (name colors) |
(→Usage: formalizing note semantics, meta-content usage, and seo nosnippet) |
||
(10 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 21: | Line 23: | ||
{{divbox|brown|brown|}} | {{divbox|brown|brown|}} | ||
{{divbox|forest|forest|}} | {{divbox|forest|forest|}} | ||
{{divbox|gold|gold|}} | |||
{{divbox|gray|gray|}} | {{divbox|gray|gray|}} | ||
{{divbox|green|green|}} | {{divbox|green|green|}} | ||
Line 33: | Line 36: | ||
{{divbox|whitedarkgray|whitedarkgray|}} | {{divbox|whitedarkgray|whitedarkgray|}} | ||
{{divbox|whitedarkred|whitedarkred|}} | {{divbox|whitedarkred|whitedarkred|}} | ||
{{divbox|whitedeepskyblue|whitedeepskyblue|}} | |||
{{divbox|whitegoldenrod|whitegoldenrod|}} | {{divbox|whitegoldenrod|whitegoldenrod|}} | ||
{{divbox|whitered|whitered|}} | |||
{{divbox|yellow|yellow|}} | {{divbox|yellow|yellow|}} | ||
{{divbox|violetonwhite|violetonwhite|}} | {{divbox|violetonwhite|violetonwhite|}} | ||
Line 41: | 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|}} | ||
{{divbox|blackdarkgray|blackdarkgray|}} | {{divbox|blackdarkgray|blackdarkgray|}} | ||
{{divbox|blackdarkorange|blackdarkorange|}} | {{divbox|blackdarkorange|blackdarkorange|}} | ||
{{divbox|blackgold|blackgold|}} | |||
{{divbox|blackorangered|blackorangered|}} | {{divbox|blackorangered|blackorangered|}} | ||
{{divbox|blackred|blackred|}} | {{divbox|blackred|blackred|}} | ||
Line 63: | 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|}} | ||
Line 101: | Line 109: | ||
{{divbox|silver|silver|}} | {{divbox|silver|silver|}} | ||
{{divbox|slategray|slategray|}} | {{divbox|slategray|slategray|}} | ||
{{divbox|steelblue|steelblue|}} | |||
{{divbox|turquoise|turquoise|}} | {{divbox|turquoise|turquoise|}} | ||
{{divbox|violet|violet|}} | {{divbox|violet|violet|}} |
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