Template:Element color/secondary/doc
< Template:Element color | secondary
Revision as of 07:19, 22 June 2021 by Wikipedia>DePiep (→Template data)
| This is a documentation subpage for Template:Element color/secondary. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Colors in this /secondary list should not appear in mainspace.
Available for deprecated colors and development, tests, etc.
Examples
-
(no parameter 1 input)→transparentNote: no input -
monkey→transparentNote: input not in list
Developing
Era
Discovery periodd, sequential range
-
era01→#ffffb2 -
era02→#fed976 -
era03→#feb24caa -
era04→#fd8d3c -
era05→#fc4e2a -
era06→#e31a1c -
era07→#b10026
NNNM (2017/2018)
- Development (see WT:ELEMENTS)
-
Reactive nonmetal→#f0ff8f -
Reactive nonmetal2→#EBFF66Note: test, contrasts
-
Corrosive nonmetal→#f0ff8fNote: abandoned -
Other nonmetal 2013→#a1ffb9Note: abandoned, similar to current Other nonmetal category
Predicted, claimed (2017-2018)
- See Legend testcases
-
primordial-2018→2px solid #6e6e8e -
from decay-2018→2px dashed #6e6e8e -
synthetic-2018→2px dotted #6e6e8e
Group A-B ranges (2017)
- See Periodic table (group names) (/sbox edit diff /test | Source e Talk hist links # /subpages /doc) (Sep 2017)
-
AB-group A→#FFAFC6Note: new set 2017 -
AB-group B→#AFE0FFNote: new set 2017 -
AB-group none→#FEFFAFNote: new set 2017
Wikilink blue
For testing purposes (e.g., contrast checks)
- A
wikilink→#0645adNote: basic wl (help) - A
wikilink visited→#0B0080Note: wl, visited
Deprecated
Categories
- Deprecated per Januari 2021
- usually, block color set is used instead
-
alkali metals→#ff9d9d -
alkaline earth metals→#ffdead -
lanthanides→#ffbfff -
actinides→#ff99cc -
transition metals→#ffc0c0 -
posttransition metals→#cccccc -
other metals→#cccccc -
metalloids→#cccc99 -
reactive nonmetals→#f0ff8f -
other nonmetals→#a0ffa0 -
halogens→#ffff99 -
noble gases→#c0ffff -
unknown chemical properties→#e8e8e8Note: unknownchemicalproperty, unknownchemicalproperties, unknownproperty, unknownproperties
Categoriews depr, before 2021
-
Alkali metal legacy→#ff6666Note: deprecated on 1 December 2020 due to accessibility concerns -
Rare earth metal→#FfbffeNote: discussed, Nov/Dec 2013 -
Halogen 2010→#Ffff99Note: deprecated as a nonmetal category, later restored with identical color
Categories earlier developments
-
superactinide→#d1ddffNote: reserved for future use, but color is used directly on Extended periodic table -
eka-superactinide→#c6dd9dNote: reserved for future use
Blocks
-
s-block legacy→#ff6699Note: deprecated on 12 July 2014 to match outside sources -
p-block legacy→#99ccffNote: deprecated on 12 July 2014 to match outside sources -
d-block legacy→#ccff99Note: deprecated on 12 July 2014 to match outside sources -
f-block legacy→#66ffccNote: deprecated on 12 July 2014 to match outside sources -
g-block legacy→#ffcc66Note: deprecated on 12 July 2014 to match outside sources
'Unknown' variants
-
Unk→#FfffffNote: deprecated -
Unknown (white)→#FfffffNote: deprecated -
X→#FfffffNote: Deprecated, redireced toUnknown (white) -
(See below)→#f8f8f8Note: deprecated -
Redirect→#c0c0c0 -
Unassessed→transparent
States of matter
- A
solid 2013→#000000 - A
liquid 2013→#008000 - A
gas 2013→#ff0000 - A
unknown phase 2013→#696969 - A
solid 2018a→#000000Note: deprecated on 23 January 2021 due to accessibility concerns - A
liquid 2018a→#007000Note: deprecated on 23 January 2021 due to accessibility concerns - A
gas 2018a→#cb0000Note: deprecated on 23 January 2021 due to accessibility concerns - A
unknown phase 2018a→#606060Note: deprecated on 23 January 2021 due to accessibility concerns
Not defined
Do not use these color names. In general, it is advised to use a more specific, meaningful color name.
-
D→transparentNote: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
E→transparentNote: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
F→transparentNote: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
X→#FfffffNote: Unspecific -
Disambig→#00fa9aNote: Not a legend color, unknown intention. -
UnknownC→transparentNote: Unclear meaning. Redirected toUnknown phase -
veryreactive→transparentNote: Testing or sandbox -
Future→transparent
Tracking and warning
- When {{Element color/secondary}} ends up in an article (mainspace), a preview warning is shown and the article is categorised in Category:Element color has unknown ID (0).
Template data
This subtemplate should only be called from its parent template.
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Element color/secondary
Template data
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
This template returns an RGB color number, for usage in css style setting (style="background:#ab23a6"). For certain input, a css fontcolor or border style is returned.
| ||||||||||