Template:Divbox: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>TonyV
mNo edit summary
 
m (seo: nosnippet for meta-content notes)
 
(182 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="boilerplate metadata" id="{{{2}}}" style="{{divstyle{{{1}}}}}"><center><b>{{{2}}}</b></center>{{{3}}}</div>
<includeonly><div role="note" class="boilerplate metadata" id="{{{2}}}" data-nosnippet style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}}
| none = hidden
| #default = solid
}} {{#switch: {{{1}}}
| amber = #663300; background-color: #FFFFCC;
| babyblue = black; background-color: #1E90FF; color: white;
| black = white; background-color: black; color: white;
| 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;
| 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;
| cadetblue = black; background-color: cadetblue; color: white; <!-- confirmed -->
| canary = black; background-color: #FFFD00; color: #020099;
| chocolate = black; background-color: chocolate; color: white; <!-- confirmed -->
| 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;
| 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;
| grayblack = black; background-color: gray; color: black; <!-- confirmed -->
| graycrimson = black; background-color: gray; color: crimson; <!-- confirmed -->
| green = #009900; background-color: #CCFFCC;
| lavender = black; background-color: #9370D8; color: white;
| 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;
| navylightskyblue = black; background-color: navy; color: lightskyblue; <!-- confirmed -->
| orange = #FF6600; background-color: #FFDEB5;
| paleviolet = black; background-color: palevioletred; color: white; <!-- confirmed -->
| 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;
| red2 = black; background-color: red; color: white; <!-- confirmed -->
| redblack = black; background-color: red; color: black; <!-- confirmed -->
| redmahogany = black; background-color: red; color: mahogany; <!-- confirmed -->
| 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;
| 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;
| 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
| #default = ;
}}"><div style="text-align: center;">'''{{{2}}}'''</div>{{{3}}}</div></includeonly><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