Template:Physics particle/doc
Appearance
Template:Template doc page viewed directly
Purpose
Template for creating symbols for physics particles.
Arguments
- 1 The word "anti" (optional), this puts a bar over the symbol
- 1 or 2 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)
- Blc = Count of characters in the bottom left corner (required if both TL and BL present)
- TR = What goes into the top right corner (optional)
- BR = What goes into the bottom right corner (optional)
- BRc = Count of characters in the bottom right corner (required if both TR and BR present)
- link = Page to which the symbol should link
Here's a diagram:
- TL
BLantiTR
BR
Examples
Template:SubatomicParticle uses this template to display particles, eg.:
{{SubatomicParticle|link|Electron}}
-> is the same as
{{SubatomicParticle|AntiBs0}}
-> is the same as
{{PhysicsParticle|anti|B|TR=0|BR=s|BRc=1}}
->
anti0
s (a meson)
The templates in Category:Nuclide templates use this template to display nuclides, eg.:
{{ComplexNuclide|link|deuterium}}
-> The element link does not exist. is the same as
{{PhysicsParticle|D|TL=2|BL=1|BLc=1|BR=1|link=deuterium}}
-> 2
1D
1
{{Element|link|hydrogen|charge=+}}
-> Template:Element is the same as
{{PhysicsParticle|H|TR=+|link=hydrogen}}
->
H+