Template:Divbox/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell
mNo edit summary
(→‎Usage: formalizing note semantics, meta-content usage, and seo nosnippet)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
==Usage==
==Usage==


This template may be used to create a notice box for various purposes. It takes three unnamed arguments: color, title, and text. For example,
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 36: Line 38:
{{divbox|whitedeepskyblue|whitedeepskyblue|}}
{{divbox|whitedeepskyblue|whitedeepskyblue|}}
{{divbox|whitegoldenrod|whitegoldenrod|}}
{{divbox|whitegoldenrod|whitegoldenrod|}}
{{divbox|whitepurple|whitepurple|}}
{{divbox|whitered|whitered|}}
{{divbox|whitered|whitered|}}
{{divbox|yellow|yellow|}}
{{divbox|yellow|yellow|}}
Line 45: 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 82: Line 84:
{{divbox|firebrick|firebrick|}}
{{divbox|firebrick|firebrick|}}
{{divbox|goldenrod|goldenrod|}}
{{divbox|goldenrod|goldenrod|}}
{{divbox|goldenrodblack|goldenrodblack|}}
{{divbox|grass|grass|}}
{{divbox|grass|grass|}}
{{divbox|grayblack|grayblack|}}
{{divbox|grayblack|grayblack|}}

Latest revision as of 13:36, 18 November 2022

This is a documentation subpage for Template:Divbox (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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