پرش به محتوا

الگو:PhysicsParticle

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

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
BL
XTR
BR

Examples

[ویرایش]

الگو:SubatomicParticle uses this template to display particles, e.g.:

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

{{PhysicsParticle|e|TR=−|link=Electron}}e
(an الکترون)

{{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
1
D
1
is the same as

{{PhysicsParticle|D|TL=2|BL=1|BR=1|link=deuterium}}2
1
D
1

Template data

[ویرایش]
این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده PhysicsParticle

Template for creating symbols for physics particles.

پارامترهای الگو[ویرایش داده‌های الگو]

پارامترتوضیحاتنوعوضعیت
Particle symbol1

The main symbol character(s) for the particle

رشتهضروری
Top leftTL

What goes into the top left corner

ناشناختهاختیاری
Bottom leftBL

What goes into the bottom left corner

ناشناختهاختیاری
Top rightTR

What goes into the top right corner

ناشناختهاختیاری
Bottom rightBR

What goes into the bottom right corner

ناشناختهاختیاری
Antianti

Adds a bar over the symbol when set to 'yes'

رشتهاختیاری
Wikilinklink

Page to which the symbol will link

نام صفحهاختیاری
texhtmltexhtml

Adds the texhtml CSS class defined at MediaWiki:Common.css

رشتهاختیاری
CSS classclass

Adds arbitrary CSS class(es) to wrapping <span> tag

رشتهاختیاری