Template:Element cell image/doc

From English Wikipedia @ Freddythechick

Usage

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 <syntaxhighlight lang="text" class="" style="" inline="1">big=yes</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">big=no</syntaxhighlight>.

Parameter list

Parameters are used as in basic {{element cell}}. <syntaxhighlight lang="wikitext"> title=" , " style="text-align:center; vertical-align:bottom; width:px; background:#f0f0f0; border:0; ;"| [[ ]] </syntaxhighlight>

See also

This section:
... cell-named
See {{PT}}
cell cell property
cell image
/navbox
{{/navbox}}
/isotopes
{{isotopes (navbox)}}
Mer­cury80Hg200.59
80
Hg
Hg200.592±0.003
Image: mercury
Hg
80
Hg
80
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.
<syntaxhighlight lang="wikitext">

title="" style="text-align:center; color:; background-color:; border:; ;"| </syntaxhighlight>

<syntaxhighlight lang="wikitext"> title="Mousehover text (overrides title composed from 2, 3, ...)" style="text-align:center; color:transparent; background-color:Background color (overrides 6; can look like bg=#aabbcc); border:Sets border style (overrides 7. Like: border=3px solid red); Adds or overrides style settings (do not add the "" quotes);"| Atomic number
[[Wikipedia page (links 2 different, like mercury)|Symbol]] </syntaxhighlight>

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