Vés al contingut

Plantilla:Infotaula IPA/ús

De la Viquipèdia, l'enciclopèdia lliure

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.

Paràmetres

[modifica]

Paràmetres bàsics

[modifica]

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:

For common IPA symbols, the IPA number defines the article name and the default soundfile name. 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.

Infotaula IPAFricativa lateral alveolar sonora
ɮ
Número AFI149
Codificació
Entitat (decimal)ɮ
Unicode (hex)U+026E
So
noicon
{{infobox IPA
| ipa number  = 149
| decimal1    = 622
}}

Alguns paràmetres bàsics més:

Infotaula IPAVoiced velar stop
ɡ
Número AFI110
Codificació
Entitat (decimal)ɡ
Unicode (hex)U+0261
X-SAMPAg
Kirshenbaumg
Braille⠛ (braille pattern dots-1245)
So
noicon
{{infobox IPA
| above       = Voiced velar stop
| ipa number  = 110
| decimal     = 609
| imagefile   = Voiced velar stop (vector).svg
| x-sampa     = g
| kirshenbaum = g
| braille     = g
}}

Llista de paràmetres completa

[modifica]
{{infobox IPA

}}
Números decimals

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

Infotaula IPAFricativa lateral palatal sorda
ʎ̥˔
Número AFI157 402A 429
Codificació
Entitat (decimal)ʎ​̥​˔
Unicode (hex)U+028E U+0325 U+02D4
So
noicon
| ipa symbol = ʎ̥˔
| ipa number = 157 402A 429
| decimal1   = 654
| decimal2   = 805
| decimal3   = 724

Símbols múltiples

[modifica]

Up to eight symbols can be shown in big font.

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

Imatge

[modifica]

Adding an image of the symbol:

Infotaula IPAFricativa lateral palatal sorda
ʎ̥˔
So
noicon
{{infobox IPA
| ipa symbol = ʎ̥˔
| imagefile    = Lateral fricatives.svg
| imagecaption = image example
}}

Més opcions d'entrada

[modifica]
Infotaula IPAVocal oberta anterior no arrodonida
a
Extra note 1This is my first note
Codificació
Unicode (hex)U+9999
X-SAMPAX-S
KirshenbaumK
Extra note 2Another note by me here
So
noicon
| 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

Fitxer de so

[modifica]

The template tries to determine the default soundfile name by using the sound name (as determined by the IPA number, or IPA symbol):

  • {{IPA symbol|m}} → bilabial nasal.ogg
  • If this fails, the file name can be entered.

When the file exists, the soundbutton is shown. Otherwise, no soundbutton is shown at all.

Infotaula IPA
abc
Example non default soundfile
So
noicon
| ipa symbol = abc
| note2      = Example non default soundfile
| soundfile  = Accordion registers.ogg

Note

See {{IPA audio filename}} for more information on the naming of the phonetic soundfiles.

Paràmetres obsolets

[modifica]

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
sound         => soundfile

Prioritats en els paràmetres

[modifica]

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)
| soundfile    = (overwrites any default soundfile name that was derived by the IPA symbol name or number)

Vegeu també

[modifica]