Template:Element color/secondary/doc

Usage edit

Colors in this /secondary list should not appear in mainspace.

Available for deprecated colors and development, tests, etc.

Examples edit

  •    (no parameter 1 input) → transparent Note: no input
  •    monkey → transparent Note: input not in list

Developing edit

Era edit

Discovery periodd, sequential range

  •    era01 → #ffffb2 
  •    era02 → #fed976 
  •    era03 → #feb24caa 
  •    era04 → #fd8d3c 
  •    era05 → #fc4e2a 
  •    era06 → #e31a1c 
  •    era07 → #b10026 

NNNM (2017/2018) edit

Development (see WT:ELEMENTS)
  •    Reactive nonmetal → #f0ff8f 
  •    Reactive nonmetal2 → #EBFF66 Note: test, contrasts
  •    Corrosive nonmetal → #f0ff8f Note: abandoned
  •    Other nonmetal 2013 → #a1ffb9 Note: abandoned, similar to current Other nonmetal category

Predicted, claimed (2017-2018) edit

See Legend testcases
  •    primordial-2018 → 2px solid #6e6e8e 
  •    from decay-2018 → 2px dashed #6e6e8e 
  •    synthetic-2018 → 2px dotted #6e6e8e 

Group A-B ranges (2017) edit

See Periodic table (group names)/sandbox (edit · t · history · diff · links · /test · Source · e · t · hist · links · /subpages · /doc · /doc edit) (Sep 2017)
  •    AB-group A → #FFAFC6 Note: new set 2017
  •    AB-group B → #AFE0FF Note: new set 2017
  •    AB-group none → #FEFFAF Note: new set 2017

Wikilink blue edit

For testing purposes (e.g., contrast checks)

  • A  wikilink → #0645ad Note: basic wl (help)
  • A  wikilink visited → #0B0080 Note: wl, visited

Deprecated edit

Categories edit

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 → #e8e8e8 Note: unknownchemicalproperty, unknownchemicalproperties, unknownproperty, unknownproperties

Categoriews depr, before 2021 edit

  •    Alkali metal legacy → #ff6666 Note: deprecated on 1 December 2020 due to accessibility concerns
  •    Rare earth metal → #Ffbffe Note: discussed, Nov/Dec 2013
  •    Halogen 2010 → #Ffff99 Note: deprecated as a nonmetal category, later restored with identical color

Categories earlier developments edit

  •    superactinide → #d1ddff Note: reserved for future use, but color is used directly on Extended periodic table
  •    eka-superactinide → #c6dd9d Note: reserved for future use

Blocks edit

  •    s-block legacy → #ff6699 Note: deprecated on 12 July 2014 to match outside sources
  •    p-block legacy → #99ccff Note: deprecated on 12 July 2014 to match outside sources
  •    d-block legacy → #ccff99 Note: deprecated on 12 July 2014 to match outside sources
  •    f-block legacy → #66ffcc Note: deprecated on 12 July 2014 to match outside sources
  •    g-block legacy → #ffcc66 Note: deprecated on 12 July 2014 to match outside sources

'Unknown' variants edit

  •    Unk → #Ffffff Note: deprecated
  •    Unknown (white) → #Ffffff Note: deprecated
  •    X → #Ffffff Note: Deprecated, redireced to Unknown (white)
  •    (See below) → #f8f8f8 Note: deprecated
  •    Redirect → #c0c0c0 
  •    Unassessed → transparent 

States of matter edit

  • A  solid 2013 → #000000 
  • A  liquid 2013 → #008000 
  • A  gas 2013 → #ff0000 
  • A  unknown phase 2013 → #696969 
  • A  solid 2018a → #000000 Note: deprecated on 23 January 2021 due to accessibility concerns
  • A  liquid 2018a → #007000 Note: deprecated on 23 January 2021 due to accessibility concerns
  • A  gas 2018a → #cb0000 Note: deprecated on 23 January 2021 due to accessibility concerns
  • A  unknown phase 2018a → #606060 Note: deprecated on 23 January 2021 due to accessibility concerns

Not defined edit

Do not use these color names. In general, it is advised to use a more specific, meaningful color name.

  •    D → transparent Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    E → transparent Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    F → transparent Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    X → #Ffffff Note: Unspecific
  •    Disambig → #00fa9a Note: Not a legend color, unknown intention.
  •    UnknownC → transparent Note: Unclear meaning. Redirected to Unknown phase
  •    veryreactive → transparent Note: Testing or sandbox
  •    Future → transparent 

Tracking and warning edit

Template data edit

This subtemplate should only be called from its parent template.

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Element color/secondary in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
Color class name1

Predefined class name to return its legend color

Example
s-block
Stringrequired