Шаблон:Element color/secondary/doc

Мавод аз Википедиа — донишномаи озод

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[вироиши манбаъ]

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 → #a1ffb9 Note: abandoned

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)/sandbox (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test) (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 (contrast checks)

  • A  wikilink → #0645ad Note: basic wl

Deprecated[вироиши манбаъ]

Categories[вироиши манбаъ]

  •    Rare earth metal → #Ffbffe Note: discussed, Nov/Dec 2013
  •    Halogen → #Ffff99 Note: deprecated as a nonmetal category. See nonmetal

'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.

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

ПараметрТавзеҳотTypeStatus
Color class name1

Predefined class name to return its legend color

Example
alkali metal
Stringrequired