الگو:جعبه اطلاعات آی‌پی‌ای

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

Usage ویرایش

This template can be used to add an infobox for a phonetic sound.

This infobox can be used to describe a phonetic sound, both by its name and its IPA symbol. Additional information can be added, like the X-SAMPA letters and a graphic image file.

In general, the descriptive name corresponds with the article name. The infobox is then placed on that article page.

Parameters ویرایش

Basic parameters ویرایش

Only a few parameters are required to produce a useful infobox. The above header can be set, and up to four IPA symbols can be shown:

|ipa number= is required to show the sound if available and the header if |above= is omitted.

Decimals are decimal character references, also known as "Entity", to define the symbol in HTML. The template tries to find all known information with these two numbers.

Some more basic parameters:

Voiced velar stop
ɡ
شماره IPA110
کدبندی
محتوا (اعشاری)ɡ
یونیکد (شانزدهتایی)U+0261
الفبای آواییg
کیرشنبامg

 
{{Infobox IPA
| above       = Voiced velar stop
| ipa number  = 110
| decimal     = 609
| imagefile   = Voiced velar stop (vector).svg
| imagesize   = 150px
| x-sampa     = g
| kirshenbaum = g
| braille     = g
}}

Full parameter list ویرایش

{{infobox IPA
| above        =
| ipa symbol   =
| ipa symbol2  =
| ipa symbol3  =
| ipa symbol4  =

| imagefile    =
| imagecaption =
| imagesize    =

| ipa number   =
| ipa link     =
| decimal1     =
| decimal2     =
| decimal3     =
| decimal4     =
| note1 label  =
| note1        =

| unicode      =
| x-sampa      =
| kirshenbaum  =
| braille      = 
| braille2     = 
| braille3     = 
| braille4     = 
| note2 label  =
| note2        =
}}
Decimal numbers

Up to four decimal values can be entered, to compose the symbol:

ʎ̥˔
شماره IPA157 402A 429
کدبندی
محتوا (اعشاری)ʎ​̥​˔
یونیکد (شانزدهتایی)U+028E U+0325 U+02D4

 
| ipa symbol = ʎ̥˔
| ipa number = 157 402A 429
| decimal1   = 654
| decimal2   = 805
| decimal3   = 724
| decimal4   =

Multiple symbols ویرایش

Up to eight symbols can be shown in big font.

Downstep and upstep
ꜛ◌
ꜜ◌

 
| above = Downstep and upstep
| ipa symbol  = ꜛ◌
| ipa symbol2 = ꜜ◌
| ipa symbol3 =
...
| ipa symbol8 =

Image ویرایش

Adding an image of the symbol:

ʎ̥˔

 
{{infobox IPA
| ipa symbol = ʎ̥˔
| imagefile    = Lateral fricatives.svg
| imagecaption = image example
| imagesize    = 50px
}}

More input options ویرایش

a
Extra note 1This is my first note
کدبندی
یونیکد (شانزدهتایی)U+9999
الفبای آواییX-S
کیرشنبامK
Extra note 2Another note by me here

 
| ipa symbol   = a
| note1 label  = Extra note 1
| note1        = This is my first note

| unicode      = U+9999
| x-sampa      = X-S
| kirshenbaum  = K
| note2 label  = Extra note 2
| note2        = Another note by me here

Sound file ویرایش

The template tries to determine the default sound file name by the IPA symbol as defined at پودمان:IPA symbol/data:

Deprecated parameters ویرایش

The next parameters are deprecated. They can still be used, and may be present in articles.

Old parameters are treated as input for new ones, e.g. input ipa-image=... is read as input for imagefile=....

old parameter goes into new parameter:<br>
ipa-number    => ipa number
ipa-text      => ipa symbol
ipa-image     => imagefile
decimal       => decimal1
xsampa        => x-sampa

Priorities in parameters ویرایش

The template tries to get as much information as possible from the input. Overwriting:

| above        = (overwrites ipa symbol name (IPA symbol) in header)
| ipa symbol   = (overwrites big symbol that was created by the decimal numbers)
| unicode      = (overwrites Unicode numbers that were determinated by the decimal numbers)

بدون توصیف.

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

پارامترتوضیحاتنوعوضعیت
Label aboveabove title

Title of the info box

مثال
Voiced velar stop
خطپیشنهادشده
IPA symbol 1ipa symbol ipa-text

IPA symbol for the sound

مثال
g
خطپیشنهادشده
decimal HMTL codepoint 1decimal1 decimal

Defines the first symbol in HTML

مثال
162
شمارهپیشنهادشده
decimal2decimal2

بدون توصیف

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

بدون توصیف

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

بدون توصیف

ناشناختهاختیاری
ipa symbol2ipa symbol2

بدون توصیف

ناشناختهاختیاری
ipa symbol3ipa symbol3

بدون توصیف

ناشناختهاختیاری
ipa symbol4ipa symbol4

بدون توصیف

ناشناختهاختیاری
ipa symbol5ipa symbol5

بدون توصیف

ناشناختهاختیاری
ipa symbol6ipa symbol6

بدون توصیف

ناشناختهاختیاری
ipa symbol7ipa symbol7

بدون توصیف

ناشناختهاختیاری
ipa symbol8ipa symbol8

بدون توصیف

ناشناختهاختیاری
Image fileimagefile ipa-image

بدون توصیف

پروندهاختیاری
Image sizeimagesize

بدون توصیف

رشتهاختیاری
Image captionimagecaption

بدون توصیف

خطاختیاری
IPA numberipa number

بدون توصیف

مثال
149
شمارهاختیاری
ipa linkipa link

بدون توصیف

ناشناختهاختیاری
Description 1 labelnote1 label

Labels the first note

رشتهاختیاری
Description 1note1

Description for first symbol

خطاختیاری
unicodeunicode

بدون توصیف

رشتهاختیاری
x-sampax-sampa

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

ناشناختهاختیاری
note2 labelnote2 label

بدون توصیف

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

بدون توصیف

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