Template:IPAc-ro/doc
| This template uses Lua: |
This template is used to display Romanian International Phonetic Alphabet (IPA). The pronunciation is broken into individual diaphonemes so that they will have tooltips (mouse-over text) to indicate pronunciation. All diaphonemes from IPA for Romanian are available. For anything outside that set, a different template should be used.
The initial arguments can be used to indicate a pronunciation prescript (eg, Romanian pronunciation:). The available pronunciation codes are: Script error: No such module "IPAc-ro/documentation".
The first argument that is not a pronunciation code will be treated as a diaphoneme. See the collapsed table below for a full list of diaphoneme codes. As well as diaphonemes, there are some separator codes as well. For example, you can use a keyboard underscore _ for a space between words. Diaphonemes are underlined, but separators are not, and separators do not have any tooltip text.
Phoneme codes
|
|---|
|
Script error: No such module "IPAc-ro/documentation". |
The named parameter |audio= may be used to link to an audio file.
Examples
{{IPAc-ro|b|U|C|U|ˈ|r|e|ș|t|-i}}→ [bukuˈreʃtʲ]{{IPAc-ro|pron|b|U|C|U|ˈ|r|e|ș|t|-i}}→ pronunciation: [bukuˈreʃtʲ]{{IPAc-ro|audio=Ro-București.ogg|b|U|C|U|ˈ|r|e|ș|t|-i}}→ [bukuˈreʃtʲ] (
listen){{IPAc-ro|lang|pron|audio=Ro-București.ogg|b|U|C|U|ˈ|r|e|ș|t|-i}}→ Romanian pronunciation: [bukuˈreʃtʲ] (
listen)
If [unsupported input] is displayed, it means that an unsupported input was used. Such instances are tallied at Category:Ill-formatted IPAc-ro transclusions, where they can be reviewed and fixed.
Behaviour changes from {{IPA-ro}}
The default behaviour has changed to no prescript.
{{IPA-ro|bukuˈreʃtʲ}}→ Romanian pronunciation: [bukuˈreʃtʲ]{{IPAc-ro|b|U|C|U|ˈ|r|e|ș|t|-i}}→ [bukuˈreʃtʲ]
It can be simulated (reinstated) using the flags "lang" & "pron".
Audio files are specifically called:
{{IPA-ro|bukuˈreʃtʲ|-|Ro-București.ogg}}→ Romanian pronunciation: [bukuˈreʃtʲ] (
listen){{IPAc-ro|audio=Ro-București.ogg|b|U|C|U|ˈ|r|e|ș|t|-i}}or{{IPAc-ro|b|U|C|U|ˈ|r|e|ș|t|-i|audio=Ro-București.ogg}}→ [bukuˈreʃtʲ] (
listen), [bukuˈreʃtʲ] (
listen)