ଛାଞ୍ଚ: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
[ସମ୍ପାଦନା]-
SolidTemplate:Element color/Solid →blackNote:#000000 -
LiquidTemplate:Element color/Liquid →greenNote:#008000 -
GasTemplate:Element color/Gas →redNote:#ff0000
Metal–nonmetal categories
[ସମ୍ପାଦନା]-
Alkali metalsTemplate:Element color/Alkali metals →#ff6666 -
Alkaline earth metalsTemplate:Element color/Alkaline earth metals →#ffdead -
LanthanoidsTemplate:Element color/Lanthanoids →#ffbfff -
ActinoidsTemplate:Element color/Actinoids →#ff99cc -
SuperactinidesTemplate:Element color/Superactinides →[[:ଛାଞ୍ଚ:Element color/Superactinides]] -
Eka-superactinidesTemplate:Element color/Eka-superactinides →[[:ଛାଞ୍ଚ:Element color/Eka-superactinides]] -
Transition metalsTemplate:Element color/Transition metals →#ffc0c0 -
Post-transition metalsTemplate:Element color/Post-transition metals →#ccccccNote: FormerlyPoor metals -
MetalloidsTemplate:Element color/Metalloids →#cccc99 -
Other nonmetalsTemplate:Element color/Other nonmetals →#a0ffa0 -
HalogensTemplate:Element color/Halogens →#ffff99 -
Noble gasesTemplate:Element color/Noble gases →#c0ffff -
Unknown chemical propertiesTemplate:Element color/Unknown chemical properties →#e8e8e8 -
UnknownTemplate:Element color/Unknown →[[:ଛାଞ୍ଚ:Element color/Unknown]]
Metal–nonmetal categories, reduced set
[ସମ୍ପାଦନା]-
MetalsTemplate:Element color/Metals →[[:ଛାଞ୍ଚ:Element color/Metals]] -
MetalloidsTemplate:Element color/Metalloids →#cccc99 -
NonmetalsTemplate:Element color/Nonmetals →#a0ffa0 -
Inner transition metalsTemplate:Element color/Inner transition metals →[[:ଛାଞ୍ଚ:Element color/Inner transition metals]]
Years and eras
[ସମ୍ପାଦନା]-
Antiquity to Middle AgesTemplate:Element color/Antiquity to Middle Ages →[[:ଛାଞ୍ଚ:Element color/Antiquity to Middle Ages]] -
Before 1800Template:Element color/Before 1800 →[[:ଛାଞ୍ଚ:Element color/Before 1800]] -
1800-1849Template:Element color/1800-1849 →[[:ଛାଞ୍ଚ:Element color/1800-1849]] -
1850-1899Template:Element color/1850-1899 →[[:ଛାଞ୍ଚ:Element color/1850-1899]] -
1900-1949Template:Element color/1900-1949 →[[:ଛାଞ୍ଚ:Element color/1900-1949]] -
1950-1999Template:Element color/1950-1999 →[[:ଛାଞ୍ଚ:Element color/1950-1999]] -
2000-presentTemplate:Element color/2000-present →[[:ଛାଞ୍ଚ:Element color/2000-present]] -
FutureTemplate:Element color/Future →[[:ଛାଞ୍ଚ:Element color/Future]]
Example: {{Periodic table (discovery periods)}}
Blocks
[ସମ୍ପାଦନା]Note: use lowercase blocknames
-
s-blockTemplate:Element color/s-block →[[:ଛାଞ୍ଚ:Element color/s-block]] -
g-blockTemplate:Element color/g-block →[[:ଛାଞ୍ଚ:Element color/g-block]]Note: g-block only exists theoretically -
p-blockTemplate:Element color/p-block →[[:ଛାଞ୍ଚ:Element color/p-block]] -
d-blockTemplate:Element color/d-block →[[:ଛାଞ୍ଚ:Element color/d-block]] -
f-blockTemplate:Element color/f-block →[[:ଛାଞ୍ଚ:Element color/f-block]]
In period 8, theoretical elements:
-
s-block lightTemplate:Element color/s-block light →[[:ଛାଞ୍ଚ:Element color/s-block light]] -
g-block lightTemplate:Element color/g-block light →[[:ଛାଞ୍ଚ:Element color/g-block light]] -
p-block lightTemplate:Element color/p-block light →[[:ଛାଞ୍ଚ:Element color/p-block light]] -
d-block lightTemplate:Element color/d-block light →[[:ଛାଞ୍ଚ:Element color/d-block light]] -
f-block lightTemplate: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
-
0Template:Element color/0 →[[:ଛାଞ୍ଚ:Element color/0]] -
1Template:Element color/1 →[[:ଛାଞ୍ଚ:Element color/1]] -
2Template:Element color/2 →[[:ଛାଞ୍ଚ:Element color/2]] -
3Template:Element color/3 →[[:ଛାଞ୍ଚ:Element color/3]] -
4Template:Element color/4 →[[:ଛାଞ୍ଚ:Element color/4]] -
5Template:Element color/5 →[[:ଛାଞ୍ଚ:Element color/5]] -
6Template:Element color/6 →[[:ଛାଞ୍ଚ:Element color/6]] -
7Template:Element color/7 →[[:ଛାଞ୍ଚ:Element color/7]] -
8Template:Element color/8 →[[:ଛାଞ୍ଚ:Element color/8]] -
9Template:Element color/9 →[[:ଛାଞ୍ଚ:Element color/9]]
"Unknown" variants
[ସମ୍ପାଦନା]-
UnknownTemplate:Element color/Unknown →[[:ଛାଞ୍ଚ:Element color/Unknown]] -
Unknown (white)Template:Element color/Unknown (white) →[[:ଛାଞ୍ଚ:Element color/Unknown (white)]] -
Unknown chemical propertiesTemplate:Element color/Unknown chemical properties →#e8e8e8 -
UnassessedTemplate:Element color/Unassessed →[[:ଛାଞ୍ଚ:Element color/Unassessed]] -
Unknown phaseTemplate:Element color/Unknown phase →DimGrey -
WhiteTemplate:Element color/White →[[:ଛାଞ୍ଚ:Element color/White]] -
FutureTemplate:Element color/Future →[[:ଛାଞ୍ଚ:Element color/Future]] -
(See below)Template:Element color/(See below) →#f8f8f8 -
XTemplate:Element color/X →[[:ଛାଞ୍ଚ:Element color/X]]Note: Deprecated, redireced toUnknown (white) -
RedirectTemplate:Element color/Redirect →[[:ଛାଞ୍ଚ:Element color/Redirect]]
Wikipedia article quality
[ସମ୍ପାଦନା]Used in: Wikipedia:WikiProject_Elements/Articles/Periodic_Table_by_Quality
-
FATemplate:Element color/FA →[[:ଛାଞ୍ଚ:Element color/FA]] -
ATemplate:Element color/A →[[:ଛାଞ୍ଚ:Element color/A]] -
GATemplate:Element color/GA →[[:ଛାଞ୍ଚ:Element color/GA]]Note: Formal color is#66ff66 -
B+Template:Element color/B+ →[[:ଛାଞ୍ଚ:Element color/B+]]Note: or Bplus -
BTemplate:Element color/B →[[:ଛାଞ୍ଚ:Element color/B]]Note: Formal color is#b2ff66 -
CTemplate:Element color/C →[[:ଛାଞ୍ଚ:Element color/C]] -
StartTemplate:Element color/Start →[[:ଛାଞ୍ଚ:Element color/Start]] -
StubTemplate:Element color/Stub →[[:ଛାଞ୍ଚ:Element color/Stub]] -
UnassessedTemplate:Element color/Unassessed →[[:ଛାଞ୍ଚ:Element color/Unassessed]]
Wikipedia article importance
[ସମ୍ପାଦନା]-
TopTemplate:Element color/Top →[[:ଛାଞ୍ଚ:Element color/Top]] -
HighTemplate:Element color/High →[[:ଛାଞ୍ଚ:Element color/High]] -
MidTemplate:Element color/Mid →[[:ଛାଞ୍ଚ:Element color/Mid]] -
LowTemplate:Element color/Low →[[:ଛାଞ୍ଚ:Element color/Low]] ???
Color names
[ସମ୍ପାଦନା]-
BlackTemplate:Element color/Black →[[:ଛାଞ୍ଚ:Element color/Black]] -
WhiteTemplate: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
specis 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.
-
DTemplate:Element color/D →[[:ଛାଞ୍ଚ:Element color/D]]Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
ETemplate:Element color/E →[[:ଛାଞ୍ଚ:Element color/E]]Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
FTemplate:Element color/F →[[:ଛାଞ୍ଚ:Element color/F]]Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
XTemplate:Element color/X →[[:ଛାଞ୍ଚ:Element color/X]]Note: Unspecific, redirected toUnknown (white) -
DisambigTemplate:Element color/Disambig →[[:ଛାଞ୍ଚ:Element color/Disambig]]Note: Not a legend color, unknown intention. -
UnknownCTemplate:Element color/UnknownC →[[:ଛାଞ୍ଚ:Element color/UnknownC]]Note: Unclear meaning. Redirected toUnknown phase -
veryreactiveTemplate: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}}