Template:IPAc-pt/sandbox
Appearance
This is the template sandbox page for Template:IPAc-pt (diff). |
This template is used to produce a phonetic or phonemic representation (using the IPA system) of Portuguese words or sounds, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to Help:IPA/Portuguese. Optionally, an audio file can also be specified.
Usage
[edit]The number of parameters is always limited to 100.
Normal usage:
{{IPAc-pt|R|e|'|g|i|ão|-|n|O|r|'|d|E|s|te|-|d|o|-|b|r|a|'|s|il|lang=br}}
produces [ʁeˈʒjɐ̃w̃ nɔʁˈdɛst͡ʃ(i) du bɾaˈsiw]{{IPAc-pt|'|R|ei|n|o|-|p|o<|r|'|t|u|gu|ê|s|lang=pt}}
produces [ˈʁejnu puɾˈtuɣweʃ]
With an audio file:
{{IPAc-pt|R|e|'|p|ú|b|l|i|c|a|-|f|e|d|E|r|a|'|t|i|v|a|-|d|o|-|b|r|a|'|S|il|audio=Pt-br-República Federativa do Brasil.ogg|lang=br}}
produces [ʁeˈpublikɐ fedɛɾaˈt͡ʃivɐ du bɾaˈziw]{{IPAc-pt|'|c|r|u|Z|-|v|e<|r|'|m|e|lh|a|-|p|o|<|r|t|u|'|gu|e|S|a|audio=Pt-pt-Cruz Vermelha.ogg|lang=pt}}
produces [ˈkɾuʒ vɨɾˈmeʎɐ puɾtuˈɣezɐ]
The following parameters have special meanings:
-
(hyphen) for a space between words_
(underscore) Liaison'
(apostrophe) for a primary stress mark (placed before the stressed syllable),
(comma) for a secondary stress mark<
(less-than) for an unstressed mark (placed after the unstressed vowel, in same or next parameter)
Other values used as parameters will be displayed unconverted. The conversion system is coded in {{c-pt-br}} and {{c-pt-pt}}.