Àdàkọ:Element color

transparent

Ìwé-alàyé àdàkọ[ìwò] [àtúnṣe] [ìtàn] [ìfọnù]

This template in itself is not used. It acts as a container for specific colors:

This color code can be used to set a color in a periodic table.

Overview

àtúnṣe

State of matter

àtúnṣe

Alkali metal–noble gases range

àtúnṣe

Years and eras

àtúnṣe

Note: use lowercase blocknames

In period 8, theorethical elements:

Used in: Valence (chemistry)#Maximum valences of the elements These colors correspond to the Alkali metal–noble gases range

"Unknown" variants

àtúnṣe

Wikipedia article quality

àtúnṣe

Used in: Wikipedia:WikiProject_Elements/Articles/Periodic_Table_by_Quality

Table background

àtúnṣe

Notes:

  1. This table background template requires a parameter.
  2. Different from element cell backgrounds, they are not intended to be in a legend.

Usage:

  • {{Element color/Table|header}} → #e0e0e0
The parameter spec is also the first unnamed parameter:
  • {{Element color/Table|header}} → #e0e0e0


Àdàkọ:Element color/Table/Overview

The default value (returned when the first parameter is not recognised) is background:

  • {{Element color/Table|}} → #f8f8f8.
This default can be overridden by parameter:
  • {{Element color/Table|default=#a0f4c0}} → #f8f8f8

The return values are complete color values to be used as a CSS style, including the # but not the ; character.

Deprecated or unknown meaning

àtúnṣe

Do not use these color names. In general, it is advised to use a more specific, meaningfull color name. These color names are not used in main space, and most are redirected to an other color.

  •    D Template:Element color/D[[:Àdàkọ:Element color/D]] Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    E Template:Element color/E[[:Àdàkọ:Element color/E]] Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    F Template:Element color/F[[:Àdàkọ:Element color/F]] Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    X Template:Element color/X#ffffff Note: Unspecific, redirected to Unknown (white)
  •    Disambig Template:Element color/Disambig[[:Àdàkọ:Element color/Disambig]] Note: Not a legend color, unknown intention.
  •    UnknownC Template:Element color/UnknownC[[:Àdàkọ:Element color/UnknownC]] Note: Unclear meaning. Redirected to Unknown phase
  •    veryreactive Template:Element color/veryreactive[[:Àdàkọ:Element color/veryreactive]] Note: Testing or sandbox.

Colors hardcoded

àtúnṣe

The same colors, with the same key, may be hardcoded in templates and pages:

Infoboxes with hardcoded series color (header background color):

See also

àtúnṣe

Àdàkọ:Periodic table