Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Periodic table legend/doc

From Wikipedia, the free encyclopedia

This template is a wrapper for a number of legends, each called a theme, used in periodic tables. Examples of themes are: block, state of matter. Each theme can have individual settings for that theme, for example to show "unknown".

Usage

[edit]

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=
|text1=
|unknown1=
|border1=

|themeN=
|textN=
|unknownN=
|borderN=
<!-- (N = 1, 2, 3, 4) -->
}}

Example

[edit]
{{Periodic table legend
|child=no
|caption=Example legend with three themes

|theme1=block|unknown1=yes
|theme2=State of matter|unknown2=yes
|theme3=Occurrence|unknown3=yes|border3=13
}}

Themes

[edit]

The following themes are recognised (note: the caption links are added here for ease)

Block

[edit]
|theme1=Block
|predicted1=yes
|unknown1=yes

Occurrence

[edit]
|theme1=Occurrence
|unknown1=yes
{{Periodic table legend/Occurrence}}

Atomic weight

[edit]
|theme1=Atomic weight
|text1=cell-named

|theme2=Atomic weight
|text2=cell-large
{{Periodic table legend/Atomic weight}}

By default named reference {{CIAAW2016}} is added. It can be omitted using |addCIAAW2016=no.

Valence

[edit]
|theme1=Valence
|unknown1=yes

Metal–nonmetal

[edit]
|theme1=Metal–nonmetal
|unknown1=yes

Simple substance bonding

[edit]
|theme1=Simple substance bonding

Age of discovery

[edit]
|theme1=Age of discovery

Goldschmidt

[edit]
|theme1=Goldschmidt

Janet left step

[edit]
|caption=Janet category compact
|theme1=Janet category compact

Example articles

[edit]

Theme description text options

[edit]
  • 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")

Template Data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Periodic table legend in articles based on its TemplateData.

TemplateData for Periodic table legend

Template Data

No description.

Template parameters

ParameterDescriptionTypeStatus
childchild

no description

Unknownoptional
stylestyle

no description

Unknownoptional
captioncaption

no description

Unknownoptional
texttext

no description

Unknownoptional
themetheme

no description

Unknownoptional
unknownunknown

no description

Unknownoptional
theme1theme1

no description

Unknownoptional
text1text1

no description

Unknownoptional
unknown1unknown1

no description

Unknownoptional
predicted1predicted1

no description

Unknownoptional
sa1sa1

no description

Unknownoptional
eka-sa1eka-sa1

no description

Unknownoptional
border1border1

no description

Unknownoptional
theme2theme2

no description

Unknownoptional
text2text2

no description

Unknownoptional
unknown2unknown2

no description

Unknownoptional
predicted2predicted2

no description

Unknownoptional
sa2sa2

no description

Unknownoptional
eka-sa2eka-sa2

no description

Unknownoptional
border2border2

no description

Unknownoptional
theme3theme3

no description

Unknownoptional
text3text3

no description

Unknownoptional
unknown3unknown3

no description

Unknownoptional
predicted3predicted3

no description

Unknownoptional
sa3sa3

no description

Unknownoptional
eka-sa3eka-sa3

no description

Unknownoptional
border3border3

no description

Unknownoptional
theme4theme4

no description

Unknownoptional
text4text4

no description

Unknownoptional
unknown4unknown4

no description

Unknownoptional
predicted4predicted4

no description

Unknownoptional
sa4sa4

no description

Unknownoptional
eka-sa4eka-sa4

no description

Unknownoptional
border4border4

no description

Unknownoptional

See also

[edit]


  1. ^ a b 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.
  2. ^ a b 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.