Mal:IPA audio link/dok
Dette er en underside med dokumentasjon for Mal:IPA audio link (se denne siden for selve malen). Den inneholder brukerinformasjon, kategorier og annet som ikke er del av den originale malsiden. |
This template formats the audio link used by Template:IPA-all and similar templates at Category:IPA templates. It should not be used directly in articles.
Usage
redigerUsage within an IPA template will typically be something similar to:
{{#if:{{{3|}}}|{{IPA audio link|{{{3}}}|attribution={{{attribution|}}} }} }}
In the sample code above, "3" is the parameter for the file name (e.g. "Fr-Avignon.ogg") and "attribution" is an optional parameter specifying whether or not to create an attribution link (i.e. a link to the file page).
Example output
redigerNote that this template is not intended for use directly in articles. The following examples are purely to show variations in output.
- Basic
- [aviɲɔ̃] (hør )
[aviɲɔ̃]{{IPA audio link|Fr-Avignon.ogg}}
- Without attribution link
Audio files which are licensed as CC0 or public domain may be linked to without an attribution link:
TemplateData
redigerFormats the audio link used by IPA-all and similar templates
Parameter | Beskrivelse | Type | Status | |
---|---|---|---|---|
Audio file | 1 | The audio file without the "File:" prefix
| Ukjent | valgfri |
Attribution link | attribution | Set attribution to "no" to only display a speaker icon that links directly to the audio file (with no link to the File page).
| Ukjent | valgfri |