Hopp til innhald

Mal:Infoboks IPA

Frå Wikipedia – det frie oppslagsverket
[sjå] [endra] [oppdater] Maldokumentasjon

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

[endre wikiteksten]

Basic parameters

[endre wikiteksten]

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 plosive
ɡ
IPA-nummer110
Kodar
Eining (desimal)ɡ
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
}}

Full parameter list

[endre wikiteksten]
{{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        =
}}
Decimal numbers

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

Voiceless
ʎ̥˔
IPA-nummer157 402A 429
Kodar
Eining (desimal)ʎ̥˔
Unicode (hex)U+028EU+0325U+02D4
| ipa symbol = ʎ̥˔
| ipa number = 157 402A 429
| decimal1   = 654
| decimal2   = 805
| decimal3   = 724
| decimal4   =

Multiple symbols

[endre wikiteksten]

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 =

Adding an image of the symbol:

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

More input options

[endre wikiteksten]
open fremre urunda vokal
a
Extra note 1This is my first note
Lyddøme
Kodar
Unicode (hex)U+9999
X-SAMPAX-S
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
| note2 label  = Extra note 2
| note2        = Another note by me here

Sound file

[endre wikiteksten]

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

sound = no overrides the sound file.

Priorities in parameters

[endre wikiteksten]

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)

Mal:IPA templates

Template data

[endre wikiteksten]
Dette er TemplateData-dokumentasjonen for malen, som blir brukt av VisualEditor og andre verktøy.

Infoboks IPA

Inga skildring.

Malparametrar

Denne malen foretrekker at parametrene blokk-formateres (én parameter per linje).

ParameterSkildringTypeStatus
Label aboveabove

Title of the info box

Døme
Voiced velar stop
Tekstlinegjeven som framlegg
IPA symbol 1ipa symbol ipa-text

IPA symbol for the sound

Døme
g
Tekstlinegjeven som framlegg
decimal HMTL codepoint 1decimal1 decimal

Defines the first symbol in HTML

Døme
162
Talgjeven som framlegg
decimal2decimal2

inga skildring

Ukjendvalfri
decimal3decimal3

inga skildring

Ukjendvalfri
decimal4decimal4

inga skildring

Ukjendvalfri
ipa symbol2ipa symbol2

inga skildring

Ukjendvalfri
ipa symbol3ipa symbol3

inga skildring

Ukjendvalfri
ipa symbol4ipa symbol4

inga skildring

Ukjendvalfri
ipa symbol5ipa symbol5

inga skildring

Ukjendvalfri
ipa symbol6ipa symbol6

inga skildring

Ukjendvalfri
ipa symbol7ipa symbol7

inga skildring

Ukjendvalfri
ipa symbol8ipa symbol8

inga skildring

Ukjendvalfri
Imageimage ipa-image imagefile

inga skildring

Filvalfri
Image sizeimagesize

inga skildring

Strengvalfri
Image captionimagecaption

inga skildring

Tekstlinevalfri
IPA numberipa number

inga skildring

Døme
149
Talvalfri
Description 1note1

Description for first symbol

Tekstlinevalfri
unicodeunicode

inga skildring

Strengvalfri
X-SAMPAx-sampa xsampa

inga skildring

Ukjendvalfri
braillebraille

inga skildring

Ukjendvalfri
braille2braille2

inga skildring

Ukjendvalfri
braille3braille3

inga skildring

Ukjendvalfri
braille4braille4

inga skildring

Ukjendvalfri
note2 labelnote2 label

inga skildring

Ukjendvalfri
note2note2

inga skildring

Ukjendvalfri
Mal:Sandbox other