Template:Divbox/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Blondeshell (historical) No edit summary |
(→Usage: formalizing note semantics, meta-content usage, and seo nosnippet) |
||
(87 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|}} | ||
{{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|babyblue|babyblue|}} | {{divbox|babyblue|babyblue|}} | ||
{{divbox|black|black|}} | {{divbox|black|black|}} | ||
{{divbox| | {{divbox|blackskyblue|blackskyblue|}} | ||
{{divbox| | {{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|blackwheat|blackwheat|}} | |||
{{divbox|blackyellow|blackyellow|}} | {{divbox|blackyellow|blackyellow|}} | ||
{{divbox| | {{divbox|blue2|blue2|}} | ||
{{divbox|brightblue|brightblue|}} | {{divbox|brightblue|brightblue|}} | ||
{{divbox| | {{divbox|cadetblue|cadetblue|}} | ||
{{divbox|canary|canary|}} | {{divbox|canary|canary|}} | ||
{{divbox| | {{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|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|darkpurple|darkpurple|}} | {{divbox|darkpurple|darkpurple|}} | ||
{{divbox|darkred|darkred|}} | {{divbox|darkred|darkred|}} | ||
{{divbox| | {{divbox|darkredlightgray|darkredlightgray|}} | ||
{{divbox|darkslateblue|darkslateblue|}} | |||
{{divbox|darkslategray|darkslategray|}} | |||
{{divbox|deepred|deepred|}} | {{divbox|deepred|deepred|}} | ||
{{divbox|dimgray|dimgray|}} | |||
{{divbox|fern|fern|}} | {{divbox|fern|fern|}} | ||
{{divbox|firebrick|firebrick|}} | |||
{{divbox|goldenrod|goldenrod|}} | {{divbox|goldenrod|goldenrod|}} | ||
{{divbox|grass|grass|}} | {{divbox|grass|grass|}} | ||
{{divbox|grayblack|grayblack|}} | |||
{{divbox|graycrimson|graycrimson|}} | |||
{{divbox|lavender|lavender|}} | {{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| | {{divbox|navylightskyblue|navylightskyblue|}} | ||
{{divbox| | {{divbox|purple2|purple2|}} | ||
{{divbox| | {{divbox|red2|red2|}} | ||
{{divbox| | {{divbox|redblack|redblack|}} | ||
{{divbox| | {{divbox|redmahogany|redmahogany|}} | ||
{{divbox|redyellow|redyellow|}} | |||
{{divbox|royalblue|royalblue|}} | |||
{{divbox|rustic|rustic|}} | |||
{{divbox|saddlebrown|saddlebrown|}} | |||
{{divbox|seagreen|seagreen|}} | {{divbox|seagreen|seagreen|}} | ||
{{divbox| | {{divbox|sienna|sienna|}} | ||
{{divbox| | {{divbox|siennakhaki|siennakhaki|}} | ||
{{divbox| | {{divbox|silver|silver|}} | ||
{{divbox| | {{divbox|slategray|slategray|}} | ||
{{divbox| | {{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
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