قالب:Element cell

title=", " style="text-align:center; color:#000000; background-color:#ffffff; border:none; ;"|

Template documentation[view] [edit] [history] [purge]

Usage

The template produces a content in formatted CSS style for a single element cell (to be used in a periodic table). It is part of a series.

Element cell templates
cell cell-named cell-large cell property cell image cell-asterisk cell AQ
not in articles
cell-1
not in articles
80
Hg
Mer­cury
80
mercury
80
Hg

200.59(2)
isotopes
Hg
200.59(2)
Image: mercury
Hg
80
Asterisks two.svg
80
Hg
Hg
Pattern:
{| |- | {{element cell-...}} |}
All cells produce text like:
style="background:#12abdf; {{{style|}}};" | [[ذهب]]
So there is a pipe symbol (|) in the middle, separating cell style and cell content.
انظر أيضاً: Template:Element color • Template:Element frame

Parameters

All parameters are optional.


 {|
 |-
 | {{element cell|80|mercury|Hg||Liquid|Transition metals|Primordial|link=mercury (element)}}
 |}
80
Hg
Top row

Parameter 1, usually the atomic number, is put in the top row unlinked. If this parameter is present, a <br/> is added. The font color is set by parameter 5, usually the state of matter key.

Asterisk (*)

To add a plain asterisk, as is done to mark lanthanides and actinides, add them in &lt;nowiki> tags in parameter #1 like this:

 | {{element cell|<nowiki>*</nowiki>|Lanthanides}}
Page link

The cell links to parameter 2, usually the element name. If the page name is not the element name, as with [[Mercury (element)]], the correct pagename can be set through link=Mercury (element).

Label

The link is labeled with parameter 3 (usually the symbol): link=[[Aluminium|Al]]. If there is no link provided (no parameter 2, no link=), parameter 3 will show as unlinked text.

Background

The background color is set by parameter 6, usually the category name. It can be set by parameter bg: bg=#aabbcc. Parameter bg is used for just a color, with no legend meaning (no text in the title).

Frame (cell border)

The frame style is set via parameter 7, usually the occurrence. It can be overridden by using {{{1}}}. This sets the border (frame), but does not have a legend meaning (no text in the title).

Style

All style can be set (and overridden) by using the style parameter: style=width:5em;. Do not add quotes ("").

Title

The title (mousehover text) is created from params 1: 6; 7; 5. (name: category; occurrence; state of matter).
The emercury example will give: Mercury: transition metals; primordeal; liquid
When parameters bg or border are used, their setting is not added to the title (they are meaningless). The title can be set (overridden) to any text, including a blank, by using title=...

Legend

The legend is composed from parameters 6, 5 and 7. It can be overridden by using legend=Special meaning. (This can be useful in combination with setting bg=...).

Example using parameters
 {|
 |-
 | {{element cell|one|two|three|bg=yellow|border=3px solid red|link=Main page|title=Some example}}
 |}
one
three

Deprecated

Deprecated parameters: unnamed parameter number 8, unnamed parameter number 9.

See also

{{Element cell/isotopes}}

Element cell templates
cell cell-named cell-large cell property cell image cell-asterisk cell AQ
not in articles
cell-1
not in articles
80
Hg
Mer­cury
80
mercury
80
Hg

200.59(2)
isotopes
Hg
200.59(2)
Image: mercury
Hg
80
Asterisks two.svg
80
Hg
Hg
Pattern:
{| |- | {{element cell-...}} |}
All cells produce text like:
style="background:#12abdf; {{{style|}}};" | [[ذهب]]
So there is a pipe symbol (|) in the middle, separating cell style and cell content.
انظر أيضاً: Template:Element color • Template:Element frame
المجموعة 1 2   3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
الهيدروجين
والفلزات القلوية
الفلزات الأرضية القلوية Pnicto­gens Chal­co­gens Halo­gens Noble
gases
الدورة

1

Hydro­gen
1
He­lium
2
2
Lith­ium
3
Beryl­lium
4
Boron
5
Carbon
6
Nitro­gen
7
Oxy­gen
8
Fluor­ine
9
Neon
10
3
So­dium
11
Magne­sium
12
Alumin­ium
13
Sili­con
14
Phos­phorus
15
Sulfur
16
Chlor­ine
17
Argon
18
4
Potas­sium
19
Cal­cium
20
Scan­dium
21
Tita­nium
22
Vana­dium
23
Chrom­ium
24
Manga­nese
25
Iron
26
Cobalt
27
Nickel
28
Copper
29
Zinc
30
Gallium
31
Germa­nium
32
Arsenic
33
Sele­nium
34
Bromine
35
Kryp­ton
36
5
Rubid­ium
37
Stront­ium
38
Yttrium
39
Zirco­nium
40
Nio­bium
41
Molyb­denum
42
Tech­netium
43
Ruthe­nium
44
Rho­dium
45
Pallad­ium
46
Silver
47
Cad­mium
48
Indium
49
Tin
50
Anti­mony
51
Tellur­ium
52
Iodine
53
Xenon
54
6
Cae­sium
55
Barium
56
Asterisks one.svg
Lute­tium
71
Haf­nium
72
Tanta­lum
73
Tung­sten
74
Rhe­nium
75
Os­mium
76
Iridium
77
Plat­inum
78
Gold
79
Mer­cury
80
Thallium
81
Lead
82
Bis­muth
83
Polo­nium
84
Asta­tine
85
Radon
86
7
Fran­cium
87
Ra­dium
88
Asterisks one.svg
Lawren­cium
103
Ruther­fordium
104
Dub­nium
105
Sea­borgium
106
Bohr­ium
107
Has­sium
108
Meit­nerium
109
Darm­stadtium
110
Roent­genium
111
Coper­nicium
112
Unun­trium
113
Flerov­ium
114
Unun­pentium
115
Liver­morium
116
Unun­septium
117
Unun­octium
118
Asterisks one.svg
Lan­thanum
57
Cerium
58
Praseo­dymium
59
Neo­dymium
60
Prome­thium
61
Sama­rium
62
Europ­ium
63
Gadolin­ium
64
Ter­bium
65
Dyspro­sium
66
Hol­mium
67
Erbium
68
Thulium
69
Ytter­bium
70
 
Asterisks one.svg
Actin­ium
89
Thor­ium
90
Protac­tinium
91
Ura­nium
92
Neptu­nium
93
Pluto­nium
94
Ameri­cium
95
Curium
96
Berkel­ium
97
Califor­nium
98
Einstei­nium
99
Fer­mium
100
Mende­levium
101
Nobel­ium
102
  1. ^ Meija, Juris; et al. (2016). "Atomic weights of the elements 2013 (IUPAC Technical Report)". Pure and Applied Chemistry. 88 (3): 265–91. doi:10.1515/pac-2015-0305.
  2. ^ Prohaska, Thomas; Irrgeher, Johanna; Benefield, Jacqueline; Böhlke, John K.; Chesson, Lesley A.; Coplen, Tyler B.; Ding, Tiping; Dunn, Philip J. H.; Gröning, Manfred; Holden, Norman E.; Meijer, Harro A. J. (2022-05-04). "Standard atomic weights of the elements 2021 (IUPAC Technical Report)". Pure and Applied Chemistry (in الإنجليزية). doi:10.1515/pac-2019-0603. ISSN 1365-3075.