The template produces asterisks in formatted for usage in a wikitable. It is part of a series.
Example:
Basic arrangements
|
{{element cell-asterisk|1}} |
|
{{element cell-asterisk|2}} |
|
{{element cell-asterisk|2vertical}} |
|
{{element cell-asterisk|3}} |
|
{{element cell-asterisk|4}} |
|
{{element cell-asterisk|5}} |
|
Additional style settings
|
{{element cell-asterisk|2|style=background:yellow;}} |
|
{{element cell-asterisk|2|align=left}} |
|
{{element cell-asterisk|2|align=right|prefix=Prefx|suffix=Suffx}} |
Prefx Suffx
|
{{element cell-asterisk|1 right|align=right|prefix=Prefx}} |
Prefx
|
{{element cell-asterisk|3|link=Main Page}} |
|
Parameters are optional.
{{element cell-asterisk
|
| size =
| align =
| style =
| prefix=
| suffix=
| link =
}}
|
Number (1 to 5 asterisks; 1r and 1l, or 1 right and 1 left, re-align the single asterisk)
Asterisks width in px (12px=compact cells; 16px default, 20px=large cells)
Horizontal alignment: left, right, center. Plus 0.5em padding there. Default=center. See also "1 right".
Any css style settings. Do not add "" quotes
Text prefixed to the asterisks. Can use <br>
Text suffixed to the asterisks. Can use <br>
Links the image
|
|
cell
|
cell-compact
|
cell-named
|
cell-large
|
cell property
|
cell image
|
cell-asterisk
|
cell AQ not in articles
|
cell-1 not in articles
|
|
|
|
mercury- 7002200590000000000♠200.59
- 7002200592000000000♠200.592(3)
|
|
Hg7002200592000000000♠200.592(3)
|
|
|
|
|
|
Used in wikitable pattern: {| |- | {{element cell-abc|80|Hg}} |}
|
All cell templates produce a table cell output in pattern:
style="background:#12abdf; {{{style|}}};" | [[Gold]] Note that there is the pipe symbol (|) in the middle, 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: 6; 5; 7)
| legend= Legend text in title (overrides text part that was composed from 6; 5; 7)
}}
|
See also: {{element cell-large/legend}} · {{Element color}} · List element cells
|
|
---|
|
Column counts are columns only that contain elements. "Compact cells" denote cells with element symbol only, have navbox style and the table fits basic wiki page width (1024×768). "Detailed cells" have more data, and may cause page width excess (scroll bar added). "Extended" periodic tables are about theoretical periods 8 and higher (element 119 and higher). |
Table forms | Standard | |
---|
Extended | |
---|
Alternative structure | |
---|
|
---|
Element properties | Data | |
---|
Variants | |
---|
Biological | |
---|
Electron | |
---|
History and naming | |
---|
Other | |
---|
|
---|
Groups | |
---|
Blocks | |
---|
Periods | |
---|
Metal–metalloid–nonmetal | |
---|
Chemical compounds | |
---|
Legends | |
---|
Format tables | |
---|
Infoboxes | |
---|
Isotopes | |
---|
Miscellaneous | |
---|
Files and images | |
---|
Wikipedia Books | |
---|
Navigation | |
---|
WikiProject and maintenance | |
---|
Not normalised | |
---|
Images (commons) | |
---|
|