Template:IPA audio link/doc

From Alliance of Independent Nations Wiki
Revision as of 21:49, 31 May 2024 by Sango (talk | contribs) (Created page with "{{Documentation subpage}} {{High-use}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> 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== Usage within an IPA template will typically be something similar to:<br> <code><nowiki>{{#if:{{{3|}}}|{{IPA audio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 source]

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 source]

Note that this template is not intended for use directly in articles. The following examples are purely to show variations in output.

Basic
  • [aviɲɔ̃] <phonos file="Fr-Avignon.ogg"></phonos>
    [aviɲɔ̃]{{IPA audio link|Fr-Avignon.ogg}}

TemplateData[edit source]

Formats the audio link used by IPA-all and similar templates

Template parameters

ParameterDescriptionTypeStatus
Audio file1

The audio file without the "File:" prefix

Example
En-us-Foobar.ogg
Unknownoptional

Template:IPA templates