Difference between revisions of "Template:IPAc-ro/doc"
imported>Gaèlic (←Created page with '{{lua|Module:IPAc-ro}} This template is used to display Romanian International Phonetic Alphabet (IPA). The pronunciation is broken into individual diaphone...') |
imported>Gaèlic |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| + | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->__NOTOC__ | ||
| + | == Usage == | ||
| + | This template is used to display the [[Romanian language|Romanian]] [[International Phonetic Alphabet]] (IPA). The pronunciation is broken into individual phones so that they will have mouseovers to indicate pronunciation (the complete list is available at {{tl|c-ro}}). All phones from [[Help:IPA/Romanian|IPA for Romanian]] are available. For anything outside that set, a different template should be used. | ||
| − | + | If '''[unsupported input]''' is displayed, it means that an unsupported input or non-existent sound file was used. Such instances are tallied at [[:Category:Ill-formatted IPAc-ro transclusions]], where they can be reviewed and fixed. | |
| − | The | + | <br> |
| − | {{ | + | The first three variables can be used to indicate a prescript (e.g., <small>Romanian pronunciation:</small>). All available flags are shown at {{tl|IPAc-ro/pronunciation}}. The named parameter {{para|audio}} may be used to link to an audio file. |
| − | + | *<code><nowiki>{{IPAc-ro|b|u|c|u|'|r|e|ș|ti}}</nowiki></code> → {{IPAc-ro|b|u|c|u|'|r|e|ș|ti}} | |
| + | *<code><nowiki>{{IPAc-ro|pron|b|u|c|u|'|r|e|ș|ti}}</nowiki></code> → {{IPAc-ro|pron|b|u|c|u|'|r|e|ș|ti}} | ||
| + | *<code><nowiki>{{IPAc-ro|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}}</nowiki></code> → {{IPAc-ro|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}} | ||
| + | *<code><nowiki>{{IPAc-ro|pron|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}}</nowiki></code> → {{IPAc-ro|pron|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}} | ||
| + | |||
| + | <br> | ||
| + | Use a keyboard underscore <code>_</code> for a space between words. | ||
| − | + | There are a maximum of 50 variables, including the first three. | |
| − | |||
| − | |||
| − | + | ==== Behaviour changes from [[Template:IPA-ro]] ==== | |
| − | |||
| − | == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | == | ||
The default behaviour has changed to no prescript. | The default behaviour has changed to no prescript. | ||
| − | * <code><nowiki>{{IPA-ro|bukuˈreʃtʲ}}</nowiki></code> → {{IPA-ro|bukuˈreʃtʲ}} | + | *<code><nowiki>{{IPA-ro|bukuˈreʃtʲ}}</nowiki></code> → {{IPA-ro|bukuˈreʃtʲ}} |
| − | * <code><nowiki>{{IPAc-ro|b| | + | *<code><nowiki>{{IPAc-ro|b|u|c|u|'|r|e|ș|ti}}</nowiki></code> → {{IPAc-ro|b|u|c|u|'|r|e|ș|ti}} |
| − | It can be simulated | + | It can be simulated using the flags <code>lang</code> & <code>pron</code>. |
| − | * <code><nowiki>{{IPAc-ro|lang|pron|b| | + | *<code><nowiki>{{IPAc-ro|lang|pron|b|u|c|u|'|r|e|ș|ti}}</nowiki></code> → {{IPAc-ro|lang|pron|b|u|c|u|'|r|e|ș|ti}} |
Audio files are specifically called: | Audio files are specifically called: | ||
| − | * <code><nowiki>{{IPA-ro|bukuˈreʃtʲ|-|Ro-București.ogg}}</nowiki></code> → {{IPA-ro|bukuˈreʃtʲ|-|Ro-București.ogg}} | + | *<code><nowiki>{{IPA-ro|bukuˈreʃtʲ|-|Ro-București.ogg}}</nowiki></code> → {{IPA-ro|bukuˈreʃtʲ|-|Ro-București.ogg}} |
| − | * <code><nowiki>{{IPAc-ro|audio=Ro-București.ogg|b| | + | *<code><nowiki>{{IPAc-ro|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}}</nowiki></code> or <code><nowiki>{{IPAc-ro|b|u|c|u|'|r|e|ș|ti|audio=Ro-București.ogg}}</nowiki></code> → {{IPAc-ro|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}}, {{IPAc-ro|b|u|c|u|'|r|e|ș|ti|audio=Ro-București.ogg}} |
| − | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | + | <includeonly> |
| + | {{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
| + | <!-- Categories go here and interwikis go in Wikidata. --> | ||
[[Category:IPA language templates|c]] | [[Category:IPA language templates|c]] | ||
| − | + | }} | |
| − | }}</includeonly> | + | </includeonly> |
Revision as of 23:10, 14 October 2018
| This is a documentation subpage for Template:IPAc-ro. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is used to display the Romanian International Phonetic Alphabet (IPA). The pronunciation is broken into individual phones so that they will have mouseovers to indicate pronunciation (the complete list is available at {{c-ro}}). All phones from IPA for Romanian are available. For anything outside that set, a different template should be used.
If [unsupported input] is displayed, it means that an unsupported input or non-existent sound file was used. Such instances are tallied at Category:Ill-formatted IPAc-ro transclusions, where they can be reviewed and fixed.
The first three variables can be used to indicate a prescript (e.g., Romanian pronunciation:). All available flags are shown at {{IPAc-ro/pronunciation}}. The named parameter |audio= may be used to link to an audio file.
{{IPAc-ro|b|u|c|u|'|r|e|ș|ti}}→ [bukuˈreʃtʲ]{{IPAc-ro|pron|b|u|c|u|'|r|e|ș|ti}}→ pronunciation: [bukuˈreʃtʲ]{{IPAc-ro|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}}→ [bukuˈreʃtʲ] (
listen){{IPAc-ro|pron|audio=Ro-București.ogg|b|u|c|u|'|r|e|ș|ti}}→ pronunciation: [bukuˈreʃtʲ] (
listen)
Use a keyboard underscore _ for a space between words.
There are a maximum of 50 variables, including the first three.
Behaviour changes from Template: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|ș|ti}}→ [bukuˈreʃtʲ]
It can be simulated 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|ș|ti}}or{{IPAc-ro|b|u|c|u|'|r|e|ș|ti|audio=Ro-București.ogg}}→ [bukuˈreʃtʲ] (
listen), [bukuˈreʃtʲ] (
listen)