Template:Element cell image/doc
This is a documentation subpage for Template:Element cell image. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
changeThe template puts an image in the element cell. Default size is 210px wide (which fits nicely in group infoboxes like {{Periodic table (chalcogens)}}). Depending on the picture size the text has two layouts:
Mercury (Hg) 80 Transition metal |
Width 50px:
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
changeParameters 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
change... cell-named See {{PT}} |
cell-large {{Large}} |
cell {{Blocks}} |
cell property {{Electron affinities}} |
cell image {{Group x}} |
/navbox {{/navbox}} |
/isotopes {{isotopes (navbox)}} | |||||||
|
|
|
|
|
|
| |||||||
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. | |||||||||||||
{{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 {{Large cell legend}}
Hydrogen 1.00794(7)
|
→element name atomic number chemical symbol |
- Asterisks {{Asterisks}}
- Not mainspace
- {{element cell/aq}}, see {{Periodic table by article quality}}
- {{Element cell/black-&-white-named}} in {{PT in black and white, 18-col}}
- {{Element cell/black-&-white-1}} in {{PT in black and white, 32-col}}
- {{Element cell/blind}} in {{PT blind}}
- {{Element cell/index/pt-cell}}
- {{Element cell/group}} → 18
- {{Element cell/period}} → ①
- (more)