Jump to content

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

Template:Physics particle/doc

From Wikipedia, the free encyclopedia

Purpose

[edit]

Template for creating symbols for physics particles.

Arguments

[edit]
1 The main symbol character(s) for the particle

Named arguments:

TL = What goes into the top left corner (optional)
BL = What goes into the bottom left corner (optional)
TR = What goes into the top right corner (optional)
BR = What goes into the bottom right corner (optional)
anti = yes – this puts a bar over the symbol
link = Page to which the symbol should link

Deprecated:

BLc = Originally used to supply the count of characters in BL argument.
BRc = Originally used to supply the count of characters in BR argument.

Here's a diagram:

TL
BL
XTR
BR

Examples

[edit]

Template:Subatomic particle uses this template to display particles, e.g.:

{{Subatomic particle|link=yes|Electron}}
e
is the same as

{{Physics particle|e|TR=−|link=Electron}}
e
(an electron)

{{Subatomic particle|Strange antib0}}
B0
s
is the same as

{{Physics particle|anti=yes|B|TR=0|BR=s|BRc=1}}
B0
s
(a meson)

The templates in Category:Nuclide templates use this template to display nuclides, e.g.:

{{ComplexNuclide|deuterium|link=yes}}2
1
D
is the same as

{{Physics particle|D|TL=2|BL=1|BR=1|link=deuterium}}2
1
D
1

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:Physics particle in articles based on its TemplateData.

TemplateData for Physics particle


No description.

Template parameters

ParameterDescriptionTypeStatus
element1

no description

Unknownoptional
top leftTL

no description

Unknownoptional
bottom leftBL

no description

Unknownoptional
top rightTR

no description

Unknownoptional
bottom rightBR

no description

Unknownoptional
antianti

no description

Unknownoptional
wikilinklink

no description

Unknownoptional