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)
 
(28 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 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 30: Line 33:
{{divbox|red|red|}}
{{divbox|red|red|}}
{{divbox|white|white|}}
{{divbox|white|white|}}
{{divbox|whitedarkblue|whitedarkblue|}}
{{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 37: Line 44:


;Bold Colors
;Bold Colors
{{divbox|aquamarine|aquamarine|}}
{{divbox|babyblue|babyblue|}}
{{divbox|babyblue|babyblue|}}
{{divbox|black|black|}}
{{divbox|black|black|}}
{{divbox|blackburlywood|blackburlywood|}}
{{divbox|blackskyblue|blackskyblue|}}
{{divbox|blackcanary|blackcanary|}}
{{divbox|blackcornflower|blackcornflower|}}
{{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|blackpurple|blackpurple|}}
{{divbox|blackred|blackred|}}
{{divbox|blackred|blackred|}}
{{divbox|blackwheat|blackwheat|}}
{{divbox|blackwheat|blackwheat|}}
{{divbox|blackyellow|blackyellow|}}
{{divbox|blackyellow|blackyellow|}}
{{divbox|bloodred|bloodred|}}
{{divbox|blue2|blue2|}}
{{divbox|blueonblue|blueonblue|}}
{{divbox|blueonbrown|blueonbrown|}}
{{divbox|brightblue|brightblue|}}
{{divbox|brightblue|brightblue|}}
{{divbox|brightgreen|brightgreen|}}
{{divbox|cadetblue|cadetblue|}}
{{divbox|cadetblue|cadetblue|}}
{{divbox|canary|canary|}}
{{divbox|canary|canary|}}
Line 64: Line 65:
{{divbox|crimson|crimson|}}
{{divbox|crimson|crimson|}}
{{divbox|darkblue|darkblue|}}
{{divbox|darkblue|darkblue|}}
{{divbox|darkblueskyblue|darkblueskyblue|}}
{{divbox|darkcyan|darkcyan|}}
{{divbox|darkcyan|darkcyan|}}
{{divbox|darkgoldenrod|darkgoldenrod|}}
{{divbox|darkgoldenrod|darkgoldenrod|}}
Line 70: 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|}}
{{divbox|darkolivegreengoldenrod|darkolivegreengoldenrod|}}
{{divbox|darkorchid|darkorchid|}}
{{divbox|darkorchid|darkorchid|}}
{{divbox|darkpurple|darkpurple|}}
{{divbox|darkpurple|darkpurple|}}
Line 79: Line 79:
{{divbox|darkslateblue|darkslateblue|}}
{{divbox|darkslateblue|darkslateblue|}}
{{divbox|darkslategray|darkslategray|}}
{{divbox|darkslategray|darkslategray|}}
{{divbox|deepblue|deepblue|}}
{{divbox|deepred|deepred|}}
{{divbox|deepred|deepred|}}
{{divbox|deepskyblue|deepskyblue|}}
{{divbox|diabolique|diabolique|}}
{{divbox|dimgray|dimgray|}}
{{divbox|dimgray|dimgray|}}
{{divbox|fern|fern|}}
{{divbox|fern|fern|}}
{{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|}}
{{divbox|graycrimson|graycrimson|}}
{{divbox|graycrimson|graycrimson|}}
{{divbox|grayongray|grayongray|}}
{{divbox|grayonred|grayonred|}}
{{divbox|indianred|indianred|}}
{{divbox|lavender|lavender|}}
{{divbox|lavender|lavender|}}
{{divbox|lightseagreen|lightseagreen|}}
{{divbox|lightslategray|lightslategray|}}
{{divbox|macblue|macblue|}}
{{divbox|magenta|magenta|}}
{{divbox|maize|maize|}}
{{divbox|maize|maize|}}
{{divbox|maizeblack|maizeblack|}}
{{divbox|maizeblack|maizeblack|}}
Line 105: Line 94:
{{divbox|mediumorchid|mediumorchid|}}
{{divbox|mediumorchid|mediumorchid|}}
{{divbox|mediumpurple|mediumpurple|}}
{{divbox|mediumpurple|mediumpurple|}}
{{divbox|melon|melon|}}
{{divbox|midnightblue|midnightblue|}}
{{divbox|midnightblue|midnightblue|}}
{{divbox|moonrise|moonrise|}}
{{divbox|motred|motred|}}
{{divbox|navy2|navy2|}}
{{divbox|navylightskyblue|navylightskyblue|}}
{{divbox|navylightskyblue|navylightskyblue|}}
{{divbox|plum|plum|}}
{{divbox|purple2|purple2|}}
{{divbox|purple2|purple2|}}
{{divbox|red2|red2|}}
{{divbox|red2|red2|}}
Line 123: Line 107:
{{divbox|sienna|sienna|}}
{{divbox|sienna|sienna|}}
{{divbox|siennakhaki|siennakhaki|}}
{{divbox|siennakhaki|siennakhaki|}}
{{divbox|skyblue|skyblue|}}
{{divbox|silver|silver|}}
{{divbox|slategray|slategray|}}
{{divbox|slategray|slategray|}}
{{divbox|synapsered|synapsered|}}
{{divbox|steelblue|steelblue|}}
{{divbox|tangerine|tangerine|}}
{{divbox|thistle|thistle|}}
{{divbox|turquoise|turquoise|}}
{{divbox|turquoise|turquoise|}}
{{divbox|violet|violet|}}
{{divbox|violet|violet|}}


;Special-Use Colors
 
{{divbox|antimatter|antimatter|}}
;Special-Use / Named Colors
{{divbox|blackswan|blackswan|}}
{{divbox|antimatter|antimatter (LimeGreen on Black)|}}
{{divbox|desdemona|desdemona|}}
{{divbox|blackswan|blackswan (#FEFEFF on #0F0F1F)|}}
{{divbox|lilitu|lilitu|}}
{{divbox|brawler|brawler (#CCCCCD on #323232)|}}
{{divbox|maelstrom|maelstrom|}}
{{divbox|calvin|calvin (Silver on Black)|}}
{{divbox|malaise|malaise|}}
{{divbox|citadel|citadel (#6699BB on #120F48)|}}
{{divbox|metronome|metronome|}}
{{divbox|creston|creston (Black on RoyalBlue)|}}
{{divbox|nightstar|nightstar|}}
{{divbox|desdemona|desdemona (Goldenrod on Black)|}}
{{divbox|pandora|pandora|}}
{{divbox|diabolique|diabolique (#FF33BB on Black)|}}
{{divbox|special1|special1|}}
{{divbox|duray|duray (FireBrick on Black}|}}
{{divbox|special2|special2|}}
{{divbox|gaussian|gaussian (White on LightSeaGreen)|}}
{{divbox|tilman|tilman|}}
{{divbox|grifter|grifter (White on IndianRed)|}}
{{divbox|tyrant|tyrant|}}
{{divbox|hacker|hacker (Goldenrod on DarkOliveGreen)|}}
{{divbox|vanessa|vanessa|}}
{{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