الگو:Element cell/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد
پرش به ناوبری پرش به جستجو

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
80
Hg
۸۰
mercury
80
Hg

200.59(2)
Hg isotopes
Hg
200.59(2)
80
Hg
Image: mercury
Hg
80
جیوه
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)

See also[ویرایش]