Wikipedia:WikiProject Elements/Templates
Main talk | Templates RELC | Articles RELC Stats | Periodic Table by Quality other PTQs | Pictures | Isotopes | Periodic Table Graphics (PTG) | Participants WikiChem IRC | Links |
Templates overview
[edit] Recent changes in WP:Elements |
---|
|
List overview · Updated: 2021-12-23 · This box: |
{{periodic table templates}}
→
Elementbox infobox templates
[edit]
Element cell templates
[edit]... cell-named See {{PT}} |
cell | cell property |
cell image |
/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
- Asterisks {{Element cell-asterisk}}
- PyMOL colors {{Element cell-PyMOL}}
- Simplified Chinese characters {{Element cell property/Hans}}
- Not mainspace
- {{element cell/aq}}, see {{Periodic table by article quality}}
- {{Element cell/blind}}
- {{Element cell/index/pt-cell}}
- {{Element cell/period}} → ①
To simplify the rendering of various periodic tables, or parts of the periodic table, several templates are available. They take the same arguments but render the data differently. See examples to the right. All the templates allow an article name (parameter 8) different from the element name (parameter 2); this defaults to element name.
The templates are: {{element cell}}, {{element cell-named}}, {{element cell-large}}, {{element cell property}}, {{element cell AQ}} and {{element cell image}}. For some examples of use, see the periodic table (standard), periodic table (big), periodic table (detailed) and periodic table (large version). For further details and instructions for use, see Template:Element cell/doc.
Other templates are possible, displaying the data as one wishes. The neat things are the reader-friendly coding of the table cells, and the ability to copy an entire table code to another article and leave the data intact, just change the name of the template, and voila – there's another periodic table.
Periodic table, standard form
[edit]1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | H | He | ||||||||||||||||||||||||||||||
2 | Li | Be | B | C | N | O | F | Ne | ||||||||||||||||||||||||
3 | Na | Mg | Al | Si | P | S | Cl | Ar | ||||||||||||||||||||||||
4 | K | Ca | Sc | Ti | V | Cr | Mn | Fe | Co | Ni | Cu | Zn | Ga | Ge | As | Se | Br | Kr | ||||||||||||||
5 | Rb | Sr | Y | Zr | Nb | Mo | Tc | Ru | Rh | Pd | Ag | Cd | In | Sn | Sb | Te | I | Xe | ||||||||||||||
6 | Cs | Ba | La | Ce | Pr | Nd | Pm | Sm | Eu | Gd | Tb | Dy | Ho | Er | Tm | Yb | Lu | Hf | Ta | W | Re | Os | Ir | Pt | Au | Hg | Tl | Pb | Bi | Po | At | Rn |
7 | Fr | Ra | Ac | Th | Pa | U | Np | Pu | Am | Cm | Bk | Cf | Es | Fm | Md | No | Lr | Rf | Db | Sg | Bh | Hs | Mt | Ds | Rg | Cn | Nh | Fl | Mc | Lv | Ts | Og |
|
{{periodic table}}
→
Group | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Hydrogen & alkali metals |
Alkaline earth metals | Triels | Tetrels | Pnictogens | Chalcogens | Halogens | Noble gases | ||||||||||||
Period |
|||||||||||||||||||
2 | |||||||||||||||||||
3 | |||||||||||||||||||
4 | |||||||||||||||||||
5 | |||||||||||||||||||
6 | |||||||||||||||||||
7 | |||||||||||||||||||
- Ca: 40.078 — Abridged value (uncertainty omitted here)[2]
- Po: [209] — mass number of the most stable isotope
Navbox periodic table
[edit]{{Navbox periodic table}}
→
See also
[edit]- Wikipedia:WikiProject_Elements/Legends (overview)
- ^ 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.
- ^ 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. doi:10.1515/pac-2019-0603. ISSN 1365-3075.