• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:IPAblink

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:IPA symbol

The template {{IPA link}} takes an IPA symbol and turns it into a link to the respective article which discusses the sound the symbol represents.

Versions with defined brackets are also available:

  • For phonetic representations, {{IPAblink}} encloses the link in square brackets: [a]
  • For phonemic representations, {{IPAslink}} encloses the link in slashes: /a/
  • For orthographic representations, {{IPAalink}} encloses the link in angle brackets: ⟨a⟩

Another version is {{IPAplink}}, which encloses the link in neither brackets nor <span class="IPA">...</span>, which is useful if the link is already inside {{IPA}}, avoiding superfluous nesting of the same class.

Usage

First parameter (required): any IPA symbol.

  • {{IPAblink|m}} → [m]
  • {{IPAblink|ɡb}} → [ɡb]

Second parameter: changes the label of the wikilink.

  • {{IPAblink|m|Any text}} → [Any text]

Audio link

|audio=yes adds a link to the corresponding audio file:

  • {{IPAblink|ɽ|audio=yes}} → [ɽ] (audio speaker iconlisten)

If the value in |audio= is not "yes", "y", "true", etc., it is treated as the name of an audio file:

  • {{IPAblink|ɽ|audio=Retroflex flaps.ogg}} → [ɽ] (audio speaker iconlisten)

If the audio file is not specified at Module:IPA symbol/data, the link will not appear:

  • {{IPAblink|s̬|audio=yes}} → [s̬]

Errors

If the IPA symbol is not defined at Module:IPA symbol/data, then an error message is returned and the page will be categorized into Category:International Phonetic Alphabet pages needing attention.

  • {{IPAblink|xyz}} → Error using {{IPA symbol}}: "xyz" not found in list

The error message can be customized in |errortext=. This cancels the addition of the error category. If set to blank, the message will not appear at all.

  • {{IPAblink|xyz|errortext=Custom error message}} → Custom error message
  • {{IPAblink|xyz|errortext=blank}} →
  • v
  • t
  • e
IPA templates
Inline
Formatting
  • {{IPA}}
  • {{IPA-all}}
  • {{IPA link}}
  • {{IPAblink}} [a]
  • {{IPAslink}} /a/
  • {{IPAalink}} ⟨a⟩
  • {{IPAplink}}
  • {{angbr IPA}}
  • {{Chinese tone letter}}
  • {{Audio-IPA}}
Language-
specific
  • {{IPAc-en}}
  • {{IPA-ca}}
  • {{IPAc-cmn}}
  • {{IPA-cs}}
  • {{IPA-de}}
  • {{IPA-el}}
  • {{IPA-es}}
  • {{IPA-fr}}
  • {{IPA-it}}
  • {{IPA-ko}}
  • {{IPA-my}}
  • {{IPA-nl}}
  • {{IPA-pl}}
  • {{IPAc-pl}}
  • {{IPA-pt}}
  • {{IPA-ro}}
  • {{IPA-ru}}
  • {{IPA-sh}}
  • {{IPA-sl}}
  • {{IPA-th}}
  • etc. (documentation)
  •  Category: IPA language templates
Maintenance
  • {{Needs IPA}}
  • {{Pronunciation needed}}
  •  Category: Articles needing IPA cleanup
Infobox
  • {{Infobox IPA}}
Navigation
  • {{IPA keys}}
  • {{IPA key}}
  • {{WikiIPA}}
  • {{IPA notice}}
Charts
  • {{IPA vowels}}
  • {{IPA pulmonic consonants}}
  • {{IPA non-pulmonic consonants}}
  • {{IPA co-articulated consonants}}
  • {{IPA affricates}}
  •  Category: IPA chart templates
Meta templates
  • {{IPA symbol}}
  • {{IPA audio link}}
  • {{IPA common}}
  • {{IPA soundbox}}
  • {{Usage of IPA templates}}
  • {{IPA notice/msg}}
  • Module:IPA symbol
  •  IPA templates

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for IPAblink

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
IPA symbol1

IPA symbol whose article to link to

Example
ʉː
Stringrequired
Display text2

Text to show instead of the IPA symbol

Stringoptional
Audioaudio

Adds a link to sound if available

Example
yes
Stringoptional
Error texterrortext

no description

Example
blank
Stringoptional
The above documentation is transcluded from Template:IPAblink/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:IPAblink&oldid=18879"
Categories:
  • Lua-based templates
  • Navboxes using background colours
  • Templates using TemplateData
  • IPA symbol templates
  • Templates that add a tracking category
Last edited on 30 January 2019, at 18:54

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 30 January 2019, at 18:54.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop