Template:Divbox: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell (historical)
No edit summary
m (seo: nosnippet for meta-content notes)
 
(150 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="boilerplate metadata" id="{{{2}}}" style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}}
<includeonly><div role="note" class="boilerplate metadata" id="{{{2}}}" data-nosnippet style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}}
| none = hidden
| none = hidden
| #default = solid
| #default = solid
}} {{#switch: {{{1}}}
}} {{#switch: {{{1}}}
| amber = #663300; background-color: #FFFFCC;
| amber = #663300; background-color: #FFFFCC;
| aquamarine = #000000; background-color: #4DFFB8
| babyblue = black; background-color: #1E90FF; color: white;
| black = white; background-color: black; color: white;
| black = white; background-color: black; color: white;
| bloodred = #CC0000; background-color: #FF3333;
| blackskyblue = black; background-color: black; color: skyblue;
| blackcrimson = black; background-color: black; color: crimson; <!-- confirmed -->
| blackdarkgoldenrod = black; background-color: black; color: darkgoldenrod; <!-- confirmed -->
| blackdarkgray = black; background-color: black; color: darkgray; <!-- confirmed -->
| blackdarkorange = black; background-color: black; color: darkorange; <!-- confirmed -->
| blackgold = black; background-color: black; color: gold; <!-- confirmed -->
| blackorangered = black; background-color: black; color: orangered; <!-- confirmed -->
| blackred = black; background-color: black; color: red; <!-- confirmed -->
| blackwheat = black; background-color: black; color: wheat; <!-- confirmed -->
| blackyellow = black; background-color: black; color: yellow; <!-- confirmed -->
| blue = #0000CC; background-color: #CCFFFF;
| blue = #0000CC; background-color: #CCFFFF;
| brightgreen = #006600; background-color: #00B300; color: white;
| blue2 = black; background-color: blue; color: white; <!-- confirmed -->
| blueonwhite = black; background-color: white; color: #0000FF;
| brightblue = black; background-color: #00DEFF; color: black;
| brown = #663300; background-color: #F2DEB8;
| brown = #663300; background-color: #F2DEB8;
| canary = #020099; background-color: #FFFD00; color: #020099;
| cadetblue = black; background-color: cadetblue; color: white; <!-- confirmed -->
| darkblue = #020099; background-color: #0000FF; color: white;
| canary = black; background-color: #FFFD00; color: #020099;
| darkgreen = black; background-color: #006400; color: white;
| chocolate = black; background-color: chocolate; color: white; <!-- confirmed -->
| darkred = #550000; background-color: #AA0000; color: white;
| coral = black; background-color: coral; color: black; <!-- confirmed -->
| cornflower = black; background-color: cornflowerblue; color: white; <!-- confirmed -->
| crimson = black; background-color: crimson; color: white; <!-- confirmed -->
| darkblue = black; background-color: darkblue; color: white; <!-- confirmed -->
| darkcyan = black; background-color: darkcyan; color: white; <!-- confirmed -->
| darkgoldenrod = black; background-color: darkgoldenrod; color: white; <!-- confirmed -->
| darkgoldenrodblack = black; background-color: darkgoldenrod; color: black; <!-- confirmed -->
| darkgray = black; background-color: darkgray; color: white; <!-- confirmed -->
| darkgreen = black; background-color: darkgreen; color: white; <!-- confirmed -->
| darkkhaki = black; background-color: darkkhaki; color: white; <!-- confirmed -->
| darkmagenta = black; background-color: darkmagenta; color: white; <!-- confirmed -->
| darkolivegreen = black; background-color: darkolivegreen; color: white; <!-- confirmed -->
| darkorchid = black; background-color: darkorchid; color: white; <!-- confirmed -->
| darkpurple = black; background-color: #4C0081; color: #DAA521;
| darkred = black; background-color: darkred; color: white; <!-- confirmed -->
| darkredlightgray = black; background-color: darkred; color: lightgray; <!-- confirmed -->
| darkslateblue = black; background-color: darkslateblue; color: white; <!-- confirmed -->
| darkslategray = black; background-color: darkslategray; color: white; <!-- confirmed -->
| deepred = black; background-color: #600F15; color: white;
| dimgray = black; background-color: dimgray; color: silver; <!-- confirmed -->
| fern = black; background-color: #566B30; color: white;
| firebrick = black; background-color: firebrick; color: white; <!-- confirmed -->
| forest = #006633; background-color: #B5DBAF;
| forest = #006633; background-color: #B5DBAF;
| goldenrod = #000000; background-color: #AA7000; color: white;
| gold = #F8C500; background-color: #FFEC83;
| goldenrod = black; background-color: goldenrod; color: white; <!-- confirmed -->
| grass = black; background-color: #91BC91; color: white;
| gray = #999999; background-color: #EEEEEE;
| gray = #999999; background-color: #EEEEEE;
| grayblack = black; background-color: gray; color: black; <!-- confirmed -->
| graycrimson = black; background-color: gray; color: crimson; <!-- confirmed -->
| green = #009900; background-color: #CCFFCC;
| green = #009900; background-color: #CCFFCC;
| maize = black; background-color: #DAA521; color: white;
| lavender = black; background-color: #9370D8; color: white;
| mauve = #6000FF; background-color: #BB91FF;
| maizeblack = black; background-color: #DAA521; color: black;
| maroon = black; background-color: maroon; color: white; <!-- confirmed -->
| mauve = black; background-color: #BB91FF;
| mediumorchid = black; background-color: mediumorchid; color: white; <!-- confirmed -->
| mediumpurple = black; background-color: mediumpurple; color: white; <!-- confirmed -->
| midnightblue = black; background-color: midnightblue; color: white; <!-- confirmed -->
| navy = #00477B; background-color: #AADBE0;
| navy = #00477B; background-color: #AADBE0;
| navylightskyblue = black; background-color: navy; color: lightskyblue; <!-- confirmed -->
| orange = #FF6600; background-color: #FFDEB5;
| orange = #FF6600; background-color: #FFDEB5;
| magenta = #590059; background-color: #993399; color: yellow;
| paleviolet = black; background-color: palevioletred; color: white; <!-- confirmed -->
| plum = white; background-color: #A000FF; color: white;
| purple = #7D00B3; background-color: #FFDAFF;
| purple = #7D00B3; background-color: #FFDAFF;
| purple2 = black; background-color: purple; color: white; <!-- confirmed -->
| purpleonwhite = black; background-color: white; color: #A970B5;
| red = #CC0000; background-color: #FFCCCC;
| red = #CC0000; background-color: #FFCCCC;
| purpleonwhite = black; background-color: white; color: A970B5
| red2 = black; background-color: red; color: white; <!-- confirmed -->
| skyblue = #000000; background-color: #4CC5FF; color: white;
| redblack = black; background-color: red; color: black; <!-- confirmed -->
| turquoise = white; background-color: #009799; color: white;
| redmahogany = black; background-color: red; color: mahogany; <!-- confirmed -->
| violet = black; background-color: #81007F; color: white;
| redyellow = black; background-color: red; color: yellow; <!-- confirmed -->
| royalblue = black; background-color: royalblue; color: white; <!-- confirmed -->
| rustic = black; background-color: brown; color: white; <!-- confirmed -->
| saddlebrown = black; background-color: saddlebrown; color: white; <!-- confirmed -->
| seagreen = black; background-color: #5E9E9E; color: white;
| sienna = black; background-color: sienna; color: white; <!-- confirmed -->
| siennakhaki = black; background-color: sienna; color: khaki; <!-- confirmed -->
| silver = black; background-color: silver; color: white; <!-- confirmed -->
| slategray = black; background-color: slategray; color: white; <!-- confirmed -->
| steelblue = black; background-color: steelblue; color: white; <!-- confirmed -->
| turquoise = black; background-color: #009799; color: white;
| violet = black; background-color: violet; color: white; <!-- confirmed -->
| violetonwhite = black; background-color: white; color: #81007F;
| white = #000000; background-color: #FFFFFF;
| white = #000000; background-color: #FFFFFF;
| whitedarkblue = black; background-color: white; color: darkblue; <!-- confirmed -->
| whitedarkgray = black; background-color: white; color: darkgray; <!-- confirmed -->
| whitedarkred = black; background-color: white; color: darkred; <!-- confirmed -->
| whitedeepskyblue = black; background-color: white; color: deepskyblue; <!-- confirmed -->
| whitegoldenrod = black; background-color: white; color: goldenrod; <!-- confirmed -->
| whitered = black; background-color: white; color: red; <!-- confirmed -->
| yellow = #FFCC00; background-color: #FFFFCC;
| yellow = #FFCC00; background-color: #FFFFCC;
| antimatter = black; background-color: black; color: limegreen; <!-- confirmed -->
| aurora = black; background-color:
| blackswan = black; background-color: #0F0F1F; color: #FEFEFF; <!-- confirmed special -->
| brawler = #CCCCCD; background-color: #323232; color: #CCCCCD; <!-- confirmed special -->
| calvin = black; background-color: black; color: silver; <!-- confirmed -->
| citadel = #6699BB; background-color: #120F48; color: #6699BB; <!-- confirmed special -->
| creston = black; background-color: royalblue; color: black; <!-- confirmed -->
| desdemona = black; background-color: black; color: goldenrod; <!-- confirmed -->
| diabolique = black; background-color: black; color: #FF33BB; <!-- confirmed special -->
| duray = black; background-color: black; color: firebrick; <!-- confirmed -->
| gaussian = black; background-color: lightseagreen; color: white; <!-- confirmed -->
| grifter = black; background-color: indianred; color: black; <!-- confirmed -->
| hacker = black; background-color: darkolivegreen; color: goldenrod; <!-- confirmed -->
| hd = black; background-color: black; color: cornflowerblue; <!-- confirmed -->
| lilitu = #50BBAA; background-color: #770000; color: #50BBAA; <!-- confirmed special -->
| macblue = black; background-color: deepskyblue; color: olive; <!-- confirmed -->
| maelstrom = black; background-color: #340F12; color: #999999; <!-- confirmed special -->
| malaise = black; background-color: #220055; color: #CC99FF; <!-- confirmed special -->
| manticore = #999999; background-color: #340F12; color: #999999; <!-- confirmed special -->
| marchand = black; background-color: goldenrod; color: black; <!-- confirmed -->
| metronome = black; background-color: white; color: purple; <!-- confirmed -->
| mother = black; background-color: black; color: mediumpurple; <!-- confirmed -->
| motred = black; background-color: maroon; color: red; <!-- confirmed -->
| nightstar = black; background-color: #483D8B; color: #F0FFFF; <!-- confirmed special -->
| numina = #BB99AA; background-color: #660F68; color: #BB99AA; <!-- confirmed special -->
| omnicore = black; background-color: deepskyblue; color: white; <!-- confirmed -->
| pandora = black; background-color: #340F12; color: #999999; <!-- confirmed special -->
| paragon = black; background-color: midnightblue; color: #FF0000; <!-- confirmed Paragon on MidnightBlue -->
| parson = black; background-color: white; color: brown; <!-- confirmed -->
| penny = black; background-color: #601014; color: #CDCCCC; <!-- confirmed special -->
| positron = #3299DD; background-color: #6B5242; color: #3299DD; <!-- confirmed special -->
| proton = black; background-color: darkblue; color: skyblue; <!-- confirmed -->
| psyche = black; background-color: darkseagreen; color: white; <!-- confirmed -->
| riptide = black; background-color: lightseagreen; color: black; <!-- confirmed -->
| special1 = black; background-color: black; color: #BBBBBB; <!-- confirmed special -->
| special2 = black; background-color: black; color: #FF99DD; <!-- confirmed special -->
| sutter = black; background-color: navy; color: white; <!-- confirmed -->
| synapse = black; background-color: #85030A; color: #9895EC; <!-- confirmed special -->
| tilman = black; background-color: black; color: #CC99FF; <!-- confirmed special -->
| tpn = black; background-color: black; color: burlywood; <!-- confirmed -->
| tyrant = black; background-color: darkred; color: yellow; <!-- confirmed -->
| vanessa = black; background-color: indigo; color: goldenrod; <!-- confirmed -->
| wade = black; background-color: lightslategray; color: white; <!-- confirmed -->
| none
| none
| #default = ;
| #default = ;
}}"><div style="text-align: center;">'''{{{2}}}'''</div>{{{3}}}</div></includeonly><noinclude>
}}"><div style="text-align: center;">'''{{{2}}}'''</div>{{{3}}}</div></includeonly><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 13:23, 18 November 2022

[edit] [purge] Documentation

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