![]() | This is the template sandbox page for Template:Physics particle (diff). See also the companion subpage for test cases. |
![]() | This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
Template for creating symbols for physics particles.
Named arguments:
Deprecated:
Here's a diagram:
Template:Subatomic particle uses this template to display particles, e.g.:
{{Subatomic particle|link=yes|Electron}}
→ e−
is the same as
{{Subatomic particle|Strange antib0}}
→ B0
s is the same as
{{Physics particle|anti=yes|B|TR=0|BR=s|BRc=1}}
→ B0The templates in Category:Nuclide templates use this template to display nuclides, e.g.:
{{ComplexNuclide|deuterium|link=yes}}
→ 2
1D is the same as
{{Physics particle|D|TL=2|BL=1|BR=1|link=deuterium}}
→ 2TemplateData for Physics particle
Template for creating symbols for physics particles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Particle symbol | 1 | The main symbol character(s) for the particle | String | required |
Top left | TL | What goes into the top left corner | Unknown | optional |
Bottom left | BL | What goes into the bottom left corner | Unknown | optional |
Top right | TR | What goes into the top right corner | Unknown | optional |
Bottom right | BR | What goes into the bottom right corner | Unknown | optional |
Anti | anti | Adds a bar over the symbol when set to 'yes' | String | optional |
Wikilink | link | Page to which the symbol will link | Page name | optional |
texhtml | texhtml | Adds the texhtml CSS class defined at MediaWiki:Common.css | String | optional |
CSS class | class | Adds arbitrary CSS class(es) to wrapping <span> tag | String | optional |