টেমপ্লেট:Element color

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

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[সম্পাদনা]

State of matter[সম্পাদনা]

  •    Solid → #000000 
  •    Liquid → #000000 
  •    Gas → #000000 

Alkali metal–noble gases range[সম্পাদনা]

  •    Noble gases → #c0ffff 
  •    Alkali metals → transparent 
  •    Alkaline earth metals → transparent 
  •    Transition metals → transparent 
  •    Lanthanoids → transparent 
  •    Post-transition metals → transparent Note: Formerly Poor metals
  •    Metalloids → #cccc99 
  •    Nonmetals → #b0e0e6 
  •    Halogens → transparent 
  •    Actinoids → transparent 
  •    Superactinides → #d1ddff 
  •    Eka-superactinides → #c6dd9d 
  •    Unknown chemical properties → #e8e8e8 
  •    Unknown → #ffffff 

Years and eras[সম্পাদনা]

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

Blocks[সম্পাদনা]

Note: use lowercase blocknames

  •    s-block → #ff9999 
  •    g-block → #fd99ff 
  •    p-block → #fdff8c 
  •    d-block → #99ccff 
  •    f-block → #9bff99 

In period 8, theorethical elements:

  •    s-block light → #ffcccc 
  •    g-block light → #febfff Note: g-block only exists theoretically
  •    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 
  •    Unassessed → transparent 
  •    Unknown phase → #000000 Note: also UnknownPhase
  •    White → #ffffff 
  •    Future → transparent 
  •    (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

  •    A → #66ffff 
  •    B → #bcff66 
  •    B+ → #66ff66 Note: or Bplus
  •    C → #ffff66 
  •    FA → #6699ff 
  •    GA → #55cc55 
  •    Start → #ffaa66 
  •    Stub → #ff6666 
  •    Unassessed → transparent 

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


টেমপ্লেট: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[সম্পাদনা]

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 → 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, redirected to Unknown (white)
  •    Disambig → #00fa9a Note: Not a legend color, unknown intention.
  •    UnknownC → transparent Note: Unclear meaning. Redirected to Unknown phase
  •    veryreactive → transparent Note: Testing or sandbox.

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[সম্পাদনা]