साँचा:Element color/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
This template returns the element's legend color, to be used in HTML makeup:
- or
See below.
Alternatively, one can use the subtemplates as a direct name like this:
These साँचा:code options are deprecated, and incomplete.
Overview
State of matter
Metal–nonmetal categories
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline Note: deprecated, use "poor metal" instead
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline Note: deprecated. See nonmetal
- साँचा:legend inline Note: deprecated as a nonmetal category. See nonmetal
Metal–nonmetal categories, reduced set
Year and era
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
Example: साँचा:tl
Blocks
- साँचा:legend inline
- साँचा:legend inline Note: g-block only exists theoretically
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
In period 8, theoretical elements:
Numbers
Used in: Valence (chemistry)#Maximum valences of the elements These colors correspond to the Alkali metal–noble gases range
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
"Unknown" variants
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline Note: Deprecated, redireced to साँचा:code
- साँचा:legend inline
Wikipedia article quality
Used in: Wikipedia:WikiProject Elements/Articles/Periodic Table by Quality
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline Note: Formal color is साँचा:code
- साँचा:legend inline Note: or Bplus
- साँचा:legend inline Note: Formal color is साँचा:code
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
- साँचा:legend inline
Wikipedia article importance
Color names
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 साँचा:code 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 साँचा:code:
- {{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 साँचा:code but not the साँचा:code character.
Template by parameter: साँचा:tlx
All colors are also available via the simple template साँचा:tlx. That is, enter the color's meaningful name as a parameter to the template:
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.
- साँचा:legend inline Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
- साँचा:legend inline Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
- साँचा:legend inline Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
- साँचा:legend inline Note: Unspecific, redirected to साँचा:code
- साँचा:legend inline Note: Not a legend color, unknown intention.
- साँचा:legend inline Note: Unclear meaning. Redirected to साँचा:code
- साँचा:legend inline Note: Testing or sandbox.
Colors hardcoded
The same colors, with the same key, may be hardcoded in templates and pages:
Infoboxes with hardcoded series color (header background color):
See also
साँचा:periodic table templates