Template:Infobox IPA/doc

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.

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:

Full parameter list
Up to four decimal values can be entered, to compose the symbol:
 * Decimal numbers

Multiple symbols
Up to eight symbols can be shown in big font.

Image
Adding an image of the symbol:

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

overrides the sound file.

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

Template data
{	"params": { "above": { "label": "Label above", "description": "Title of the info box", "example": "Voiced velar stop", "type": "line", "suggested": true },		"ipa symbol": { "aliases": [ "ipa-text" ],			"label": "IPA symbol 1", "description": "IPA symbol for the sound", "example": "g", "type": "line", "suggested": true },		"decimal1": { "aliases": [ "decimal" ],			"label": "decimal HMTL codepoint 1", "description": "Defines the first symbol in HTML", "example": "162", "type": "number", "suggested": true },		"decimal2": {}, "decimal3": {}, "decimal4": {}, "ipa symbol2": {}, "ipa symbol3": {}, "ipa symbol4": {}, "ipa symbol5": {}, "ipa symbol6": {}, "ipa symbol7": {}, "ipa symbol8": {}, "imagesize": { "label": "Image size", "type": "string" },		"imagecaption": { "label": "Image caption", "type": "line" },		"ipa number": { "label": "IPA number", "example": "149", "type": "number" },		"note1": { "label": "Description 1", "description": "Description for first symbol", "type": "line" },		"unicode": { "type": "string" },		"x-sampa": { "aliases": [ "xsampa" ],			"label": "X-SAMPA" },		"braille": {}, "braille2": {}, "braille3": {}, "braille4": {}, "note2 label": {}, "note2": {}, "image": { "aliases": [ "ipa-image", "imagefile" ],			"label": "Image", "type": "wiki-file-name" }	},	"format": "block", "paramOrder": [ "above", "ipa symbol", "decimal1", "decimal2", "decimal3", "decimal4", "ipa symbol2", "ipa symbol3", "ipa symbol4", "ipa symbol5", "ipa symbol6", "ipa symbol7", "ipa symbol8", "image", "imagesize", "imagecaption", "ipa number", "note1", "unicode", "x-sampa", "braille", "braille2", "braille3", "braille4", "note2 label", "note2" ] }