Template:IPA audio link/doc
This is a documentation subpage for Template:IPA audio link. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template formats the audio link used by Template:IPA-all and similar templates at Category:IPA language templates. It should not be used directly in articles.
Usage edit
Usage within an IPA template will typically be something similar to:
{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}
In the sample code above, "3" is the parameter for the file name (e.g. "Fr-Avignon.ogg").
Example output edit
Note that this template is not intended for use directly in articles. The following examples are purely to show variations in output.
- Basic
- [aviɲɔ̃]
[aviɲɔ̃]{{IPA audio link|Fr-Avignon.ogg}}
TemplateData edit
Formats the audio link used by IPA-all and similar templates
Parameter | Description | Type | Status | |
---|---|---|---|---|
Audio file | 1 | The audio file without the "File:" prefix
| Unknown | optional |