Template:Physics particle: Difference between revisions
From Vigyanwiki
(Created page with "<includeonly><span style="white-space:nowrap;"><!-- -->{{#if:{{{link|}}} |{{{link}}}{{!}}{{su|a=r|lh=1.0em|p={{{TL|}}}|b={{{BL|}}}}}<!-- -->{{#ifeq:{{{anti|}}}|yes|<spa...") |
m (1 revision imported) |
(No difference)
|
Revision as of 09:44, 2 September 2022
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. |
Purpose
Template for creating symbols for physics particles.
Arguments
- 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
BLXTR
BR
Examples
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}}
→
B0
s (a meson)
The 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}}
→ 2
1D
1
Tests
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Physics particle
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
element | 1 | no description | Unknown | optional |
top left | TL | no description | Unknown | optional |
bottom left | BL | no description | Unknown | optional |
top right | TR | no description | Unknown | optional |
bottom right | BR | no description | Unknown | optional |
anti | anti | no description | Unknown | optional |
wikilink | link | no description | Unknown | optional |