Template:IPAblink
| This template is used on approximately 2,600 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 uses Lua: |
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⟩ (for graphic representations without link to any sound, see template:grapheme)
Another version is {{IPAplink}}, which encloses the link in neither brackets nor <span class="IPA" lang="und-fonipa">...</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.
Second parameter: changes the label of the wikilink.
{{IPAblink|m|Any text}}→ [Any text]
- Note: For the exact opposite, in other words to change the label of a wikilink and contain an IPA template, use
{{IPA}}. However, it may display incorrectly, see Template:IPA#Issue with linking.
Audio link
|audio=yes adds a link to the corresponding audio file:
If the value in |audio= is not "yes", "y", "true", etc., it is treated as the name of an audio file:
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}}→
Template data
TemplateData for IPAblink
TemplateData
| |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
No description.
| |||||||||||||||||||||||||
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.