साँचा:IPAlink/doc

मुक्त ज्ञानकोश विकिपीडिया से
< साँचा:IPAlink
imported>Kutchkutch द्वारा परिवर्तित ०३:२२, ३ अक्टूबर २०११ का अवतरण (नया पृष्ठ: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{SpecialChars}} The template {{tlb|IPAlink}}automatically wikilink ...)
(अन्तर) ← पुराना अवतरण | वर्तमान अवतरण (अन्तर) | नया अवतरण → (अन्तर)
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

The template साँचा:tlbautomatically wikilink an IPA symbol to the respective sound article. IPAlink displays the bare IPA
symbol. Showing IPA defined brackets like // is an input option.

साँचा:tlb, साँचा:tlb and साँचा:tlb are earlier versions with predefined angular <>, square [] or slash // brackets. The conversion table is not defined in this template, but inherited from साँचा:tl.

Usage

Label
  • label=, or second parameter: changes the label of the wikilink.
When set to blank, label=|, no label is showsn and the IPA symbol name is shown. (Note: showsymbol= does the same, but is deprecated)
Brackets
Error situation

If the IPA symbol is not defined in the IPAsym table, then an error message is returned.

{{IPAlink|pʰɪk}}साँचा:square bracket openसाँचा:error|pʰɪk]]साँचा:yesno

The latter is normally more an example of accidental misuse than intentional use, or it could be a sign that a symbol is missing from the साँचा:tl table.

Option "showsymbol" deprecated (use label= or 2nd unnamed parameter, preferred)

The template can take the extra input like "showsymbol=A", and then show that symbol, while linking to the appropriate article. The symbol to be shown can also be the second, unnamed parameter.

{{IPAlink|m|showsymbol=Anytext}}साँचा:square bracket openbilabial nasal|Anytext]]साँचा:yesno
{{IPAlink|ɽ͡r|showsymbol=*}}साँचा:square bracket openretroflex trill|*]]साँचा:yesno

Option name

Full parameter list

In the short form:

{{IPAlink
|
|
|
| name      =
| errortext =
| showsymbol=
}}

Equally, the longer including optional names:

{{IPAlink
| ipa symbol= <!-- or 1st unnamed parameter-->
| label     = <!-- or 2nd unnnamed paramter -->
| bracket   = <!-- or 3rd unnamed parameter -->
| name      = <!-- yes/no -->
| errortext =
| showsymbol= <!-- deprecated, use label= ==>
}}

See also

साँचा:navbox