This template is a wrapper for a number of legends, each called a theme, used in periodic tables. Each theme is a subtable that can have individual settings, for example to show "predicted".
The wrapper itself can have settings:
{{Periodic table legend
|child=yes/no (no: stand alone table; default=yes: inside another table, usually the PT table)
|caption= (text to appear as caption for the legend block)
|style= (set style)
...
|}
All parameters looks like:
{{Periodic table legend
|child=
|caption=
|style=
|theme1=
|predicted1=
|sa1=
|eka-sa1=
|unknown1=
|border1=
|theme2=
|predicted2=
|sa2=
|eka-sa2=
|unknown2=
|border2=
(same for theme3=, theme4=)
}}
{{Periodic table legend
|child=no
|caption=Example legend with three themes
|theme1=Category|predicted1=no|sa1=yes|eka-sa1=no|unknown1=yes
|theme2=State of matter|predicted2=no|sa2=yes|eka-sa2=no|unknown2=yes
|theme3=Occurrence|predicted3=no|sa3=yes|eka-sa3=no|unknown3=yes|border3=13
}}
Example legend with three themes
|
|
|
|
The following themes are recognised (note: the caption links are added here for ease)
|theme1=Category
|unknown1=yes
|predicted1=yes
|sa1=yes
|eka-sa1=yes
|text1=This is the legend theme "Category".
|theme1=Category compact
|unknown1=yes
|predicted1=yes
|sa1=yes
|eka-sa1=yes
|theme1=State of matter
|predicted1=yes
|unknown1=yes
|theme1=Occurrence
|unknown1=yes
|theme1=Valence
|unknown1=yes
|
Background color shows maximum valence of the chemical element:
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
Unknown
|
|
|
|theme1=Metal–nonmetal
|unknown1=yes
|theme1=Block
|predicted1=yes
|unknown1=yes
|theme1=Age of discovery
|theme1=Goldschmidt
|
Goldschmidt classification:
|
Lithophile
|
Siderophile
|
Chalcophile
|
Atmophile
|
Synthetic
|
|
|
|caption=Janet category compact
|theme1=Janet category compact
- Subpages are spelled using
, so we can have
and
.
In development
- For
, it is possible to override the caption.
साँचा:Periodic table templates