साँचा:Element color

मुक्त ज्ञानकोश विकिपीडिया से
Jump to navigation Jump to search

transparentसाँचा:Element color/dummy2

परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज]

This template returns the element's legend color, to be used in HTML makeup:

or

See below.

Alternatively, one can use the subtemplates as a direct name like this:

These /... options are deprecated, and incomplete.

Overview[संपादित करें]

State of matter[संपादित करें]

  •    Solid#000000
  •    Liquid#008000
  •    Gas#ff0000
  •    Solid (predicted)#000000
  •    Liquid (predicted)#008000
  •    Gas (predicted)#ff0000

Metal–nonmetal categories[संपादित करें]

  •    Alkali metal#ff6666
  •    Alkaline earth metal#ffdead
  •    Lanthanoid#ffbfff
  •    Actinoid#ff99cc
  •    Superactinide#d1ddff
  •    Eka-superactinide#c6dd9d
  •    Transition metal#ffc0c0
  •    Metalloid#cccc99
  •    Noble gas#c0ffff
  •    Post-transition metal#cccccc Note: deprecated, use "poor metal" instead
  •    Poor metal#cccccc
  •    Diatomic nonmetal#e7ff8f
  •    Polyatomic nonmetal#a1ffc3
  •    Unknown chemical properties#e8e8e8
  •    Unknown#ffffff
  •    Other nonmetal#a0ffa0 Note: deprecated. See nonmetal
  •    Halogen#ffff99 Note: deprecated as a nonmetal category. See nonmetal

Metal–nonmetal categories, reduced set[संपादित करें]

  •    Metals#eee8aa
  •    Metalloids#cccc99
  •    Nonmetals#b0e0e6
  •    Inner transition metals#d8bfd8

Year and era[संपादित करें]

  •    Antiquity to Middle Ages#ffb9b9
  •    Before 1800#dfcdff
  •    1800-1849#cbffb9
  •    1850-1899#b9ffe4
  •    1900-1949#ffe2b9
  •    1950-1999#fff6b9
  •    2000-present#ffb9ef
  •    Future#

Example: {{Periodic table (discovery periods)}}

Blocks[संपादित करें]

  •    s-block#ff9999
  •    g-block#fd99ff Note: g-block only exists theoretically
  •    p-block#fdff8c
  •    d-block#99ccff
  •    f-block#9bff99

In period 8, theoretical elements:

  •    s-block light#ffcccc
  •    g-block light#febfff
  •    p-block light#ffffbf
  •    d-block light#c7eeff
  •    f-block light#cdffcc

Numbers[संपादित करें]

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

  •    0#c0ffff
  •    1#ff8989
  •    2#ffdead
  •    3#ffbfff
  •    4#cccccc
  •    5#cccc99
  •    6#a0ffa0
  •    7#ffff99
  •    8#d1ddff
  •    9#c6dd9d

"Unknown" variants[संपादित करें]

  •    Unknown#ffffff
  •    Unknown (white)#ffffff
  •    Unknown chemical properties#e8e8e8
  •    Unassessedtransparent
  •    Unknown phase#696969
  •    White#ffffff
  •    Future#
  •    (See below)#f8f8f8
  •    X#ffffff Note: Deprecated, redireced to Unknown (white)
  •    Redirect#c0c0c0

Wikipedia article quality[संपादित करें]

Used in: Wikipedia:WikiProject Elements/Articles/Periodic Table by Quality

  •    FA#6699ff
  •    A#66ffff
  •    GA#ff0000 Note: Formal color is #66ff66
  •    B+#66ff66 Note: or Bplus
  •    B#bcff66 Note: Formal color is #b2ff66
  •    C#ffff66
  •    Start#ffaa66
  •    Stub#ff6666
  •    Unassessedtransparent

Wikipedia article importance[संपादित करें]

  •    Top#ff00ff
  •    High#ff88ff
  •    Mid#ffbbff
  •    Low#ffddff
  • ???

Color names[संपादित करें]

  •    Black#000000
  •    White#ffffff

Table background[संपादित करें]

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


Available background colors for periodic tables
Usage: {{Element color/Table|header}}
Specification
(1st parameter)
Alternative
specification
Returns color Note
title caption #d8d8d8
header #e0e0e0
colheader rowheader, subheader, colh, rowh, subh #e8e8e8
mark #f0f0f0
background bg #f8f8f8 Also the default return value
border   #a9a9a9 Equals predefined color "grey"

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.

Template by parameter: {{element color|...}}[संपादित करें]

All colors are also available via the simple template {{element color|...}}. That is, enter the color's meaningful name as a parameter to the template:

The outcome (color id) is the same. The template is a bit more lax for the input (any capitalisation accepted, also singular accepted).

Deprecated or unknown meaning[संपादित करें]

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

Colors hardcoded[संपादित करें]

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

Infoboxes with hardcoded series color (header background color):

See also[संपादित करें]

साँचा:Periodic table templates