සැකිල්ල:x2ipachar
- පහත දැක්වෙන උපදෙස්, සැකිල්ල:x2ipachar/documentation හි පිහිටා ඇත. සැකිල්ල:x2ipachar/documentation]]. [සංස්කරණය]
- ප්රයෝජනවත් සබැඳි: උප පිටු ලැයිස්තුව • සබැඳි • යළි යොමු • transclusions • errors (parser/module) • sandbox
This template takes the same parameters as {{IPAchar}}
. It takes X-SAMPA as input rather than IPA, and must always be substituted. It converts the X-SAMPA into IPA and transforms into {{IPAchar}}
when the page is saved.
X-SAMPA is an easier way to type IPA, if you are willing to learn it. See the X-SAMPA reference tables on Wikipedia.
The backend of this template is the X2IPAchar
function in Module:IPA/templates and the XSAMPA_to_IPA
function in Module:IPA.
Example
සංස්කරණයFor instance, entering the following code –
* {{subst:x2ipachar|1=[Eg"zA:mp5=]}}
– results in the following code when the page is saved –
* {{IPAchar|[ɛɡˈzɑːmpɫ̩]}}
– which displays as –
- [ɛɡˈzɑːmpɫ̩]
Multiple transcriptions are supported:
|
↓ |
|
↓ |
|
For a template that simply converts from X-SAMPA to IPA, see {{x2i}}
.