الگو:Element color
transparent
This template returns the element's legend color, to be used in HTML makeup:
- {{Element color|Alkali metals}} →
#ff6666
- {{Element color|alkali metal}} →
#ff6666
Overview
ویرایشState of matter (font color)
ویرایش- Color attribute value (font color); color number can can be used as background but the key is not defined then.
- A
Solid
→#000000
(solid) - A
Liquid
→#007000
(liquid) - A
Gas
→#cb0000
(ga_) - A
Unknown phase
→#606060
(unknownphase)
- A
Solid (predicted)
→#000000
(solid(predicted)) - A
Liquid (predicted)
→#008000
(liquid(predicted)) - A
Gas (predicted)
→#ff0000
(gas(predicted))
Occurrence (cell border; aka frame)
ویرایش- Border attribute value
-
Primordial
→2px solid #6e6e8e
(primordial) -
From decay
→2px dashed #6e6e8e
(fromdecay) Note: "Natural radio" deprecated -
Synthetic
→2px dotted #6e6e8e
(synthetic) -
Undiscovered
→2px solid transparent
(undiscovered) -
None
→2px solid transparent
(none)
Metal–nonmetal categories
ویرایش-
Alkali metals
→#ff6666
(alkalimetal_) -
Alkaline earth metals
→#ffdead
(alkalineearthmetal_) -
Lanthanides
→#ffbfff
(lanthanide_) -
Actinide
→#ff99cc
(actinide) -
Superactinide
→#d1ddff
(superactinide) -
Eka-superactinide
→#c6dd9d
(eka-superactinide) -
Transition metal
→#ffc0c0
(transitionmetal) -
Post-transition metal
→#cccccc
(post-transitionmetal) -
Metalloid
→#cccc99
(metalloid) -
Diatomic nonmetal
→#e7ff8f
(diatomicnonmetal) -
Polyatomic nonmetal
→#a1ffc3
(polyatomicnonmetal) -
Noble gas
→#c0ffff
(noblega_)
-
Unknown chemical properties
→#c0ffff
(unknownchemicalpropertie_) -
Unknown
→#ffffff
(unknown)
Metal–nonmetal categories, reduced set
ویرایش-
Metals
→#eee8aa
(metal_) -
Metalloids
→#cccc99
(metalloid_) -
Nonmetals
→#b0e0e6
(nonmetal_) -
Inner transition metals
→#d8bfd8
(innertransitionmetal_)
Year and era
ویرایش-
Antiquity to Middle Ages
→#ffb9b9
(antiquitytomiddleage_) -
Before 1800
→#dfcdff
(before1800) -
1800-1849
→#cbffb9
(1800-1849) -
1850-1899
→#b9ffe4
(1850-1899) -
1900-1949
→#ffe2b9
(1900-1949) -
1950-1999
→#fff6b9
(1950-1999) -
2000-present
→#ffb9ef
(2000-present) -
Future
→transparent
(future)
Example: {{Periodic table (discovery periods)}}
Blocks
ویرایش-
s-block
→#ff9999
(s-block) -
p-block
→#fdff8c
(p-block) -
d-block
→#99ccff
(d-block) -
f-block
→#9bff99
(f-block) -
g-block
→#fd99ff
(g-block) Note: unused, g-block does not exist. This color is used to derive the 'predicted' color
In period 8, theoretical elements:
-
s-block (predicted)
→#ffcccc
(s-block(predicted)) -
p-block (predicted)
→#ffffbf
(p-block(predicted)) -
d-block (predicted)
→#c7eeff
(d-block(predicted)) -
f-block (predicted)
→#cdffcc
(f-block(predicted)) -
g-block (predicted)
→#febfff
(g-block(predicted))
Numbers
ویرایشUsed in: ظرفیت شیمیایی These colors correspond to the Alkali metal–noble gases range
-
0
→#c0ffff
(0) -
1
→#ff8989
(1) -
2
→#ffdead
(2) -
3
→#ffbfff
(3) -
4
→#cccccc
(4) -
5
→#cccc99
(5) -
6
→#a0ffa0
(6) -
7
→#ffff99
(7) -
8
→#d1ddff
(8) -
9
→#c6dd9d
(9)
Metalloid cite classes
ویرایشSee Template:Periodic table (list of metalloid lists)
-
Metalloid citeclass 1of4
→#baffba
(metalloidciteclass1of4) Note: currently: 93% -
Metalloid citeclass 2of4
→#badcff
(metalloidciteclass2of4) Note: currently: 44% -
Metalloid citeclass 3of4
→#ffbadc
(metalloidciteclass3of4) Note: currently: 24% -
Metalloid citeclass 4of4
→#ffffba
(metalloidciteclass4of4) Note: currently: 9%
Setting a default color
ویرایش|1=not a color name
|default=#aabbcc
→ #aabbcc (use # not #)|1=not a color name
|default=thistle
→ thistle
Misc
ویرایش-
Rare earth metal
→#Ffbffe
(rareearthmetal) Note: discussed, Nov/Dec 2013 -
Halogen
→#Ffff99
(halogen) Note: deprecated as a nonmetal category. See نافلزها
"Unknown" variants
ویرایش-
Unknown
→#ffffff
(unknown) -
Unk
→#Ffffff
(unk) -
Unknown (white)
→#Ffffff
(unknown(white)) -
White
→#ffffff
(white) -
X
→#Ffffff
(x) Note: Deprecated, redireced toUnknown (white)
-
Unknown chemical properties
→#c0ffff
(unknownchemicalpropertie_) -
(See below)
→#f8f8f8
((seebelow)) Note: deprecated -
Future
→transparent
(future) -
Redirect
→#c0c0c0
(redirect) -
Unassessed
→transparent
(unassessed) - A
Unknown phase
→#606060
(unknownphase) -
Undiscovered
→2px solid transparent
(undiscovered) -
none
→2px solid transparent
(none)
Wikipedia article quality
ویرایشUsed in: Wikipedia:WikiProject Elements/Articles/Periodic Table by Quality
-
aq-FA
→#6699ff
(aq-fa) -
aq-A
→#66ffff
(aq-a) -
aq-GA
→#55cc55
(aq-ga) Note: Formal color is#66ff66
-
aq-B+
→#66ff66
(aq-b+) Note: or aq-Bplus -
aq-B
→#bcff66
(aq-b) Note: Formal color is#b2ff66
-
aq-C
→#ffff66
(aq-c) -
aq-Start
→#ffaa66
(aq-start) -
aq-Stub
→#ff6666
(aq-stub) -
aq-Unassessed
→#f8f9fa
(aq-unassessed)
Wikipedia article importance
ویرایش-
imp-Top
→#ff00ff
(imp-top) -
imp-High
→#ff88ff
(imp-high) -
imp-Mid
→#ffbbff
(imp-mid) -
imp-Low
→#ffddff
(imp-low) -
imp-???
→#f8f9fa
(imp-???) -
imp-n/a
→#f5f5f5
(imp-n/a)
Color names
ویرایش-
Black
→#000000
(black) -
White
→#ffffff
(white)
-
blue
→#0000ff
(blue) -
green
→#008000
(green) -
red
→#ff0000
(red) -
yellow
→#ffff00
(yellow)
Table background
ویرایش-
table title
→#d8d8d8
(tabletitle) -
table header
→#e0e0e0
(tableheader) -
table colheader
→#e8e8e8
(tablecolheader) -
table mark
→#f0f0f0
(tablemark) -
table background
→#f8f8f8
(tablebackground) -
table border
→#a9a9a9
(tableborder)
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 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, meaningful color name. These color names are not used in main space, and most are redirected to another color.
-
D
→transparent
(d) Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
E
→transparent
(e) Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
F
→transparent
(f) Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
X
→#Ffffff
(x) Note: Unspecific, redirected toUnknown (white)
-
Disambig
→#00fa9a
(disambig) Note: Not a legend color, unknown intention. -
UnknownC
→transparent
(unknownc) Note: Unclear meaning. Redirected toUnknown phase
-
veryreactive
→transparent
(veryreactive) Note: Testing or sandbox.
Colors hardcoded
ویرایشThe same colors, with the same key, may be hardcoded in templates and pages:
- See Category
{{Periodic table (32 columns, micro)/elementcell}}
{{Periodic table (Goldschmidt classification)}}
(cells, not the legend){{Periodic table (electron configuration)}}
{{Periodic table (electron configuration lanthanides)}}
- عنصر دوره ۷
Deprecated parameters
ویرایشColor names tracked
|
---|
List of color names to be researched: | actinoid | actinoids | future | inner transition metal | inner transition metals | lanthanoid | lanthanoids | natural radio | other metal | other metals | other metal (predicted) | other metals (predicted) | poor metal | poor metals | poor metal (predicted) | poor metals (predicted) | rare earth metal | rare earth metals | x | unk | unknown (white) | unknown property | unknown properties | (see below) | (seebelow) | seebelow | see below | see below (border) | white | black | red | yellow | blue | green <!-- blocks --> | ??? | imp-??? | imp-unassessed | s-block-p | s-block light | p-block-p | p-block light | d-block-p | d-block light | f-block-p | f-block light | g-block-p | g-block light <!-- aq-pref missing--> | fa | a | ga <!-- gaS conflict plural-s--> | b | c | start | stub | list | bplus | b+ | future | current | disambig | na | redirect | book | template | category | unassessed <!-- IMP prefix missing--> | top | high | mid | low | bottom | na | n/a | ??? | unassessed <!--table--> | tablecolh | tablerowh | unknownc | veryreactive | halogen | halogen (predicted) | halogens (predicted) |
See also
ویرایش- {{element cell/overview}}
- {{element frame}}