Template:Divbox/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Blondeshell (historical) mNo edit summary |
(→Usage: formalizing note semantics, meta-content usage, and seo nosnippet) |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
This template may be used to create a | 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|babyblue|babyblue|}} | {{divbox|babyblue|babyblue|}} | ||
{{divbox|black|black|}} | {{divbox|black|black|}} | ||
{{divbox| | {{divbox|blackskyblue|blackskyblue|}} | ||
{{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| | {{divbox|blackgold|blackgold|}} | ||
{{divbox|blackorangered|blackorangered|}} | {{divbox|blackorangered|blackorangered|}} | ||
{{divbox|blackred|blackred|}} | {{divbox|blackred|blackred|}} | ||
{{divbox|blackwheat|blackwheat|}} | {{divbox|blackwheat|blackwheat|}} | ||
{{divbox|blackyellow|blackyellow|}} | {{divbox|blackyellow|blackyellow|}} | ||
{{divbox|blue2|blue2|}} | |||
{{divbox|blue2|blue2 | |||
{{divbox|brightblue|brightblue|}} | {{divbox|brightblue|brightblue|}} | ||
{{divbox|cadetblue|cadetblue|}} | {{divbox|cadetblue|cadetblue|}} | ||
{{divbox|canary|canary|}} | {{divbox|canary|canary|}} | ||
Line 66: | Line 65: | ||
{{divbox|crimson|crimson|}} | {{divbox|crimson|crimson|}} | ||
{{divbox|darkblue|darkblue|}} | {{divbox|darkblue|darkblue|}} | ||
{{divbox|darkcyan|darkcyan|}} | {{divbox|darkcyan|darkcyan|}} | ||
{{divbox|darkgoldenrod|darkgoldenrod|}} | {{divbox|darkgoldenrod|darkgoldenrod|}} | ||
Line 72: | 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|darkorchid|darkorchid|}} | {{divbox|darkorchid|darkorchid|}} | ||
{{divbox|darkpurple|darkpurple|}} | {{divbox|darkpurple|darkpurple|}} | ||
Line 81: | Line 79: | ||
{{divbox|darkslateblue|darkslateblue|}} | {{divbox|darkslateblue|darkslateblue|}} | ||
{{divbox|darkslategray|darkslategray|}} | {{divbox|darkslategray|darkslategray|}} | ||
{{divbox|deepred|deepred|}} | {{divbox|deepred|deepred|}} | ||
{{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|grass|grass|}} | {{divbox|grass|grass|}} | ||
{{divbox|grayblack|grayblack|}} | {{divbox|grayblack|grayblack|}} | ||
{{divbox|graycrimson|graycrimson|}} | {{divbox|graycrimson|graycrimson|}} | ||
{{divbox|lavender|lavender|}} | {{divbox|lavender|lavender|}} | ||
{{divbox|maize|maize|}} | {{divbox|maize|maize|}} | ||
{{divbox|maizeblack|maizeblack|}} | {{divbox|maizeblack|maizeblack|}} | ||
Line 107: | Line 94: | ||
{{divbox|mediumorchid|mediumorchid|}} | {{divbox|mediumorchid|mediumorchid|}} | ||
{{divbox|mediumpurple|mediumpurple|}} | {{divbox|mediumpurple|mediumpurple|}} | ||
{{divbox|midnightblue|midnightblue|}} | {{divbox|midnightblue|midnightblue|}} | ||
{{divbox|navylightskyblue|navylightskyblue|}} | {{divbox|navylightskyblue|navylightskyblue|}} | ||
{{divbox|purple2|purple2|}} | {{divbox|purple2|purple2|}} | ||
{{divbox|red2|red2|}} | {{divbox|red2|red2|}} | ||
Line 125: | Line 107: | ||
{{divbox|sienna|sienna|}} | {{divbox|sienna|sienna|}} | ||
{{divbox|siennakhaki|siennakhaki|}} | {{divbox|siennakhaki|siennakhaki|}} | ||
{{divbox| | {{divbox|silver|silver|}} | ||
{{divbox|slategray|slategray|}} | {{divbox|slategray|slategray|}} | ||
{{divbox| | {{divbox|steelblue|steelblue|}} | ||
{{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
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