Template: PhysicsParticle/doc

From New World Encyclopedia
Revision as of 00:34, 23 May 2008 by Dinshaw Dadachanji (talk | contribs) (Auto-import and credit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Edit-paste.svg
This is the template documentation page for {{PhysicsParticle/doc}}.
It is not necessarily intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

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)

present)

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:

TLBLXTRBR

Examples

Template:SubatomicParticle uses this template to display particles, eg.:

{{SubatomicParticle|link=yes|Electron}} -> e is the same as

{{PhysicsParticle|e|TR=−|link=Electron}} -> e (an electron)

{{SubatomicParticle|Charmed antib0}} -> Error in {{SubatomicParticle/symbol}}: unknown particle Charmed antib0 is the same as

{{PhysicsParticle|anti=yes|B|TR=0|BR=c|BRc=1}} -> B0c (a meson)

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

{{ComplexNuclide|link|deuterium}} -> 21D is the same as

{{PhysicsParticle|D|TL=2|BL=1|BLc=1|BR=1|link=deuterium}} -> 21D1

{{Element|link|hydrogen|charge=+}} -> H+ is the same as

{{PhysicsParticle|H|TR=+|link=hydrogen}} -> H+


Credits

New World Encyclopedia writers and editors copied and adjusted this Wikipedia template in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution.The history of earlier contributions by wikipedians is accessible to researchers here:

The history of this article since it was imported to New World Encyclopedia:

Note: Some restrictions may apply to use of individual images which are separately licensed.