Revision 1179696 of "টেমপ্লেট:আইপিএ/doc" on bnwiki

{{documentation subpage}}
<!--
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
-->
=== Usage ===

'''[[Template:IPA]]''' is most useful when there are multiple instances of the IPA on a page. It contains

<nowiki><span title="Representation in the International Phonetic Alphabet (IPA)" class="IPA">{{{1}}}</span></nowiki>

I.e., it simply specifies CSS class IPA.

This allows fixing broken display of [[International Phonetic Alphabet]] (IPA) characters in MS Internet Explorer 6 for Windows, and choice of style in any browser.

The font declarations are in [[MediaWiki:Common.css/WinFixes.css]]. Registered Wikipedia users can specify their own style for IPA text by editing, for each project, their user style sheet, e.g. monobook.css. Users can also specify the style locally in their browser, which works across projects.

=== Examples ===

Placing a phonetic rendering of the word ''characters'' in Template:IPA:

 <nowiki>{{IPA|/ˈkærəktɚz/}}</nowiki>

The result will be a span with a class attribute, like this:

 <nowiki><span</nowiki> title="Representation in the International Phonetic Alphabet (IPA)" class="IPA">/ˈkærəktɚz/<nowiki></span></nowiki>

Which appears in your browser as:

: {{IPA|/ˈkærəktɚz/}}

Without template:IPA:

: /ˈkærəktɚz/

[The last two should only look different if you are using Internet Explorer 6 or lower on Windows, or if you have a custom style defined for IPA text.]

Please place all IPA text into Template:IPA, even if it doesn't have any special IPA characters, like this: {{IPA |/mi/}}.  This will allow users to format all examples of IPA text consistently, with their choice of fonts, colours, etc.

=== List of fonts ===
The following is a list of fonts that are specified using this template.
*[[Charis SIL]]
*[[Doulos SIL]]
*[[Gentium]]
*GentiumAlt
*[[DejaVu fonts|DejaVu]] Sans
*[[Code2000]]
*[[TITUS Cyberbit Basic]]
*[[Arial Unicode MS]]
*[[Lucida Sans Unicode]]
*Chrysanthi Unicode

{{usage of IPA templates}}
<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
[[বিষয়শ্রেণী:আইপিএ টেমপ্লেট|{{PAGENAME}}]]
[[বিষয়শ্রেণী:বহুভাষী সহায়ক টেম্পলেট|আইপিএ]]

<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
[[af:Sjabloon:IPA-Text]]
[[ar:قالب:أصد]]
[[arc:ܩܠܒܐ:IPA]]
[[arz:قالب:IPA]]
[[ast:Plantía:AFI]]
[[ay:Plantilla:IPA]]
[[az:Şablon:IPA]]
[[bar:Vorlage:IPA-Text]]
[[bpy:মডেল:IPA]]
[[ca:Plantilla:AFI]]
[[en;Template:IPA]]
[[chy:Template:IPA]]
[[ckb:داڕێژە:IPA]]
[[crh:Şablon:IPA]]
[[cs:Šablona:IPA]]
[[de:Vorlage:IPA-Text]]
[[dv:ފަންވަތް:IPA]]
[[eml:Template:IPA]]
[[en:Template:IPA]]
[[fa:الگو:آوا]]
[[fi:Malline:IPA]]
[[fj:Template:IPA]]
[[fo:Fyrimynd:IPA]]
[[fr:Modèle:Prononciation API]]
[[frr:Vorlage:IPA-Text]]
[[gan:Template:IPA]]
[[gv:Clowan:ASE]]
[[ha:Template:IPA]]
[[he:תבנית:יפא]]
[[hi:साँचा:अ-ध्व-लि]]
[[hr:Predložak:IPA]]
[[hu:Sablon:IPA]]
[[ia:Patrono:IPA]]
[[id:Templat:IPA]]
[[ig:Àtụ:IPA]]
[[ik:Template:IPA]]
[[is:Snið:IPA]]
[[iu:Template:IPA]]
[[ja:Template:IPA2]]
[[jbo:Template:IPA]]
[[jv:Cithakan:IPA]]
[[ka:თარგი:IPA-Text]]
[[km:ទំព័រគំរូ:IPA]]
[[ko:틀:IPA]]
[[ks:Template:IPA]]
[[lad:Xablón:AFI]]
[[li:Sjabloon:IPA]]
[[ln:Modèle:Prononciation API]]
[[lv:Veidne:Unicode]]
[[mg:Endrika:Prononciation API]]
[[mi:Template:IPA]]
[[mn:Загвар:IPA]]
[[ms:Templat:AFA]]
[[mwl:Modelo:AFI]]
[[nap:Modello:IPA]]
[[nds:Vörlaag:IPA-Text]]
[[nn:Mal:IPA]]
[[no:Mal:IPA]]
[[nov:Template:IFA]]
[[or:ଛାଞ୍ଚ:IPA]]
[[pag:Template:IPA]]
[[pam:Template:IPA]]
[[pnb:Template:IPA]]
[[pnt:Πρότυπον:IPA]]
[[ps:کينډۍ:نغا]]
[[pt:Predefinição:AFI]]
[[ru:Шаблон:IPA1]]
[[sa:फलकम्:IPA]]
[[sd:سانچو:بول]]
[[se:Málle:IPA]]
[[sh:Šablon:IPA]]
[[simple:Template:IPA]]
[[sk:Šablóna:IPA]]
[[sl:Predloga:IPA]]
[[sq:Stampa:IPA]]
[[sr:Шаблон:ИПА]]
[[su:Citakan:IPA]]
[[sv:Mall:IPA]]
[[sw:Kigezo:IPA]]
[[tg:Шаблон:IPA]]
[[th:แม่แบบ:IPA]]
[[ti:Template:IPA]]
[[tpi:Template:IPA]]
[[tr:Şablon:IPA]]
[[uk:Шаблон:МФА]]
[[ur:سانچہ:IPA]]
[[vi:Bản mẫu:IPA]]
[[wuu:模板:IPA]]
[[yi:מוסטער:IPA]]
[[yo:Àdàkọ:IPA]]
[[zh:Template:IPA]]
[[zh-classical:Template:IPA]]
[[zh-yue:Template:IPA]]
</includeonly>