Template:Divbox/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell (historical)
mNo edit summary
(→‎Usage: formalizing note semantics, meta-content usage, and seo nosnippet)
 
(5 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 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|}}

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