Template:IPA: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[w:International_Phonetic_Alphabet|IPA]] <sup>([[Appendix:{{#invoke:languages|getByCode|{{{1}}}|name}} pronunciation|key]])</sup> <span class="IPA">{{{2}}}</span>{{#if:{{{3|}}}|<span class="IPA">{{{3}}}</span>}}</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly>[[w:International_Phonetic_Alphabet|IPA]]<sup>([[Appendix:{{#invoke:languages|getByCode|{{{1}}}|name}} pronunciation|key]])</sup> <span class="IPA">{{{2}}}</span>{{#if:{{{3|}}}|<span class="IPA">{{{3}}}</span>}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 01:47, 6 August 2023
Uses Lua: |
Usage
{{IPA|ryn|/ˈvydɛ/}}
Generates:
You can also do
{{IPA|ryn|/ˈvydɛ/|linked=1|nolarge=1|nopre=1}}
Generates:
Note that if you're using all those options together, all with a true value i.e. 1
, for example in a Laenkipedia article, you can use the shortcut templates {{wipa}}
and {{tipa}}
.
You can return to normal wiki text by escaping with *asterisks*
, which is useful for adding in-line notes:
{{IPA|ryn|/ˈvydɛ/ *(''officially'')*|/ˈvidɛ/ *(''Vontevian'')*|linked=1|nolarge=1|nopre=1}}
Generates:
You are now also able to input X-SAMPA. This will not apply to escaped text. Due to complications with the above functionality, the escape character for this feature is #
.
{{IPA|ryn|/jU\"fO@r\i@/#~ *(jU\"fO@r\i@)*|linked=1|nolarge=1|nopre=1}}
Generates: