ទំព័រគំរូ:Element color/doc
| This is a documentation subpage for ទំព័រគំរូ:Element color. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
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
[កែប្រែ]-
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 →#d1ddff -
Eka-superactinidesTemplate:Element color/Eka-superactinides →#c6dd9d -
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 →#ffffff
Metal–nonmetal categories, reduced set
[កែប្រែ]-
MetalsTemplate:Element color/Metals →#eee8aa -
MetalloidsTemplate:Element color/Metalloids →#cccc99 -
NonmetalsTemplate:Element color/Nonmetals →#b0e0e6 -
Inner transition metalsTemplate:Element color/Inner transition metals →#d8bfd8
Years and eras
[កែប្រែ]-
Antiquity to Middle AgesTemplate:Element color/Antiquity to Middle Ages →#ffff99 -
Before 1800Template:Element color/Before 1800 →#98fb98 -
1800-1849Template:Element color/1800-1849 →#c1ad84 -
1850-1899Template:Element color/1850-1899 →#fbcb83 -
1900-1949Template:Element color/1900-1949 →#aad26e -
1950-1999Template:Element color/1950-1999 →#6cacde -
2000-presentTemplate:Element color/2000-present →#fc86f6 -
FutureTemplate:Element color/Future →#f7f7e9
Blocks
[កែប្រែ]Note: use lowercase blocknames
-
s-blockTemplate:Element color/s-block →#ff6699 -
g-blockTemplate:Element color/g-block →#ffcc66Note: g-block only exists theoretically -
p-blockTemplate:Element color/p-block →#99ccff -
d-blockTemplate:Element color/d-block →#ccff99 -
f-blockTemplate:Element color/f-block →#66ffcc
In period 8, theoretical elements:
-
s-block lightTemplate:Element color/s-block light →#ffbbdd -
g-block lightTemplate:Element color/g-block light →#ffddaa -
p-block lightTemplate:Element color/p-block light →#cceeff -
d-block lightTemplate:Element color/d-block light →#ddffcc -
f-block lightTemplate: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
-
0Template:Element color/0 →#c0ffff -
1Template:Element color/1 →#ff6666 -
2Template:Element color/2 →#ffdead -
3Template:Element color/3 →#ffbfff -
4Template:Element color/4 →#cccccc -
5Template:Element color/5 →#cccc99 -
6Template:Element color/6 →#a0ffa0 -
7Template:Element color/7 →#ffff99 -
8Template:Element color/8 →#d1ddff -
9Template:Element color/9 →#c6dd9d
"Unknown" variants
[កែប្រែ]-
UnknownTemplate:Element color/Unknown →#ffffff -
Unknown (white)Template:Element color/Unknown (white) →#ffffff -
Unknown chemical propertiesTemplate:Element color/Unknown chemical properties →#e8e8e8 -
UnassessedTemplate:Element color/Unassessed →transparent -
Unknown phaseTemplate:Element color/Unknown phase →DimGrey -
WhiteTemplate:Element color/White →#ffffff; -
FutureTemplate:Element color/Future →#f7f7e9 -
(See below)Template:Element color/(See below) →#f8f8f8 -
XTemplate:Element color/X →#ffffffNote: Deprecated, redireced toUnknown (white) -
RedirectTemplate:Element color/Redirect →#c0c0c0
Wikipedia article quality
[កែប្រែ]Used in: Wikipedia:WikiProject_Elements/Articles/Periodic_Table_by_Quality
-
FATemplate:Element color/FA →#6699ff -
ATemplate:Element color/A →#66ffff -
GATemplate:Element color/GA →#55cc55Note: Formal color is#66ff66 -
B+Template:Element color/B+ →#66ff66Note: or Bplus -
BTemplate:Element color/B →#bcff66Note: Formal color is#b2ff66 -
CTemplate:Element color/C →#ffff66 -
StartTemplate:Element color/Start →#ffaa66 -
StubTemplate:Element color/Stub →#ff6666 -
UnassessedTemplate:Element color/Unassessed →transparent
Wikipedia article importance
[កែប្រែ]-
TopTemplate:Element color/Top →#ff00ff -
HighTemplate:Element color/High →#ff88ff -
MidTemplate:Element color/Mid →#ffbbff -
LowTemplate:Element color/Low →#ffddff ???
Color names
[កែប្រែ]-
BlackTemplate:Element color/Black →#000000; -
WhiteTemplate: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
specis 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.
-
DTemplate:Element color/D →#aad26eNote: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
ETemplate:Element color/E →#6cacdeNote: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
FTemplate:Element color/F →#fc86f6Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
XTemplate:Element color/X →#ffffffNote: Unspecific, redirected toUnknown (white) -
DisambigTemplate:Element color/Disambig →#00fa9aNote: Not a legend color, unknown intention. -
UnknownCTemplate:Element color/UnknownC →DimGreyNote: Unclear meaning. Redirected toUnknown phase -
veryreactiveTemplate:Element color/veryreactive →#FA8072Note: 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||