সাঁচ:IPA link/doc

অসমীয়া ৱিকিপিডিয়াৰ পৰা

The template


{{||সাঁচ:IPA link|IPA link]]}} creates a wikilink from an IPA symbol to the respective phonetic article. IPA link displays the bare IPA symbol. Showing IPA defined brackets like "/…/" is an input option.

The conversion list, from symbol to article name, is not defined in this template, but inherited from {{IPA symbol}}.



{{||সাঁচ:IPAalink|IPAalink]]}},


{{||সাঁচ:IPAblink|IPAblink]]}} and


{{||সাঁচ:IPAslink|IPAslink]]}} are versions with defined angular "সাঁচ:Angle bracket", square "[…]" or slash "/…/" brackets, respectively.

Usage[সম্পাদনা কৰক]

  • First parameter or ipa symbol= (required): any IPA symbol or its IPA number, respectively.
  • {{IPA link|m}}m
  • {{IPA link|ɡb}}ɡb
  • {{IPA link|301}}301

Brackets

  • ​bracket=​, or second or third parameter: set IPA bracket. Options are: /, [, and <. Default is none. The angle bracket input can be input as < from a regular keyboard; the output displayed is the opening U+27E8 mathematical left angle bracket (HTML: &#10216; এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "[") and the closing U+27E9 mathematical right angle bracket (HTML: &#10217; এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "[").
  • {{IPA link|m|<}}m
  • {{IPA link|m||<}}m
  • {{IPA link|301||<}}301
  • {{IPA link|m||[}}[m]
  • {{IPA link|ɡb||[}}[ɡb]
  • {{IPA link|ɡb||/}}/ɡb/

Label

(Note: showsymbol= does the same, but it is deprecated.)

Combined:

Direct page:

The target page can be set (overridden) by using ​direct page=​:

{{IPA link|ʘ|<}}ʘ
{{IPA link|ʘ|direct page=Bilabial clicks|<}}ʘ

Audio link:

​audio=yes​ adds a link to the corresponding audio file:

{{IPA link|ɽ|[|audio=yes}}[ɽ] ( শুনক)

If the value in ​audio=​ is a media file that exists, it will then link to that file instead:

{{IPA link|ɽ|[|audio=Retroflex flaps.ogg}}[ɽ] ( শুনক)

If the audio file is not specified at Module:IPA symbol/data, the link will not appear:

{{IPA link|s̬|[|audio=yes}}[]

Error situation

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

{{IPA link|pʰɪk}}Error using {{IPA symbol}}: "pʰɪk" not found in list

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 {{IPA symbol}} table.

Option "showsymbol" deprecated (use label= or a second unnamed parameter, preferably)

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

{{IPA link|m|showsymbol=Anytext}}Anytext
{{IPA link|ɽ͡r|showsymbol=*}} *

Option name

The name=yes parameter provides a display of the name of the phoneme (a function of {{IPA symbol}}) to the right of the displayed symbol for the phoneme, as shown in the example below:

  • {{IPA link|m|/|name=yes}}/m/ bilabial nasal

Full parameter list[সম্পাদনা কৰক]

In the short form:

{{IPA link
|
|
|
| name      =
| errortext =
| showsymbol=
}}

Equally, the longer including optional names:

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

Known issue[সম্পাদনা কৰক]

  • The output should be enveloped in {{nowrap}}.

See also[সম্পাদনা কৰক]

  • {{IPAalink}} – creates a link in angle brackets: "সাঁচ:Angle bracket", for showing the IPA symbol, when linking to the named article
  • {{IPAblink}} – creates a link in IPA brackets: "[…]"
  • {{IPAdblink}} – creates a link in IPA double brackets: "⟦…⟧"
  • {{IPAslink}} – creates a link in IPA slashes: "/…/"