ଛାଞ୍ଚ:Element color
This template acts as a container for specific colors:
{{Element color/Alkali metals}}
→#ff6666
{{Element color/Solid}}
→green
This color code can be used to set a color in a periodic table.
Alternatively, one can use the plain template with a parameter, like this:
{{Element color|Alkali metals}}
→#ff6666
- or
{{Element color|alkali metal}}
→#ff6666
See below.
Overview
[ସମ୍ପାଦନା]State of matter
[ସମ୍ପାଦନା]-
Solid
Template:Element color/Solid →black
Note:#000000
-
Liquid
Template:Element color/Liquid →green
Note:#008000
-
Gas
Template:Element color/Gas →red
Note:#ff0000
Metal–nonmetal categories
[ସମ୍ପାଦନା]-
Alkali metals
Template:Element color/Alkali metals →#ff6666
-
Alkaline earth metals
Template:Element color/Alkaline earth metals →#ffdead
-
Lanthanoids
Template:Element color/Lanthanoids →#ffbfff
-
Actinoids
Template:Element color/Actinoids →#ff99cc
-
Superactinides
Template:Element color/Superactinides →[[:ଛାଞ୍ଚ:Element color/Superactinides]]
-
Eka-superactinides
Template:Element color/Eka-superactinides →[[:ଛାଞ୍ଚ:Element color/Eka-superactinides]]
-
Transition metals
Template:Element color/Transition metals →#ffc0c0
-
Post-transition metals
Template:Element color/Post-transition metals →#cccccc
Note: FormerlyPoor metals
-
Metalloids
Template:Element color/Metalloids →#cccc99
-
Other nonmetals
Template:Element color/Other nonmetals →#a0ffa0
-
Halogens
Template:Element color/Halogens →#ffff99
-
Noble gases
Template:Element color/Noble gases →#c0ffff
-
Unknown chemical properties
Template:Element color/Unknown chemical properties →#e8e8e8
-
Unknown
Template:Element color/Unknown →[[:ଛାଞ୍ଚ:Element color/Unknown]]
Metal–nonmetal categories, reduced set
[ସମ୍ପାଦନା]-
Metals
Template:Element color/Metals →[[:ଛାଞ୍ଚ:Element color/Metals]]
-
Metalloids
Template:Element color/Metalloids →#cccc99
-
Nonmetals
Template:Element color/Nonmetals →#a0ffa0
-
Inner transition metals
Template:Element color/Inner transition metals →[[:ଛାଞ୍ଚ:Element color/Inner transition metals]]
Years and eras
[ସମ୍ପାଦନା]-
Antiquity to Middle Ages
Template:Element color/Antiquity to Middle Ages →[[:ଛାଞ୍ଚ:Element color/Antiquity to Middle Ages]]
-
Before 1800
Template:Element color/Before 1800 →[[:ଛାଞ୍ଚ:Element color/Before 1800]]
-
1800-1849
Template:Element color/1800-1849 →[[:ଛାଞ୍ଚ:Element color/1800-1849]]
-
1850-1899
Template:Element color/1850-1899 →[[:ଛାଞ୍ଚ:Element color/1850-1899]]
-
1900-1949
Template:Element color/1900-1949 →[[:ଛାଞ୍ଚ:Element color/1900-1949]]
-
1950-1999
Template:Element color/1950-1999 →[[:ଛାଞ୍ଚ:Element color/1950-1999]]
-
2000-present
Template:Element color/2000-present →[[:ଛାଞ୍ଚ:Element color/2000-present]]
-
Future
Template:Element color/Future →[[:ଛାଞ୍ଚ:Element color/Future]]
Example: {{Periodic table (discovery periods)}}
Blocks
[ସମ୍ପାଦନା]Note: use lowercase blocknames
-
s-block
Template:Element color/s-block →[[:ଛାଞ୍ଚ:Element color/s-block]]
-
g-block
Template:Element color/g-block →[[:ଛାଞ୍ଚ:Element color/g-block]]
Note: g-block only exists theoretically -
p-block
Template:Element color/p-block →[[:ଛାଞ୍ଚ:Element color/p-block]]
-
d-block
Template:Element color/d-block →[[:ଛାଞ୍ଚ:Element color/d-block]]
-
f-block
Template:Element color/f-block →[[:ଛାଞ୍ଚ:Element color/f-block]]
In period 8, theoretical elements:
-
s-block light
Template:Element color/s-block light →[[:ଛାଞ୍ଚ:Element color/s-block light]]
-
g-block light
Template:Element color/g-block light →[[:ଛାଞ୍ଚ:Element color/g-block light]]
-
p-block light
Template:Element color/p-block light →[[:ଛାଞ୍ଚ:Element color/p-block light]]
-
d-block light
Template:Element color/d-block light →[[:ଛାଞ୍ଚ:Element color/d-block light]]
-
f-block light
Template:Element color/f-block light →[[:ଛାଞ୍ଚ:Element color/f-block light]]
Numbers
[ସମ୍ପାଦନା]Used in: Valence (chemistry)#Maximum valences of the elements These colors correspond to the Alkali metal–noble gases range
-
0
Template:Element color/0 →[[:ଛାଞ୍ଚ:Element color/0]]
-
1
Template:Element color/1 →[[:ଛାଞ୍ଚ:Element color/1]]
-
2
Template:Element color/2 →[[:ଛାଞ୍ଚ:Element color/2]]
-
3
Template:Element color/3 →[[:ଛାଞ୍ଚ:Element color/3]]
-
4
Template:Element color/4 →[[:ଛାଞ୍ଚ:Element color/4]]
-
5
Template:Element color/5 →[[:ଛାଞ୍ଚ:Element color/5]]
-
6
Template:Element color/6 →[[:ଛାଞ୍ଚ:Element color/6]]
-
7
Template:Element color/7 →[[:ଛାଞ୍ଚ:Element color/7]]
-
8
Template:Element color/8 →[[:ଛାଞ୍ଚ:Element color/8]]
-
9
Template:Element color/9 →[[:ଛାଞ୍ଚ:Element color/9]]
"Unknown" variants
[ସମ୍ପାଦନା]-
Unknown
Template:Element color/Unknown →[[:ଛାଞ୍ଚ:Element color/Unknown]]
-
Unknown (white)
Template:Element color/Unknown (white) →[[:ଛାଞ୍ଚ:Element color/Unknown (white)]]
-
Unknown chemical properties
Template:Element color/Unknown chemical properties →#e8e8e8
-
Unassessed
Template:Element color/Unassessed →[[:ଛାଞ୍ଚ:Element color/Unassessed]]
-
Unknown phase
Template:Element color/Unknown phase →DimGrey
-
White
Template:Element color/White →[[:ଛାଞ୍ଚ:Element color/White]]
-
Future
Template:Element color/Future →[[:ଛାଞ୍ଚ:Element color/Future]]
-
(See below)
Template:Element color/(See below) →#f8f8f8
-
X
Template:Element color/X →[[:ଛାଞ୍ଚ:Element color/X]]
Note: Deprecated, redireced toUnknown (white)
-
Redirect
Template:Element color/Redirect →[[:ଛାଞ୍ଚ:Element color/Redirect]]
Wikipedia article quality
[ସମ୍ପାଦନା]Used in: Wikipedia:WikiProject_Elements/Articles/Periodic_Table_by_Quality
-
FA
Template:Element color/FA →[[:ଛାଞ୍ଚ:Element color/FA]]
-
A
Template:Element color/A →[[:ଛାଞ୍ଚ:Element color/A]]
-
GA
Template:Element color/GA →[[:ଛାଞ୍ଚ:Element color/GA]]
Note: Formal color is#66ff66
-
B+
Template:Element color/B+ →[[:ଛାଞ୍ଚ:Element color/B+]]
Note: or Bplus -
B
Template:Element color/B →[[:ଛାଞ୍ଚ:Element color/B]]
Note: Formal color is#b2ff66
-
C
Template:Element color/C →[[:ଛାଞ୍ଚ:Element color/C]]
-
Start
Template:Element color/Start →[[:ଛାଞ୍ଚ:Element color/Start]]
-
Stub
Template:Element color/Stub →[[:ଛାଞ୍ଚ:Element color/Stub]]
-
Unassessed
Template:Element color/Unassessed →[[:ଛାଞ୍ଚ:Element color/Unassessed]]
Wikipedia article importance
[ସମ୍ପାଦନା]-
Top
Template:Element color/Top →[[:ଛାଞ୍ଚ:Element color/Top]]
-
High
Template:Element color/High →[[:ଛାଞ୍ଚ:Element color/High]]
-
Mid
Template:Element color/Mid →[[:ଛାଞ୍ଚ:Element color/Mid]]
-
Low
Template:Element color/Low →[[:ଛାଞ୍ଚ:Element color/Low]]
???
Color names
[ସମ୍ପାଦନା]-
Black
Template:Element color/Black →[[:ଛାଞ୍ଚ:Element color/Black]]
-
White
Template:Element color/White →[[:ଛାଞ୍ଚ:Element color/White]]
Table background
[ସମ୍ପାଦନା]Notes:
- This table background template requires a parameter.
- 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.
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:
{{element color|alkali metal}}
→#ff6666
.
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, 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 →[[:ଛାଞ୍ଚ: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 →[[:ଛାଞ୍ଚ: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 →[[:ଛାଞ୍ଚ: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 →[[:ଛାଞ୍ଚ:Element color/X]]
Note: Unspecific, redirected toUnknown (white)
-
Disambig
Template:Element color/Disambig →[[:ଛାଞ୍ଚ:Element color/Disambig]]
Note: Not a legend color, unknown intention. -
UnknownC
Template:Element color/UnknownC →[[:ଛାଞ୍ଚ:Element color/UnknownC]]
Note: Unclear meaning. Redirected toUnknown phase
-
veryreactive
Template:Element color/veryreactive →[[:ଛାଞ୍ଚ:Element color/veryreactive]]
Note: Testing or sandbox.
Colors hardcoded
[ସମ୍ପାଦନା]The same colors, with the same key, may be hardcoded in templates and pages:
{{NavPeriodicTable/Elementcell}}
{{Compact extended periodic table}}
{{Infobox element/headers}}
{{Compact periodic table}}
(legend only){{Periodic table (Goldschmidt classification)}}
Infoboxes with hardcoded series color (header background color):
{{infobox ununennium}}
{{infobox unbinilium}}
See also
[ସମ୍ପାଦନା]- {{element cell/overview}}
- {{element frame}}