Template:IPA/documentation

This template adds the proper formatting and links to a pronunciation transcription in the International Phonetic Alphabet. It applies proper formatting and adds links to the language's IPA key using Module:IPA/templates. It should be used in pronunciation sections only. If the language has a template that automatically generates pronunciation from spelling, that template should be used instead of this one.

By default, the module counts the syllables in every phonemic transcription of a language that has diphthongs listed in Module:syllables, and a category is added based on the count, such as. To turn off syllable counting, add the parameter 1.

The module also tracks various IPA symbols in particular languages' transcriptions (see Module:IPA/tracking). It gives a preview-only message in red if any symbols are invalid, based on the list in Module:IPA/data/symbols, and offers suggestions to correct some common substitutions.

Parameters

 * 1
 * The language code (see List of languages) for the current language section. The parameter lang is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.


 * 2, 3, 4 ...
 * Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes  for phonemic representations, and square brackets   for phonetic representations. They will be displayed separated by commas.


 * qual N
 * Specifies a qualifier to be placed before pronunciation N . This is formatted with the template.


 * n N
 * Specifies a reference note to be placed after pronunciation N . The reference is placed in the  section at the bottom of the language's entry.


 * 1
 * Turns off syllable counting.


 * sort
 * Manual sortkey. Use sparingly; the lua method in Module:languages can usually generate the correct sortkey.

TemplateData
{	"params": { "1": {			"label": "language", "description": "The language code (see Wiktionary:Languages) for the current language section.", "example": "en", "type": "string", "required": true },		"2": {			"description": "Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations.", "example": "/aɪ piː ˈeɪ/", "type": "string", "required": true, "label": "IPA 1" },		"3": {			"description": "Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations.", "type": "string", "label": "IPA 2" },		"4": {			"description": "Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations.", "type": "string", "label": "IPA 3" },		"qual1": { "label": "qualifier 1", "description": "Specifies a qualifier to be placed before pronunciation 1. This is formatted with the template", "type": "string" },		"qual2": { "label": "qualifier 2", "description": "Specifies a qualifier to be placed before pronunciation 2. This is formatted with the template", "type": "string" },		"qual3": { "label": "qualifier 3", "description": "Specifies a qualifier to be placed before pronunciation 3. This is formatted with the template", "type": "string" },		"n1": { "label": "note 1", "description": "Specifies a reference note to be placed after pronunciation 1. The reference is placed in the ===References=== section at the bottom of the language's entry.", "type": "string" },		"n2": { "label": "note 2", "description": "Specifies a reference note to be placed after pronunciation 2. The reference is placed in the ===References=== section at the bottom of the language's entry.", "type": "string" },		"n3": { "label": "note 3", "description": "Specifies a reference note to be placed after pronunciation 2. The reference is placed in the ===References=== section at the bottom of the language's entry.", "type": "string" }	},	"description": "This template adds the proper formatting and links to a pronunciation transcription in the International Phonetic Alphabet. It applies proper formatting and adds links to the language's IPA key using Module:IPA/templates. It should be used in pronunciation sections only. If the language has a template that automatically generates pronunciation from spelling, that template should be used instead of this one.", "format": "inline" }

fa:الگو:آی‌پی‌ای