Template:Divbox: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell (historical)
m (name colors)
m (seo: nosnippet for meta-content notes)
 
(13 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
Line 6: Line 6:
| babyblue = black; background-color: #1E90FF; color: white;
| babyblue = black; background-color: #1E90FF; color: white;
| black = white; background-color: black; color: white;
| black = white; background-color: black; color: white;
| blackskyblue = black; background-color: black; color: skyblue;
| blackcrimson = black; background-color: black; color: crimson; <!-- confirmed -->
| blackcrimson = black; background-color: black; color: crimson; <!-- confirmed -->
| blackdarkgoldenrod = black; background-color: black; color: darkgoldenrod; <!-- confirmed -->
| blackdarkgoldenrod = black; background-color: black; color: darkgoldenrod; <!-- confirmed -->
| blackdarkgray = black; background-color: black; color: darkgray; <!-- confirmed -->
| blackdarkgray = black; background-color: black; color: darkgray; <!-- confirmed -->
| blackdarkorange = black; background-color: black; color: darkorange; <!-- 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 -->
| blackorangered = black; background-color: black; color: orangered; <!-- confirmed -->
| blackred = black; background-color: black; color: red; <!-- confirmed -->
| blackred = black; background-color: black; color: red; <!-- confirmed -->
Line 31: Line 33:
| darkgray = black; background-color: darkgray; color: white; <!-- confirmed -->
| darkgray = black; background-color: darkgray; color: white; <!-- confirmed -->
| darkgreen = black; background-color: darkgreen; 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 -->
| darkmagenta = black; background-color: darkmagenta; color: white; <!-- confirmed -->
| darkolivegreen = black; background-color: darkolivegreen; color: white; <!-- confirmed -->
| darkolivegreen = black; background-color: darkolivegreen; color: white; <!-- confirmed -->
Line 44: Line 47:
| firebrick = black; background-color: firebrick; color: white; <!-- confirmed -->
| firebrick = black; background-color: firebrick; color: white; <!-- confirmed -->
| forest = #006633; background-color: #B5DBAF;
| forest = #006633; background-color: #B5DBAF;
| gold = #F8C500; background-color: #FFEC83;
| goldenrod = black; background-color: goldenrod; color: white; <!-- confirmed -->
| goldenrod = black; background-color: goldenrod; color: white; <!-- confirmed -->
| grass = black; background-color: #91BC91; color: white;
| grass = black; background-color: #91BC91; color: white;
Line 77: Line 81:
| silver = black; background-color: silver; color: white; <!-- confirmed -->
| silver = black; background-color: silver; color: white; <!-- confirmed -->
| slategray = black; background-color: slategray; 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;
| turquoise = black; background-color: #009799; color: white;
| violet = black; background-color: violet; color: white; <!-- confirmed -->
| violet = black; background-color: violet; color: white; <!-- confirmed -->
Line 84: Line 89:
| whitedarkgray = black; background-color: white; color: darkgray; <!-- confirmed -->
| whitedarkgray = black; background-color: white; color: darkgray; <!-- confirmed -->
| whitedarkred = black; background-color: white; color: darkred; <!-- 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 -->
| 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 -->
| antimatter = black; background-color: black; color: limegreen; <!-- confirmed -->
Line 97: Line 104:
| duray = black; background-color: black; color: firebrick; <!-- confirmed -->
| duray = black; background-color: black; color: firebrick; <!-- confirmed -->
| gaussian = black; background-color: lightseagreen; color: white; <!-- confirmed -->
| gaussian = black; background-color: lightseagreen; color: white; <!-- confirmed -->
| grafter = black; background-color: indianred; color: black; <!-- confirmed -->
| grifter = black; background-color: indianred; color: black; <!-- confirmed -->
| hacker = black; background-color: darkolivegreen; color: goldenrod; <!-- confirmed -->
| hacker = black; background-color: darkolivegreen; color: goldenrod; <!-- confirmed -->
| hd = black; background-color: black; color: cornflowerblue; <!-- confirmed -->
| hd = black; background-color: black; color: cornflowerblue; <!-- confirmed -->

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