Template:Element cell/overview

Template page
This section:
colspan=8 style="background:Template:Element color" |
... cell-named
See {{PT}}
cell cell property
cell image
/navbox
{{/navbox}}
/isotopes
{{isotopes (navbox)}}
[[mercury (element)|Template:Infobox element/symbol-to-shyphen-name80HgTemplate:Infobox element/symbol-to-saw]]
Template:Element cell
Template:Element cell property
Template:Element cell image
Template:Element cell/navbox
Template:Element cell/isotopes
Used in wikitable pattern: {| |- | {{element cell-abc|80|Hg}} |}
All cell templates produce a table cell output in pattern:
style="background:#12abdf;" | [[Gold]]
Note that there is the pipe symbol (|) in the middle (added by the template), separating cell style and cell content.
{{element cell
|
|
|
|
|
|
|
| link=
| border=
| bg=
| style=
| title=
| legend=
}}
{{element cell
| 1= Atomic number
| 2= Element name (and default page link; see also 'link=' parameter)
| 3= Symbol
| 4= (not used)
| 5= State of matter (sets font color)
| 6= Metal–nonmetal category name (sets background color, see also bg=)
| 7= Occurrence (sets cell border style)
| link= Wikipedia page (links 2 different, like [[Mercury (element)|mercury]])
| border= Sets border style (overrides 7. Like: border=3px solid red)
| bg= Background color (overrides 6; can look like bg=#aabbcc)
| style= Adds or overrides style settings (do not add the "" quotes)
| title= Mousehover text (overrides title composed from 2, 3, ...)
| legend= Legend text in title (overrides text part that was composed from 6; 5; 7)
}}
Specials
Asterisks {{Element cell-asterisk}}
Template:Element cell-asterisk Template:Element cell-asterisk Template:Element cell-asterisk Template:Element cell-asterisk
PyMOL colors {{Element cell-PyMOL}}
Simplified Chinese characters {{Element cell property/Hans}}
Not mainspace