Difference between revisions of "Template:IPA audio link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kaldari
(TemplateData)
imported>Kaldari
(Examples)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- 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 templates]]. '''It should not be used directly in articles.'''
 
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.'''
 +
 +
==Examples==
 +
<code>Antigua and Barbuda<nowiki>{{IPA audio link|En-us-Antigua and Barbuda-2.oga}}</nowiki></code><br>
 +
Antigua and Barbuda{{IPA audio link|En-us-Antigua and Barbuda-2.oga}}
 +
 +
<code>Antigua and Barbuda<nowiki>{{IPA audio link|En-us-Antigua and Barbuda-2.oga|attribution=no}}</nowiki></code><br>
 +
Antigua and Barbuda{{IPA audio link|En-us-Antigua and Barbuda-2.oga|attribution=no}}
 +
 
==TemplateData==
 
==TemplateData==
 
<templatedata>
 
<templatedata>

Revision as of 17:58, 29 October 2020

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.

Examples

Antigua and Barbuda{{IPA audio link|En-us-Antigua and Barbuda-2.oga}}
Antigua and Barbuda (Audio file "En-us-Antigua and Barbuda-2.oga" not found)

Antigua and Barbuda{{IPA audio link|En-us-Antigua and Barbuda-2.oga|attribution=no}}
Antigua and Barbuda Audio file "En-us-Antigua and Barbuda-2.oga" not found

TemplateData

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

Template parameters

ParameterDescriptionTypeStatus
Audio file1

The audio file with the "FIle:" prefix

Example
En-us-Foobar.ogg
Unknownoptional
Attribution linkattribution

If you set this to "no" the template will only display a speaker icon that links directly to the audio file (with no link to the File page).

Example
no
Unknownoptional