Bản mẫu:Infobox IPA

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Sử dụng[sửa mã nguồn]

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.

Thông số[sửa mã nguồn]

Thông số cơ bản[sửa mã nguồn]

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.

Các thông số cơ bản bao gồm:

Voiced velar plosive
ɡ
Số IPA110
Mã hóa
Entity (thập phân)ɡ
Unicode (hex)U+0261
X-SAMPAg
Braille⠛ (braille pattern dots-1245)
{{Infobox IPA
| above       = Voiced velar plosive
| ipa number  = 110
| decimal     = 609
| imagefile   = Voiced velar stop (vector).svg
| imagesize   = 150px
| x-sampa     = g
| braille     = g
}}

Danh sách thông số đầy đủ[sửa mã nguồn]

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

| imagefile    =
| imagecaption =
| imagesize    =

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

| unicode      =
| x-sampa      =
| braille      = 
| braille2     = 
| braille3     = 
| braille4     = 
| note2 label  =
| note2        =
}}
Số thập phân

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

Vô thanh
ʎ̥˔
Số IPA157 402A 429
Mã hóa
Entity (thập phân)ʎ​̥​˔
Unicode (hex)U+028E U+0325 U+02D4
| ipa symbol = ʎ̥˔
| ipa number = 157 402A 429
| decimal1   = 654
| decimal2   = 805
| decimal3   = 724
| decimal4   =

Multiple symbols[sửa mã nguồn]

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 =

Ảnh[sửa mã nguồn]

Adding an image of the symbol:

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

Lựa chọn đầu vào thêm[sửa mã nguồn]

Open front unrounded vowel
a
Extra note 1This is my first note
Mã hóa
Unicode (hex)U+9999
X-SAMPAX-S
Extra note 2Another note by me here
Âm thanh
noicon
| ipa symbol   = a
| note1 label  = Extra note 1
| note1        = This is my first note

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

Tệp âm thanh[sửa mã nguồn]

The template tries to determine the default sound file name by the IPA symbol as defined at Module:IPA symbol/data:

Độ ưu tiên[sửa mã nguồn]

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

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

Dữ liệu[sửa mã nguồn]

Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho Infobox IPA

Không có miêu tả.

Tham số bản mẫu[Quản lý Dữ liệu bản mẫu]

Nên dùng bản mẫu này với các tham số đặt thành khối.

Tham sốMiêu tảKiểuTrạng thái
Label aboveabove

Title of the info box

Ví dụ
Voiced velar stop
Chuỗi ngắnkhuyên dùng
IPA symbol 1ipa symbol ipa-text

IPA symbol for the sound

Ví dụ
g
Chuỗi ngắnkhuyên dùng
decimal HMTL codepoint 1decimal1 decimal

Defines the first symbol in HTML

Ví dụ
162
Sốkhuyên dùng
decimal2decimal2

không có miêu tả

Không rõtùy chọn
decimal3decimal3

không có miêu tả

Không rõtùy chọn
decimal4decimal4

không có miêu tả

Không rõtùy chọn
ipa symbol2ipa symbol2

không có miêu tả

Không rõtùy chọn
ipa symbol3ipa symbol3

không có miêu tả

Không rõtùy chọn
ipa symbol4ipa symbol4

không có miêu tả

Không rõtùy chọn
ipa symbol5ipa symbol5

không có miêu tả

Không rõtùy chọn
ipa symbol6ipa symbol6

không có miêu tả

Không rõtùy chọn
ipa symbol7ipa symbol7

không có miêu tả

Không rõtùy chọn
ipa symbol8ipa symbol8

không có miêu tả

Không rõtùy chọn
Imageimage ipa-image imagefile

không có miêu tả

Tập tintùy chọn
Image sizeimagesize

không có miêu tả

Chuỗi dàitùy chọn
Image captionimagecaption

không có miêu tả

Chuỗi ngắntùy chọn
IPA numberipa number

không có miêu tả

Ví dụ
149
Sốtùy chọn
Description 1note1

Description for first symbol

Chuỗi ngắntùy chọn
unicodeunicode

không có miêu tả

Chuỗi dàitùy chọn
X-SAMPAx-sampa xsampa

không có miêu tả

Không rõtùy chọn
braillebraille

không có miêu tả

Không rõtùy chọn
braille2braille2

không có miêu tả

Không rõtùy chọn
braille3braille3

không có miêu tả

Không rõtùy chọn
braille4braille4

không có miêu tả

Không rõtùy chọn
note2 labelnote2 label

không có miêu tả

Không rõtùy chọn
note2note2

không có miêu tả

Không rõtùy chọn