साँचा:Element color
transparentसाँचा:Element color/dummy2
This template returns the element's legend color, to be used in HTML makeup:
{{Element color|Alkali metals}}
→#ff6666
- or
{{Element color|alkali metal}}
→#ff6666
See below.
Alternatively, one can use the subtemplates as a direct name like this:
{{Element color/Alkali metals}}
→#ff6666
{{Element color/Solid}}
→green
/...
options are deprecated, and incomplete.
Overview
संपादित करेंState of matter
संपादित करें-
→ #000000Solid
-
→ #008000Liquid
-
→ #ff0000Gas
-
→ #000000Solid (predicted)
-
→ #008000Liquid (predicted)
-
→ #ff0000Gas (predicted)
Metal–nonmetal categories
संपादित करें-
→ #ff6666Alkali metal
-
→ #ffdeadAlkaline earth metal
-
→ #ffbfffLanthanoid
-
→ #ff99ccActinoid
-
→ #d1ddffSuperactinide
-
→ #c6dd9dEka-superactinide
-
→ #ffc0c0Transition metal
-
→ #cccc99Metalloid
-
→ #c0ffffNoble gas
-
→ #cccccc Note: deprecated, use "poor metal" insteadPost-transition metal
-
→ #ccccccPoor metal
-
→ #e7ff8fDiatomic nonmetal
-
→ #a1ffc3Polyatomic nonmetal
-
→ #e8e8e8Unknown chemical properties
-
→ #ffffffUnknown
-
→ #a0ffa0 Note: deprecated. See nonmetalOther nonmetal
-
→ #ffff99 Note: deprecated as a nonmetal category. See nonmetalHalogen
Metal–nonmetal categories, reduced set
संपादित करें-
→ #eee8aaMetals
-
→ #cccc99Metalloids
-
→ #b0e0e6Nonmetals
-
→ #d8bfd8Inner transition metals
Year and era
संपादित करें-
→ #ffb9b9Antiquity to Middle Ages
-
→ #dfcdffBefore 1800
-
→ #cbffb91800-1849
-
→ #b9ffe41850-1899
-
→ #ffe2b91900-1949
-
→ #fff6b91950-1999
-
→ #ffb9ef2000-present
-
→ #Future
Example: {{Periodic table (discovery periods)}}
Blocks
संपादित करें-
→ #ff9999s-block
-
→ #fd99ff Note: g-block only exists theoreticallyg-block
-
→ #fdff8cp-block
-
→ #99ccffd-block
-
→ #9bff99f-block
In period 8, theoretical elements:
-
→ #ffccccs-block light
-
→ #febfffg-block light
-
→ #ffffbfp-block light
-
→ #c7eeffd-block light
-
→ #cdffccf-block light
Numbers
संपादित करेंUsed in: Valence (chemistry)#Maximum valences of the elements These colors correspond to the Alkali metal–noble gases range
-
→ #c0ffff0
-
→ #ff89891
-
→ #ffdead2
-
→ #ffbfff3
-
→ #cccccc4
-
→ #cccc995
-
→ #a0ffa06
-
→ #ffff997
-
→ #d1ddff8
-
→ #c6dd9d9
"Unknown" variants
संपादित करें-
→ #ffffffUnknown
-
→ #ffffffUnknown (white)
-
→ #e8e8e8Unknown chemical properties
-
→ transparentUnassessed
-
→ #696969Unknown phase
-
→ #ffffffWhite
-
→ #Future
-
→ #f8f8f8(See below)
-
→ #ffffff Note: Deprecated, redireced toX
Unknown (white)
-
→ #c0c0c0Redirect
Wikipedia article quality
संपादित करेंUsed in: Wikipedia:WikiProject Elements/Articles/Periodic Table by Quality
-
→ #6699ffFA
-
→ #66ffffA
-
→ #ff0000 Note: Formal color isGA
#66ff66
-
→ #66ff66 Note: or BplusB+
-
→ #bcff66 Note: Formal color isB
#b2ff66
-
→ #ffff66C
-
→ #ffaa66Start
-
→ #ff6666Stub
-
→ transparentUnassessed
Wikipedia article importance
संपादित करें-
→ #ff00ffTop
-
→ #ff88ffHigh
-
→ #ffbbffMid
-
→ #ffddffLow
???
Color names
संपादित करें-
→ #000000Black
-
→ #ffffffWhite
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
is also the first unnamed parameter:spec
- {{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" |
background
:
- {{Element color/Table|}} → #f8f8f8.
- This default can be overridden by parameter:
- {{Element color/Table|default=#a0f4c0}} → #f8f8f8
#
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, meaningful color name. These color names are not used in main space, and most are redirected to another color.
-
→ transparentसाँचा:Element color/dummy2 Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.D
-
→ transparentसाँचा:Element color/dummy2 Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.E
-
→ transparentसाँचा:Element color/dummy2 Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.F
-
→ #ffffff Note: Unspecific, redirected toX
Unknown (white)
-
→ #00fa9a Note: Not a legend color, unknown intention.Disambig
-
→ transparentसाँचा:Element color/dummy2 Note: Unclear meaning. Redirected toUnknownC
Unknown phase
-
→ transparentसाँचा:Element color/dummy2 Note: Testing or sandbox.veryreactive
Colors hardcoded
संपादित करेंThe same colors, with the same key, may be hardcoded in templates and pages:
{{NavPeriodicTable/Elementcell}}
{{Infobox element/headers}}
{{Periodic table (Goldschmidt classification)}}
(cells, not the legend)
Infoboxes with hardcoded series color (header background color):
{{infobox ununennium}}
{{infobox unbinilium}}
See also
संपादित करें- {{element cell/overview}}
- {{element frame}}
ऊपर दिए गए निर्देश साँचा:Element color/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |