सामग्री पर जाएँ

साँचा:अ-ध्व-लि

मुक्त ज्ञानकोश विकिपीडिया से
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज]

यह साँचा अन्तर्राष्ट्रीय ध्वन्यात्मक वर्णमाला (IPA) में किसी प्रतिलेख के सही प्रदर्शन को सुनिश्चित करता है। It can also automatically provide a label indicating the language being transcribed and link to an explanatory guide. Its behavior changes drastically depending on whether more than one unnamed parameter is given. For broad transcriptions of English, use {{IPAc-en}} instead.

उपयोग

The behavior of this template changes drastically depending on whether more than one unnamed parameter is given.

ऐसा लिखेंऐसा दिखायी देगा
{{IPA|/ˌlɔːrəm ˈɪpsəm/}}

/ˌlɔːrəm ˈɪpsəm/

{{IPA|la|ˌloːrɛm ˈɪpsʊm}}

लातिन उच्चारण: [ˌloːrɛm ˈɪpsʊm]

Basic mode

The basic usage of this template is just to pass an IPA transcription as the first argument, as in:

ऐसा लिखेंऐसा दिखायी देगा
{{IPA|/ˌlɔːrəm ˈɪpsəm/}}

/ˌlɔːrəm ˈɪpsəm/

Which might not look different from just the transcription without the template (/ˌlɔːrəm ˈɪpsəm/), but it actually outputs:

<span class="IPA nowrap" lang="und-Latn-fonipa" title="Representation in the International Phonetic Alphabet (IPA)">/ˌlɔːrəm<span class="wrap"> </span>ˈɪpsəm/</span>

That is, it adds

  • the IPA class, allowing registered users to assign a typeface of their choice (see Help:IPA § Rendering issues for how);
  • an IETF language tag indicating IPA as the writing system (see Template:Lang § Rationale for more);
  • a title attribute, which appears as a tooltip when the mouse hovers over the transcription;
  • the nowrap class, preventing line wrapping at inappropriate places like after / or ˌ;
  • the wrap class to whitespace characters, allowing wrapping to occur at appropriate places.

All IPA text should be placed in the template, even if it consists entirely of ASCII characters, as in {{IPA|/mi/}}. This allows users to format all examples of IPA text consistently, and software like screen readers to interpret them accurately. If a substantial portion of a page uses IPA, post notice of that fact with {{IPA notice}}.

Issue with linking

If the template is inside a wikilink, the link may not display correctly in certain namespaces (including the mainspace):

ऐसा लिखेंऐसा दिखायी देगा
[[Lorem ipsum|{{IPA|/ˌlɔːrəm ˈɪpsəm/}}]]

[[Lorem ipsum|/ˌlɔːrəm ˈɪpsəm/]]

This is because the template by default inserts a category. To prevent it, add |cat=no, as in:

ऐसा लिखेंऐसा दिखायी देगा
[[Lorem ipsum|{{IPA|/ˌlɔːrəm ˈɪpsəm/|cat=no}}]]

Optional parameters

lang
IETF language tag (e.g. ar, pt-BR) to be followed by -Latn-fonipa, replacing und (undetermined).
tooltip
Replaces the default tooltip "Representation in the International Phonetic Alphabet (IPA)". Leaving it blank means no tooltip.

Guide-linking mode

If more than one unnamed parameter is given, the first one is recognized as a language code and the second as the transcription. The transcription is automatically linked to one of the language-specific keys if a corresponding one exists, or to Help:IPA if not, and preceded by a label with the name of the language, as in {{lang-xx}}. Unlike in the basic mode, brackets are automatically added so need not be included in the input.

ऐसा लिखेंऐसा दिखायी देगा
{{IPA|la|ˌloːrɛm ˈɪpsʊm}}

लातिन उच्चारण: [ˌloːrɛm ˈɪpsʊm]

{{IPA|pt-BR|sɐ̃w̃ ˈpawlu|lang|Br-SaoPaulo.ogg}}

ब्राजीलीयाई पुर्तगाली: [sɐ̃w̃ ˈpawlu]

{{IPA|ki|ɣēkōjó|link=yes}}

गिकुयु उच्चारण: [ɣēkōjó]

{{IPA|und|ʔ|}}

Notice the transcriptions are linked to language-specific keys in the first two examples, and to the generic guide in the rest. The language name and article link are automatically taken from Module:Language by passing the language tag, unless overridden in Module:IPA/data.

The behavior in this mode mimics {{IPA-xx}} templates that were created for a number of languages. {{IPA}} consolidates those templates for better maintenance and consistency, and is now the recommended template.

Parameters

First unnamed parameter
IETF language tag (e.g. ar, pt-BR). See Template:Lang for more.
Second unnamed parameter
Transcription, without brackets.
Third unnamed parameter
Label code. Leave it blank to have no label at all. The label "[language name] pronunciation:" is used if the input is not empty but none of the below.
  • lang: "[language name]:"
  • ipa: "IPA:"
  • pron: "pronounced"
  • also: "also"
  • alsolang: "also [language name]:"
  • langalso: "[language name] also"
  • local: "locally"
  • localpron: "local pronunciation:"
Fourth unnamed parameter
Name of an audio file to accompany the transcription.
label
Text that precedes the transcription. Takes precedence over the third unnamed parameter.
link
If set to yes, the language name in the label will be linked to the article about the language.
small
If set to no, the label appears in the same size as the surrounding text. Be sure to use this where the text is already smaller, per (references, infoboxes, and navboxes are excluded by default).
generic
If set to yes, the transcription is linked not to the language-specific key but to the generic Help:IPA. This is if the transcription does not adhere to the conventions laid out in the language-specific key.

List of keys

These are defined in Module:IPA/data.

Languages with dedicated keys
KeyLanguageCode
Help:IPA/AdygheAdygheady
Help:IPA/Afrikaansअफ़्रीकांसaf
Help:IPA/AlbanianGheg Albanianaln
Tosk Albanianals
अल्बानियाईsq
Help:IPA/Alemannic GermanAlemannic Germangsw
Colonia Tovar जर्मनgct
Walserwae
स्वाबियाईswg
Help:IPA/Amharicअमहारीam
Help:IPA/Arabicअरबीar
मानक अरबीarb
Help:IPA/Armenianआर्मीनियाईhy
Help:IPA/Assameseअसमियाas
Help:IPA/Astur-LeoneseAsturianast
Extremaduranext
Mirandesemwl
लेयोनीast-ES-LE
Help:IPA/Australian languagesAustralian भाषाएँaus
Pitjantjatjarapjt
Warlpiriwbp
पूर्वी Arrernteaer
Help:IPA/Azerbaijaniअज़रबैजानीaz
Help:IPA/Basqueबास्कeu
Help:IPA/Belarusianबेलारूसीbe
Help:IPA/Bengaliबंगालीbn
Help:IPA/Berberबर्बरber
Help:IPA/Bretonब्रेटनbr
Help:IPA/Bulgarianबुल्गारियाईbg
Help:IPA/Burmeseबर्मीmy
Help:IPA/Cantoneseकैन्टोनीyue
Help:IPA/Catalanकातालानca
वैलेंसियाईca-valencia
Help:IPA/Central Italianकेंद्रीय इटलियाईit-IT-57
केन्द्रीय इटलियाईit-IT-55
टूसकेनit-IT-52
रोमान्स्कोit-IT-RM
Help:IPA/Colognianकोलॉगनियाईksh
Help:IPA/Corsicanकॉर्सिकाईco
Help:IPA/Czechचेकcs
Help:IPA/Danishडेनिशda
Help:IPA/Dutchडचnl
फ्लेमिशnl-BE
Help:IPA/Egyptian Arabicमिस्री अरबीarz
Help:IPA/Emilian-RomagnolEmilianegl
Romagnolrgn
Help:IPA/Englishअंग्रेज़ीen
अमेरिकन अंग्रेज़ीen-US
ब्रिटिश अंग्रेज़ीen-GB
Help:IPA/Esperantoएस्पेरांतोeo
Help:IPA/Estonianएस्टोनियाईet
Help:IPA/Fijianफ़िजीयाईfj
Help:IPA/Finnishफ़िनिशfi
Help:IPA/Franco-Provençalफ़्रांससी प्रोवेंकलfrp
Help:IPA/Frenchफ़्रांसीसीfr
Help:IPA/Galicianगलिसियाईgl
Help:IPA/Georgianजॉर्जियाईka
Help:IPA/Greekप्राचीन यूनानीgrc
Attic Greekgrc-x-attic
Classical Greekgrc-x-classic
यूनानीel
Help:IPA/Greenlandicग्रीनलैंडिकkl
Help:IPA/Gujaratiगुजरातीgu
Help:IPA/Haitian Creoleहाइतीयाई क्रियोलht
Help:IPA/HawaiianHawaiianhaw
Help:IPA/Hebrewइब्रानीhe
बाइबिली इब्रानीhbo
Help:IPA/Hejazi Arabicहिजाज़ी अरबी acw
Help:IPA/Hindi and Urduउर्दूur
हिन्दीhi
हिन्दुस्तानीhns
Help:IPA/HmongHmonghmn
Help:IPA/Hungarianहंगेरियाईhu
Help:IPA/Icelandicआइसलैंडिकis
Help:IPA/IgboIgboig
Help:IPA/Insular Catalanअलघेरीca-IT
बालेरी कातालानca-ES-IB
Help:IPA/InuktitutInuktitutiu
Help:IPA/InupiaqInupiaqik
Help:IPA/Irishआयरिशga
अलस्टर आयरिशga-x-ulster
कोनाक्ट आयरिशga-IE-C
मनस्टर आयरिशga-IE-M
Help:IPA/Italianइतालवीit
Help:IPA/Japaneseजापानीja
Help:IPA/Jin Chineseजिन चीनीcjy
Help:IPA/Kazakhकज़ाख़kk
Help:IPA/Khmerख्मेरkm
Help:IPA/Koreanकोरियाईko
Help:IPA/Kurdishउत्तरी कुर्दीkmr
कुर्दीku
केंद्रीय कुर्दीckb
दक्षिणी कुर्दीsdh
Help:IPA/Kyrgyzकिर्गिज़ky
Help:IPA/LakotaLakotalkt
Help:IPA/LaoPhu Thaipht
ईसानtts
लाओlo
Help:IPA/Latinलातिनla
एक्लेसियाई लैटिनla-x-church
शास्त्रीय लैटिनla-x-classic
Help:IPA/Latvianलातवियाईlv
Help:IPA/Lebanese Arabicलेबनी Arabicapc-LB
Help:IPA/LigurianLigurianlij
Help:IPA/Lithuanianलिथुआनियाईlt
Help:IPA/LombardLombardlmo
Help:IPA/Luxembourgishलक्ज़मबर्गिशlb
Help:IPA/Macedonianमैसिडोनियाईmk
Help:IPA/Malagasyमालागासीmg
Help:IPA/Malayइंडोनेशियाईid
मलयms
मलेशियाईzsm
Help:IPA/Malayalamमलयालमml
Help:IPA/Malteseमाल्टाईmt
Help:IPA/Mandarinमन्दारिनcmn
Help:IPA/Manxमैंक्सgv
Help:IPA/Māoriमाओरीmi
Help:IPA/Marathiमराठीmr
Help:IPA/MarshalleseMarshallesemh
Help:IPA/Mauritian Creoleमौरिशियाई क्रेओलmfe
Help:IPA/MayanK'iche'quc
Lacandonlac
Mayan भाषाएँmyn
Q'anjob'alkjb
Help:IPA/Mongolianमंगोलmn
Help:IPA/NahuatlOrizaba नावात्लnlv
नावात्ल भाषाएँnah
शास्त्रीय नावात्लnci
हुआस्तेक नाहुआत्लnhe
Help:IPA/Navajoनावाहोnv
Help:IPA/NeapolitanNeapolitannap
Help:IPA/Nepaliनेपालीne
Help:IPA/NguniZuluzu
कोसाxh
स्वाज़ीss
Help:IPA/Northern Thaiउत्तरी Thainod
Help:IPA/Norwegianनॉर्वेजियाईno
शहरी पूर्वी नॉर्वेजियाईno-NO-03
Help:IPA/OccitanOccitanoc
Help:IPA/Odiaओड़ियाor
Help:IPA/OkinawanOkinawanryu
Help:IPA/Old Englishपुरानी अंग्रेज़ीang
Help:IPA/Pashtoपश्तोps
Help:IPA/Persianताजिकtg
दरीprs
फ़ारसीfa
Help:IPA/PiedmontesePiedmontesepms
Help:IPA/Polishपोलिशpl
Help:IPA/Portugueseपुर्तगालीpt
ब्राजीलीयाई पुर्तगालीpt-BR
यूरोपीय पुर्तगालीpt-PT
Help:IPA/Punjabiपंजाबीpa
Help:IPA/Quechuaकेच्वाqu
Help:IPA/Romanianरोमानीro
Help:IPA/Romanshरोमांशrm
Help:IPA/Russianरूसीru
Help:IPA/Sanskritपालिpi
संस्कृतsa
Help:IPA/Sardinianसार्डिनियाईsc
Help:IPA/Scottish Gaelicस्कॉटिश गैलिकgd
Help:IPA/Serbo-Croatianक्रोएशियाईhr
बोस्नियाईbs
मोंटेनेग्रिनcnr
सर्बियाईsr
सर्बी-क्रोएशियाईsh
Help:IPA/Shan and Tai LueShanshn
टीई लुएkhb
Help:IPA/Sicilianसिसिलियाईscn
कलब्रीयाईscn-IT-78
सालेंटीनोscn-IT-75
Help:IPA/Slovakस्लोवाकsk
Help:IPA/Sloveneस्लोवेनsl
Help:IPA/SorbianLower Sorbiandsb
Sorbian भाषाएँwen
ऊपरी Sorbianhsb
Help:IPA/Spanishस्पेनीes
लैटिन अमेरिकी स्पैनिशes-419
Help:IPA/Standard Germanजर्मनde
ऑस्ट्रियाई जर्मनde-AT
स्विस मानक जर्मनde-CH
Help:IPA/SwahiliSwahilisw
Help:IPA/Swedishस्वीडिशsv
फ़िनलैंडी स्वीडिशsv-FI
Help:IPA/Sylhetiसिलहटीsyl
Help:IPA/Tagalogतगालोगtl
फ़िलीपीनोfil
Help:IPA/Taiwanese HokkienTaiwanese Hokkiennan-TW
Help:IPA/Tamilतमिलta
Help:IPA/TatarCrimean Tatarcrh
तातारtt
Help:IPA/Teluguतेलुगूte
Help:IPA/Thaiथाईth
दक्षिणी Thaisou
Help:IPA/Tibetanमानक तिब्बतीbo
Help:IPA/TigrinyaTigrinyati
Help:IPA/Tunisian Arabicट्यूनीशियाई अरबीaeb
Help:IPA/Turkishतुर्कीtr
Help:IPA/Turkmenतुर्कमेनtk
Help:IPA/Ukrainianयूक्रेनीuk
Help:IPA/Uzbekउज़्बेकuz
Help:IPA/VenetianVenetianvec
Help:IPA/Vietnameseवियतनामीvi
उत्तरी वियतनामीvi-VN-HN
केंद्रीय वियतनामीvi-VN-26
vi-VN-DN
दक्षिणी वियतनामीvi-VN-SG
Help:IPA/WalloonWalloonwa
Help:IPA/Welshवेल्शcy
Help:IPA/West Frisianपश्चिमी फ़्रिसियाईfy
Help:IPA/Wu Chineseवू चीनीwuu
Help:IPA/Xiang ChineseXiang चीनीhsn
Help:IPA/Yiddishयिडिशyi
Help:IPA/YorubaYorubayo
Help:IPA/Zhuangझ़ुआंगza

Common parameters

These parameters can be used in either mode.

audio
Name of an audio file to accompany the transcription. Takes precedence over the fourth unnamed parameter.
wrap
If set to none, wrapping is prevented for the entire transcription (i.e. the wrap class is not added to spaces). If set to all, no wrapping prevention takes place (i.e. the nowrap class is not added to the transcription).
class
HTML class(es) added to the span element containing the transcription.
cat
If set to no, the page will not be categorized under Category:Pages with plain IPA (basic mode) or a language-specific subcategory of Category:Pages with IPA (guide-linking mode).

Tracking categories

These are added only in Module:Category handler's default namespaces. If |debug=yes is given, the categories that would be added are shown as links, no matter the namespace. This is for testcases only.

TemplateData

TemplateData

This template ensures proper display of transcriptions using the International Phonetic Alphabet (IPA). Its behavior changes drastically depending on whether more than one unnamed parameter is given. For dialect-neutral transcriptions of English, use IPAc-en instead.

साँचे के पैरामीटर्स[साँचा डेटा सम्पादित करें]

इस साँचे के लिए पैरामीटरों के इनलाइन प्रारूपण को प्राथमिकता दी जाती है।

पैरामीटरविवरणप्रकारस्थिति
Transcription or language code1

Transcription including brackets ([...] for a phonetic transcription and /.../ for a phonemic one) if this template is being used just for formatting. IETF language tag if used for linking the transcription to a language-specific key or introductory guide.

उदाहरण
[ɛɡzɑ̃pl], en
स्ट्रिंगआवश्यक
Transcription2

Without brackets.

उदाहरण
ɛɡzɑ̃pl
स्ट्रिंगवैकल्पिक
Label code3

Replaces the default label "[language name] pronunciation:" with another canned one. Leave it blank to have no label.

सुझावित वैल्यू
lang ipa pron also alsolang langalso local localpron
स्ट्रिंगवैकल्पिक
Audio fileaudio 4

Name of an audio file to accompany the transcription.

फ़ाइलवैकल्पिक
Labellabel

Text that precedes the transcription. Unlike "Label code", this displays any wikitext as entered.

पंक्तिवैकल्पिक
linklink

"yes" links the language name in the label to the article about the language.

सुझावित वैल्यू
yes
स्ट्रिंगवैकल्पिक
smallsmall

"no" cancels the reduction of the label size.

सुझावित वैल्यू
no
स्ट्रिंगवैकल्पिक
genericgeneric

"yes" links the transcription to [[Help:IPA]] instead of a language-specific key. Required if the transcription does not adhere to the conventions of the language-specific key.

सुझावित वैल्यू
yes
स्ट्रिंगवैकल्पिक
wrapwrap

"none" prevents wrapping anywhere in the transcription. "all" cancels the prevention of wrapping after non-space characters in the transcription.

सुझावित वैल्यू
none all
स्ट्रिंगवैकल्पिक
classclass

Additional HTML class(es) for the transcription.

स्ट्रिंगवैकल्पिक
Language codelang

IETF language tag when the first parameter is a transcription.

उदाहरण
en
स्ट्रिंगवैकल्पिक
Tooltiptooltip

Tooltip to replace the default one with. Leave it blank to have no tooltip.

स्ट्रिंगवैकल्पिक
catcat

"no" cancels the categorization of the page into "Pages with [language name] IPA".

सुझावित वैल्यू
no
स्ट्रिंगवैकल्पिक

Conversion templates

Some language-specific templates allow you to enter ordinary letters (or conventional ASCII equivalents) in place of IPA characters, and convert them to the phonetic symbols used to transcribe the language.

Language Template Code example Result
Cantonese {{IPAc-yue}} (uses) {{IPAc-yue|h|ung|2|.|z|i|2}} [hʊŋ˧˥.tsi˧˥]
Hungarian {{IPAc-hu}} (uses) {{IPAc-hu|'|m|a|gy|a|r}} साँचा:IPAc-hu
Mandarin {{IPAc-cmn}} (uses) {{IPAc-cmn|zh|ong|1|h|ua|2|-|r|en|2|m|in|2|-|g|ong|4|h|e|2|g|uo|2}} [ʈʂʊ́ŋxwǎ ɻə̌nmǐn ̂ŋxɤ̌kwǒ]
Polish {{IPAc-pl}} (uses) {{IPAc-pl|'|sz|cz|e|ć|i|n}} साँचा:IPAc-pl

Some other conversion templates have also been created, but they haven't been vetted by the community and may not produce output complying with the respective keys.