Template:Divbox/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell
No edit summary
(→‎Usage: formalizing note semantics, meta-content usage, and seo nosnippet)
 
(112 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 18: Line 20:
{{divbox|amber|amber|}}
{{divbox|amber|amber|}}
{{divbox|blue|blue|}}
{{divbox|blue|blue|}}
{{divbox|blueonwhite|blueonwhite|}}
{{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 29: Line 33:
{{divbox|red|red|}}
{{divbox|red|red|}}
{{divbox|white|white|}}
{{divbox|white|white|}}
{{divbox|whitedarkblue|whitedarkblue|}}
{{divbox|whitedarkgray|whitedarkgray|}}
{{divbox|whitedarkred|whitedarkred|}}
{{divbox|whitedeepskyblue|whitedeepskyblue|}}
{{divbox|whitegoldenrod|whitegoldenrod|}}
{{divbox|whitered|whitered|}}
{{divbox|yellow|yellow|}}
{{divbox|yellow|yellow|}}
{{divbox|violetonwhite|violetonwhite|}}




;Bold Colors
;Bold Colors
{{divbox|aquamarine|aquamarine|}}
{{divbox|babyblue|babyblue|}}
{{divbox|babyblue|babyblue|}}
{{divbox|black|black|}}
{{divbox|black|black|}}
{{divbox|blackpurple|blackpurple|}}
{{divbox|blackskyblue|blackskyblue|}}
{{divbox|blackcrimson|blackcrimson|}}
{{divbox|blackdarkgoldenrod|blackdarkgoldenrod|}}
{{divbox|blackdarkgray|blackdarkgray|}}
{{divbox|blackdarkorange|blackdarkorange|}}
{{divbox|blackgold|blackgold|}}
{{divbox|blackorangered|blackorangered|}}
{{divbox|blackred|blackred|}}
{{divbox|blackred|blackred|}}
{{divbox|bloodred|bloodred|}}
{{divbox|blackwheat|blackwheat|}}
{{divbox|blackyellow|blackyellow|}}
{{divbox|blue2|blue2|}}
{{divbox|brightblue|brightblue|}}
{{divbox|brightblue|brightblue|}}
{{divbox|brightgreen|brightgreen|}}
{{divbox|cadetblue|cadetblue|}}
{{divbox|canary|canary|}}
{{divbox|canary|canary|}}
{{divbox|chocolate|chocolate|}}
{{divbox|coral|coral|}}
{{divbox|cornflower|cornflower|}}
{{divbox|crimson|crimson|}}
{{divbox|darkblue|darkblue|}}
{{divbox|darkblue|darkblue|}}
{{divbox|darkcyan|darkcyan|}}
{{divbox|darkgoldenrod|darkgoldenrod|}}
{{divbox|darkgoldenrodblack|darkgoldenrodblack|}}
{{divbox|darkgray|darkgray|}}
{{divbox|darkgreen|darkgreen|}}
{{divbox|darkgreen|darkgreen|}}
{{divbox|darkkhaki|darkkhaki|}}
{{divbox|darkmagenta|darkmagenta|}}
{{divbox|darkolivegreen|darkolivegreen|}}
{{divbox|darkorchid|darkorchid|}}
{{divbox|darkpurple|darkpurple|}}
{{divbox|darkpurple|darkpurple|}}
{{divbox|darkred|darkred|}}
{{divbox|darkred|darkred|}}
{{divbox|darkredlightgray|darkredlightgray|}}
{{divbox|darkslateblue|darkslateblue|}}
{{divbox|darkslategray|darkslategray|}}
{{divbox|deepred|deepred|}}
{{divbox|dimgray|dimgray|}}
{{divbox|fern|fern|}}
{{divbox|firebrick|firebrick|}}
{{divbox|goldenrod|goldenrod|}}
{{divbox|goldenrod|goldenrod|}}
{{divbox|magenta|magenta|}}
{{divbox|grass|grass|}}
{{divbox|grayblack|grayblack|}}
{{divbox|graycrimson|graycrimson|}}
{{divbox|lavender|lavender|}}
{{divbox|maize|maize|}}
{{divbox|maize|maize|}}
{{divbox|maizeblack|maizeblack|}}
{{divbox|maroon|maroon|}}
{{divbox|mauve|mauve|}}
{{divbox|mauve|mauve|}}
{{divbox|mediumorchid|mediumorchid|}}
{{divbox|mediumpurple|mediumpurple|}}
{{divbox|midnightblue|midnightblue|}}
{{divbox|midnightblue|midnightblue|}}
{{divbox|plum|plum|}}
{{divbox|navylightskyblue|navylightskyblue|}}
{{divbox|sandstone|sandstone|}}
{{divbox|purple2|purple2|}}
{{divbox|skyblue|skyblue|}}
{{divbox|red2|red2|}}
{{divbox|redblack|redblack|}}
{{divbox|redmahogany|redmahogany|}}
{{divbox|redyellow|redyellow|}}
{{divbox|royalblue|royalblue|}}
{{divbox|rustic|rustic|}}
{{divbox|saddlebrown|saddlebrown|}}
{{divbox|seagreen|seagreen|}}
{{divbox|sienna|sienna|}}
{{divbox|siennakhaki|siennakhaki|}}
{{divbox|silver|silver|}}
{{divbox|slategray|slategray|}}
{{divbox|steelblue|steelblue|}}
{{divbox|turquoise|turquoise|}}
{{divbox|turquoise|turquoise|}}
{{divbox|violet|violet|}}
{{divbox|violet|violet|}}
;Special-Use / Named Colors
{{divbox|antimatter|antimatter (LimeGreen on Black)|}}
{{divbox|blackswan|blackswan (#FEFEFF on #0F0F1F)|}}
{{divbox|brawler|brawler (#CCCCCD on #323232)|}}
{{divbox|calvin|calvin (Silver on Black)|}}
{{divbox|citadel|citadel (#6699BB on #120F48)|}}
{{divbox|creston|creston (Black on RoyalBlue)|}}
{{divbox|desdemona|desdemona (Goldenrod on Black)|}}
{{divbox|diabolique|diabolique (#FF33BB on Black)|}}
{{divbox|duray|duray (FireBrick on Black}|}}
{{divbox|gaussian|gaussian (White on LightSeaGreen)|}}
{{divbox|grifter|grifter (White on IndianRed)|}}
{{divbox|hacker|hacker (Goldenrod on DarkOliveGreen)|}}
{{divbox|hd|hd (CornflowerBlue on Black)|}}
{{divbox|lilitu|lilitu (#50BBAA on #770000)|}}
{{divbox|macblue|macblue (Olive on DeepSkyBlue)|}}
{{divbox|maelstrom|maelstrom (#999999 on #340F12)|}}
{{divbox|malaise|malaise (#CC99FF on #220055)|}}
{{divbox|manticore|manticore (#999999 on #340F12)|}}
{{divbox|marchand|marchand (Black on Goldenrod)|}}
{{divbox|metronome|metronome (Purple on White)|}}
{{divbox|mother|mother (MediumPurple on Black)|}}
{{divbox|motred|motred (Red on Maroon)|}}
{{divbox|nightstar|nightstar (#F0FFFF on #483D8B)|}}
{{divbox|numina|numina (#BB99AA on #660F68)|}}
{{divbox|omnicore|omnicore (White on DeepSkyBlue)|}}
{{divbox|pandora|pandora (#999999 on #340F12)|}}
{{divbox|paragon|paragon (#FF0000 on MidnightBlue)|}}
{{divbox|parson|parson (Brown on White)|}}
{{divbox|penny|penny (#CDCCCC on #601014)|}}
{{divbox|positron|positron (#3299DD on #6B5242)|}}
{{divbox|proton|proton (SkyBlue on DarkBlue)|}}
{{divbox|psyche|psyche (White on DarkSeaGreen)|}}
{{divbox|riptide|riptide (Black on LightSeaGreen)|}}
{{divbox|special1|special1 (#BBBBBB on Black)|}}
{{divbox|special2|special2 (#FF99DD on Black)|}}
{{divbox|sutter|sutter (White on Navy)|}}
{{divbox|synapse|synapse (#9395EC on 85030A)|}}
{{divbox|tilman|tilman (#CC99FF on Black)|}}
{{divbox|tpn|tpn (Burlywood on Black)|}}
{{divbox|tyrant|tyrant (Yellow on DarkRed)|}}
{{divbox|vanessa|vanessa (Goldenrod on Indigo)|}}
{{divbox|wade|wade (White on LightSlateGray)|}}


<includeonly><!--
<includeonly><!--

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