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)
 
(60 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|}}
{{divbox|maizeonwhite|maizeonwhite|}}
{{divbox|navy|navy|}}
{{divbox|navy|navy|}}
{{divbox|none|none|}}
{{divbox|none|none|}}
Line 31: 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|}}
{{divbox|violetonwhite|violetonwhite|}}
Line 36: Line 44:


;Bold Colors
;Bold Colors
{{divbox|aquamarine|aquamarine|}}
{{divbox|babyblue|babyblue|}}
{{divbox|babyblue|babyblue|}}
{{divbox|black|black|}}
{{divbox|black|black|}}
{{divbox|blackcanary|blackcanary|}}
{{divbox|blackskyblue|blackskyblue|}}
{{divbox|blackpurple|blackpurple|}}
{{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|blackswan|blackswan|}}
{{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|}}
{{divbox|colered|colered|}}
{{divbox|chocolate|chocolate|}}
{{divbox|coral|coral|}}
{{divbox|coral|coral|}}
{{divbox|cornflower|cornflower|}}
{{divbox|cornflower|cornflower|}}
{{divbox|crimson|crimson|}}
{{divbox|darkblue|darkblue|}}
{{divbox|darkblue|darkblue|}}
{{divbox|darkcyan|darkcyan|}}
{{divbox|darkgoldenrod|darkgoldenrod|}}
{{divbox|darkgoldenrod|darkgoldenrod|}}
{{divbox|darkgoldenrodblack|darkgoldenrodblack|}}
{{divbox|darkgoldenrodblack|darkgoldenrodblack|}}
{{divbox|darkgray|darkgray|}}
{{divbox|darkgray|darkgray|}}
{{divbox|darkgreen|darkgreen|}}
{{divbox|darkgreen|darkgreen|}}
{{divbox|darkkhaki|darkkhaki|}}
{{divbox|darkmagenta|darkmagenta|}}
{{divbox|darkolivegreen|darkolivegreen|}}
{{divbox|darkorchid|darkorchid|}}
{{divbox|darkorchid|darkorchid|}}
{{divbox|darkpurple|darkpurple|}}
{{divbox|darkpurple|darkpurple|}}
{{divbox|darkred|darkred|}}
{{divbox|darkred|darkred|}}
{{divbox|darkredyellow|darkredyellow|}}
{{divbox|darkredlightgray|darkredlightgray|}}
{{divbox|darkslateblue|darkslateblue|}}
{{divbox|darkslategray|darkslategray|}}
{{divbox|darkslategray|darkslategray|}}
{{divbox|deepblue|deepblue|}}
{{divbox|deepred|deepred|}}
{{divbox|deepred|deepred|}}
{{divbox|dimgray|dimgray|}}
{{divbox|dimgray|dimgray|}}
Line 70: 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|graycrimson|graycrimson|}}
{{divbox|graycrimson|graycrimson|}}
{{divbox|grayongray|grayongray|}}
{{divbox|grayonred|grayonred|}}
{{divbox|lavender|lavender|}}
{{divbox|lavender|lavender|}}
{{divbox|lightseagreen|lightseagreen|}}
{{divbox|lightslategray|lightslategray|}}
{{divbox|lilitu|lilitu|}}
{{divbox|macblue|macblue|}}
{{divbox|magenta|magenta|}}
{{divbox|maize|maize|}}
{{divbox|maize|maize|}}
{{divbox|maizeblack|maizeblack|}}
{{divbox|maizeblack|maizeblack|}}
Line 86: Line 93:
{{divbox|mauve|mauve|}}
{{divbox|mauve|mauve|}}
{{divbox|mediumorchid|mediumorchid|}}
{{divbox|mediumorchid|mediumorchid|}}
{{divbox|melon|melon|}}
{{divbox|mediumpurple|mediumpurple|}}
{{divbox|midnightblue|midnightblue|}}
{{divbox|midnightblue|midnightblue|}}
{{divbox|moonrise|moonrise|}}
{{divbox|motred|motred|}}
{{divbox|navylightskyblue|navylightskyblue|}}
{{divbox|navylightskyblue|navylightskyblue|}}
{{divbox|pandora|pandora|}}
{{divbox|plum|plum|}}
{{divbox|purple2|purple2|}}
{{divbox|purple2|purple2|}}
{{divbox|red2|red2|}}
{{divbox|redblack|redblack|}}
{{divbox|redblack|redblack|}}
{{divbox|redmahogany|redmahogany|}}
{{divbox|redmahogany|redmahogany|}}
{{divbox|redyellow|redyellow|}}
{{divbox|royalblue|royalblue|}}
{{divbox|rustic|rustic|}}
{{divbox|rustic|rustic|}}
{{divbox|sandstone|sandstone|}}
{{divbox|saddlebrown|saddlebrown|}}
{{divbox|seagreen|seagreen|}}
{{divbox|seagreen|seagreen|}}
{{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 / 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