الگو:PhysicsParticle
| این الگو نباید در الگوهای یادکرد مانند شیوه یادکرد ۱ و شیوه یادکرد ۲ بکار رود. زیرا دارای نشانهگذاریهایی است که فراداده COinS را که تولید میکند آلوده میکند. en: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
[ویرایش]الگو:SubatomicParticle uses this template to display particles, e.g.:
{{SubatomicParticle|link=yes|Electron}} → e−
is the same as
{{SubatomicParticle|Strange antib0}} → B0
s is the same as
{{PhysicsParticle|anti=yes|B|TR=0|BR=s|BRc=1}}→ B0
s (a فهرست مزونها)
The templates in رده:الگو:نیوکلاید use this template to display nuclides, e.g.:
{{ComplexNuclide2|deuterium|link=yes}} → 2
1D
1 is the same as
{{PhysicsParticle|D|TL=2|BL=1|BR=1|link=deuterium}}→ 2
1D
1
Template data
[ویرایش]الگوداده PhysicsParticle
Template for creating symbols for physics particles.
| پارامتر | توضیحات | نوع | وضعیت | |
|---|---|---|---|---|
| Particle symbol | 1 | The main symbol character(s) for the particle | رشته | ضروری |
| Top left | TL | What goes into the top left corner | ناشناخته | اختیاری |
| Bottom left | BL | What goes into the bottom left corner | ناشناخته | اختیاری |
| Top right | TR | What goes into the top right corner | ناشناخته | اختیاری |
| Bottom right | BR | What goes into the bottom right corner | ناشناخته | اختیاری |
| Anti | anti | Adds a bar over the symbol when set to 'yes' | رشته | اختیاری |
| Wikilink | link | Page to which the symbol will link | نام صفحه | اختیاری |
| texhtml | texhtml | Adds the texhtml CSS class defined at MediaWiki:Common.css | رشته | اختیاری |
| CSS class | class | Adds arbitrary CSS class(es) to wrapping <span> tag | رشته | اختیاری |