साँचा:PhysicsParticle/doc
यह प्रलेखन उपपृष्ठ साँचा:PhysicsParticle के लिए है। इसमें उपयोग विधि की जानकारी, श्रेणियाँ और वह वस्तुएँ हैं जो कि असली साँचा के पृष्ठ पर नही हैं। |
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:
- TLBLXTRBR
Examples
संपादित करेंTemplate:SubatomicParticle uses this template to display particles, eg.:
{{SubatomicParticle|link=yes|Electron}}
→ [[साँचा:SubatomicParticle/link|e⁻]] is the same as
{{SubatomicParticle|Strange antib0}}
→ B⁰s is the same as
{{PhysicsParticle|anti=yes|B|TR=0|BR=s|BRc=1}}
→ B0s (a meson)
The templates in Category:Nuclide templates use this template to display nuclides, eg.:
{{ComplexNuclide|link|deuterium}}
→ साँचा:ComplexNuclide is the same as
{{PhysicsParticle|D|TL=2|BL=1|BR=1|link=deuterium}}
→ 21D1
{{Element|link|hydrogen|charge=+}}
→ साँचा:Element is the same as
{{PhysicsParticle|H|TR=+|link=hydrogen}}
→ H+