Jump to content

ទំព័រគំរូ:Periodic table legend/doc

ពីវិគីភីឌា

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
Background color shows subcategory in the metal–nonmetal range:
លោហៈ Metalloid អលោហៈ Unknown
chemical
properties
អាល់កាឡាំង Alkaline earth metal Super­actinide Lan­thanide Actinide Transition metal Other metal Polyatomic nonmetal Diatomic nonmetal ឧស្ម័នកំរ
black=Solid green=Liquid red=Gas grey=Unknown Color of the atomic number shows state of matter (at 0 °C and 1 atm)
Primordial From decay Synthetic Undiscovered Border shows natural occurrence of the element

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".
Background color shows subcategory in the metal–nonmetal range:
លោហៈ Metalloid អលោហៈ Unknown
chemical
properties
អាល់កាឡាំង Alkaline earth metal Super­actinide Eka-ទំព័រគំរូ:Zwspsuper­actinide Lan­thanide Actinide Transition metal Other metal Polyatomic nonmetal Diatomic nonmetal ឧស្ម័នកំរ
predicted predicted predicted predicted     predicted predicted predicted predicted predicted predicted

Category compact

[កែប្រែ]
|theme1=Category compact
|unknown1=yes
|predicted1=yes
|sa1=yes
|eka-sa1=yes
Alkali metal Alkaline earth metal Super­actinide Eka-ទំព័រគំរូ:Zwspsuper­actinide Lan­thanide Actinide Transition metal Other metal Metalloid Polyatomic nonmetal Diatomic nonmetal Noble gas Unknown
chemical
properties
predicted predicted predicted predicted     predicted predicted predicted predicted predicted predicted

State of matter

[កែប្រែ]
|theme1=State of matter
|predicted1=yes
|unknown1=yes
black=Solid green=Liquid red=Gas grey=Unknown Color of the atomic number shows state of matter (at 0 °C and 1 atm)

Occurrence

[កែប្រែ]
|theme1=Occurrence
|unknown1=yes
Primordial From decay Synthetic Undiscovered Border shows natural occurrence of the element
|theme1=Valence
|unknown1=yes
0 1 2 3 4 5 6 7 8 Unknown Background color shows maximum valence of the chemical element

Metal–nonmetal

[កែប្រែ]
|theme1=Metal–nonmetal
|unknown1=yes
Metal Metalloid Nonmetal Unknown properties Background color shows metals and nonmetals in the periodic table
|theme1=Block
|predicted1=yes
|unknown1=yes
s-block p-block d-block f-block Background color shows the block of the periodic table
s-block p-block d-block f-block g-block Predicted elements are colored in a lighter shade

Age of discovery

[កែប្រែ]
|theme1=Age of discovery
Background color shows age of discovery:
Antiquity to Middle Ages Middle Ages–ទំព័រគំរូ:Zwsp1799 1800–ទំព័រគំរូ:Zwsp1849 1850–ទំព័រគំរូ:Zwsp1899 1900–ទំព័រគំរូ:Zwsp1949 1950–ទំព័រគំរូ:Zwsp1999 Since 2000
(13 elements)
Antiquity to Middle Ages: unrecorded discoveries up into the Middle Ages
(21 elements)
Discoveries during the age of enlightenment
(24 elements)
Scientific and industrial revolutions
(26 elements)
The age of classifying elements; application of spectrum analysis techniques: Boisbaudran, Bunsen, Crookes, Kirchhoff, and others "hunting emission line signatures"
(13 elements)
Development of old quantum theory and quantum mechanics
(16 elements)
Post Manhattan project; synthesis of atomic numbers 98 and above (colliders, bombardment techniques)
(5 elements)
Recent synthesis

Goldschmidt

[កែប្រែ]
|theme1=Goldschmidt

ទំព័រគំរូ:Periodic table legend/Goldschmidt

Janet left step

[កែប្រែ]
|caption=Janet category compact
|theme1=Janet category compact

ទំព័រគំរូ:Periodic table legend/Janet category compact

Example articles

[កែប្រែ]

Theme description text options

[កែប្រែ]
  • It is possible to override or suppress the theme description using |text1=:
|text1=My personal text → description as entered
|text1= (blank) → no description at all
| (omitted) → default description ("category metal–nonmetal ragne")
improvements to ponder
  • Check (remove) repeated %-fonts (may be too small in the end - recently introduced?)
  • Subpages are spelled using ..., so we can have /Category and /Category/sandbox.
  • Always allow /sandbox systematically (change spellings?)
  • /sandbox has link to source template; live one too by option
  • Warn for "predicted"= unnumebred too