Template:Element color/secondary/doc

From blackwiki
Jump to navigation Jump to search

Usage

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

Available for deprecated colors and development, tests, etc.

Examples

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

Developing

Categories

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

Era

Discovery periodd, sequential range

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

NNNM (2017/2018)

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)

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 Template:T links/sandbox links (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

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

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

Deprecated

Categories

  •    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

Blocks

  •    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

  •    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 


Not defined

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 

Template data

This subtemplate should only be called from its parent template.

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Element color/secondary

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
alkali metal
Stringrequired