Jump to content

Template:Wp/nod/Element cell image/doc

From Wikimedia Incubator

The template puts an image in the element cell. Default size is 210px wide. Depending on the picture size the text has two layouts:

Image: Mercury, liquid
Mercury (Hg)
80 Transition metal

Width 50px:

Image: Mercury, liquid
Hg
80

The wider layout is used by default when the image size > 60 (60px). A layout can be enforced by setting big=yes or big=no.

Parameter list

[edit source]

Parameters are used as in basic {{element cell}}.

{{Element cell image
|
|
|
| (not used)
|
|
|
| image =
| image size =
| image caption =
| image link =
| big =
| link =
| border =
| legend =
}}

See also

[edit source]
This section:
... cell-named
See {{PT}}
cell-large
{{Large}}
cell
{{Blocks}}
cell property
{{Electron affinities}}
cell image
{{Group x}}
/navbox
{{/navbox}}
/isotopes
{{isotopes (navbox)}}
ᨷᩕᨴᩣ80Hg
mercury
80
Hg
Hg
Image: mercury
Hg
80
Hg
80
Used in wikitable pattern:

{| |- | {{Wp/nod/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
Legend for large cells {{Wp/nod/Large cell legend}}
Hydrogen
1.00794(7)
element name
Wp/nod/ᩃᩮ᩠ᨡᩋᨴᩬᨾ
Wp/nod/ᩈᩢᨬ᩠ᨬᩃᩢᨠ᩠ᨡᨱ᩼​ᨴᩣ᩠ᨦ​ᨥᩮᨾᩦ

Asterisks {{Wp/nod/Element cell-asterisk}}
1 asterisk 2 asterisks 1 asterisk 3 asterisks
PyMOL colors {{Wp/nod/Element cell-PyMOL}}
Simplified Chinese characters {{Wp/nod/Element cell property/Hans}}
Not mainspace

Template:Wp/nod/safesubst: Template:Wp/nod/Periodic table templates overview