الگو:Element cell
ظاهر
title="" style="text-align:center; color:#000000; background:#ffffff; border:none; ;"|
Usage
[ویرایش | اشتراکگذاری]The template produces a content in formatted CSS style for a single element cell (to be used in a periodic table).
Element cell templates | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pattern:{| |- | {{element cell-...}} |} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cell | cell-named | cell-large | cell property | cell AQ | cell image | cell-1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| See also: Template:Element color · Template:Element frame | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters
[ویرایش | اشتراکگذاری]Parameters are unnamed.
{{element cell
| 1= atomic number (Z)
| 2= element name
| 3= symbol
| 4= (not used)
| 5= font color*: e.g. state of matter
| 6= background color*: e.g. alkali...noble range name
| 7= cell frame style*: e.g. natural occurrence
| 8= wikipedia page (if deviant from element name)
| 9= background: style (overrides 6)
}}
* marked styles are defined by {{element color}}: they take any recognised Element color/Name.
Example Hg, in wikitable:
{|
|-
| {{element cell|80|mercury|Hg||Liquid|Transition metals|Primordial|mercury (element)}}
|}
| 80 Hg |
The title is created from params 6; 7; 5 (category; natural occurrence; state of matter)