Template:Divbox/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
m (Added blackblue example)
(→‎Usage: formalizing note semantics, meta-content usage, and seo nosnippet)
 
(One intermediate revision by one other user 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 44: Line 46:
{{divbox|babyblue|babyblue|}}
{{divbox|babyblue|babyblue|}}
{{divbox|black|black|}}
{{divbox|black|black|}}
{{divbox|blackblue|blackblue|}}
{{divbox|blackskyblue|blackskyblue|}}
{{divbox|blackcrimson|blackcrimson|}}
{{divbox|blackcrimson|blackcrimson|}}
{{divbox|blackdarkgoldenrod|blackdarkgoldenrod|}}
{{divbox|blackdarkgoldenrod|blackdarkgoldenrod|}}

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