ទំព័រគំរូ:Element color
This template in itself is not used. It 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.
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 →#d1ddff
-
Eka-superactinides
Template:Element color/Eka-superactinides →#c6dd9d
-
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 →#ffffff
Metal–nonmetal categories, reduced set
[កែប្រែ]-
Metals
Template:Element color/Metals →#eee8aa
-
Metalloids
Template:Element color/Metalloids →#cccc99
-
Nonmetals
Template:Element color/Nonmetals →#b0e0e6
-
Inner transition metals
Template:Element color/Inner transition metals →#d8bfd8
Years and eras
[កែប្រែ]-
Antiquity to Middle Ages
Template:Element color/Antiquity to Middle Ages →#ffff99
-
Before 1800
Template:Element color/Before 1800 →#98fb98
-
1800-1849
Template:Element color/1800-1849 →#c1ad84
-
1850-1899
Template:Element color/1850-1899 →#fbcb83
-
1900-1949
Template:Element color/1900-1949 →#aad26e
-
1950-1999
Template:Element color/1950-1999 →#6cacde
-
2000-present
Template:Element color/2000-present →#fc86f6
-
Future
Template:Element color/Future →#f7f7e9
Blocks
[កែប្រែ]Note: use lowercase blocknames
-
s-block
Template:Element color/s-block →#ff6699
-
g-block
Template:Element color/g-block →#ffcc66
Note: g-block only exists theoretically -
p-block
Template:Element color/p-block →#99ccff
-
d-block
Template:Element color/d-block →#ccff99
-
f-block
Template:Element color/f-block →#66ffcc
In period 8, theoretical elements:
-
s-block light
Template:Element color/s-block light →#ffbbdd
-
g-block light
Template:Element color/g-block light →#ffddaa
-
p-block light
Template:Element color/p-block light →#cceeff
-
d-block light
Template:Element color/d-block light →#ddffcc
-
f-block light
Template:Element color/f-block light →#bbffee
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 →#c0ffff
-
1
Template:Element color/1 →#ff6666
-
2
Template:Element color/2 →#ffdead
-
3
Template:Element color/3 →#ffbfff
-
4
Template:Element color/4 →#cccccc
-
5
Template:Element color/5 →#cccc99
-
6
Template:Element color/6 →#a0ffa0
-
7
Template:Element color/7 →#ffff99
-
8
Template:Element color/8 →#d1ddff
-
9
Template:Element color/9 →#c6dd9d
"Unknown" variants
[កែប្រែ]-
Unknown
Template:Element color/Unknown →#ffffff
-
Unknown (white)
Template:Element color/Unknown (white) →#ffffff
-
Unknown chemical properties
Template:Element color/Unknown chemical properties →#e8e8e8
-
Unassessed
Template:Element color/Unassessed →transparent
-
Unknown phase
Template:Element color/Unknown phase →DimGrey
-
White
Template:Element color/White →#ffffff;
-
Future
Template:Element color/Future →#f7f7e9
-
(See below)
Template:Element color/(See below) →#f8f8f8
-
X
Template:Element color/X →#ffffff
Note: Deprecated, redireced toUnknown (white)
-
Redirect
Template:Element color/Redirect →#c0c0c0
Wikipedia article quality
[កែប្រែ]Used in: Wikipedia:WikiProject_Elements/Articles/Periodic_Table_by_Quality
-
FA
Template:Element color/FA →#6699ff
-
A
Template:Element color/A →#66ffff
-
GA
Template:Element color/GA →#55cc55
Note: Formal color is#66ff66
-
B+
Template:Element color/B+ →#66ff66
Note: or Bplus -
B
Template:Element color/B →#bcff66
Note: Formal color is#b2ff66
-
C
Template:Element color/C →#ffff66
-
Start
Template:Element color/Start →#ffaa66
-
Stub
Template:Element color/Stub →#ff6666
-
Unassessed
Template:Element color/Unassessed →transparent
Wikipedia article importance
[កែប្រែ]-
Top
Template:Element color/Top →#ff00ff
-
High
Template:Element color/High →#ff88ff
-
Mid
Template:Element color/Mid →#ffbbff
-
Low
Template:Element color/Low →#ffddff
???
Color names
[កែប្រែ]-
Black
Template:Element color/Black →#000000;
-
White
Template:Element color/White →#ffffff;
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
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.
Alternative: simple template {{element color|...}}
[កែប្រែ]All colors are also available via the simple template {{element color|...}}
. That is, enter the nam 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 →#aad26e
Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
E
Template:Element color/E →#6cacde
Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
F
Template:Element color/F →#fc86f6
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 toUnknown (white)
-
Disambig
Template:Element color/Disambig →#00fa9a
Note: Not a legend color, unknown intention. -
UnknownC
Template:Element color/UnknownC →DimGrey
Note: Unclear meaning. Redirected toUnknown phase
-
veryreactive
Template:Element color/veryreactive →#FA8072
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)
Infoboxes with hardcoded series color (header background color):
{{infobox ununennium}}
{{infobox unbinilium}}
See also
[កែប្រែ]Group → | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
↓ Period | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 | 1 H |
2 He | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
2 | 3 Li |
4 Be |
5 B |
6 C |
7 N |
8 O |
9 F |
10 Ne | ||||||||||||||||||||||||||||||||||||||||||||||||
3 | 11 Na |
12 Mg |
13 Al |
14 Si |
15 P |
16 S |
17 Cl |
18 Ar | ||||||||||||||||||||||||||||||||||||||||||||||||
4 | 19 K |
20 Ca |
21 Sc |
22 Ti |
23 V |
24 Cr |
25 Mn |
26 Fe |
27 Co |
28 Ni |
29 Cu |
30 Zn |
31 Ga |
32 Ge |
33 As |
34 Se |
35 Br |
36 Kr | ||||||||||||||||||||||||||||||||||||||
5 | 37 Rb |
38 Sr |
39 Y |
40 Zr |
41 Nb |
42 Mo |
43 Tc |
44 Ru |
45 Rh |
46 Pd |
47 Ag |
48 Cd |
49 In |
50 Sn |
51 Sb |
52 Te |
53 I |
54 Xe | ||||||||||||||||||||||||||||||||||||||
6 | 55 Cs |
56 Ba |
* |
72 Hf |
73 Ta |
74 W |
75 Re |
76 Os |
77 Ir |
78 Pt |
79 Au |
80 Hg |
81 Tl |
82 Pb |
83 Bi |
84 Po |
85 At |
86 Rn | ||||||||||||||||||||||||||||||||||||||
7 | 87 Fr |
88 Ra |
** |
104 Rf |
105 Db |
106 Sg |
107 Bh |
108 Hs |
109 Mt |
110 Ds |
111 Rg |
112 Cn |
113 Uut |
114 Fl |
115 Uup |
116 Lv |
117 Uus |
118 Uuo | ||||||||||||||||||||||||||||||||||||||
* Lanthanides | 57 La |
58 Ce |
59 Pr |
60 Nd |
61 Pm |
62 Sm |
63 Eu |
64 Gd |
65 Tb |
66 Dy |
67 Ho |
68 Er |
69 Tm |
70 Yb |
71 Lu |
|||||||||||||||||||||||||||||||||||||||||
** Actinides | 89 Ac |
90 Th |
91 Pa |
92 U |
93 Np |
94 Pu |
95 Am |
96 Cm |
97 Bk |
98 Cf |
99 Es |
100 Fm |
101 Md |
102 No |
103 Lr | |||||||||||||||||||||||||||||||||||||||||
This is an 18-column periodic table layout, which has come to be referred to as the common or standard form, on account of its popularity. It is also sometimes referred to as the long form, in comparison to the short form or Mendeleev-style, which omits groups 3–12 by placing their elements into the main groups. The wide periodic table incorporates the lanthanides and the actinides, rather than separating them from the main body of the table in order to save space. The extended periodic table adds the 8th and 9th periods, including the superactinides. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|