Πρότυπο:Physics particle

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια
Μετάβαση στην πλοήγηση Πήδηση στην αναζήτηση

Documentation icon Τεκμηρίωση προτύπου[προβολή] [επεξεργασία] [ιστορικό] [εκκαθάριση]

Purpose[επεξεργασία κώδικα]

Template for creating symbols for physics particles.

Arguments[επεξεργασία κώδικα]

1 The main symbol character(s) for the particle

Named arguments:

anti = yes – this puts a bar over the symbol
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)
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[επεξεργασία κώδικα]

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

{{Subatomic particle|link=yes|Electron}} → Error no link defined is the same as

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

{{Subatomic particle|Strange antib0}} → Error no symbol defined 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, eg.:

{{ComplexNuclide|link|deuterium}}Πρότυπο:ComplexNuclide is the same as

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

{{Element|link|hydrogen|charge=+}}Πρότυπο:Element is the same as

{{Physics particle|H|TR=+|link=hydrogen}}H+

</includeonly>