साँचा:IPAslink/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा: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 = }} साँचा:see also

The templates साँचा:tlb, साँचा:tlb and साँचा:tlb automatically wikilink an IPA symbol to the respective sound article and provide IPA-defined brackets. IPAalink (IPA angle bracket link) displays them within ‹angle brackets›, IPAblink (IPA bracket link) displays them within [square brackets], and IPAslink displays the symbol between /slashes/.

The conversion table is not defined in this template, but inherited from साँचा:tl.

For a more general IPA-linking template, with multiple options including IPA brackting, see साँचा:tlx.

Usage

These templates have one parameter, and an optional second.

  • First parameter: Any IPA symbol, or its IPA number.
  • showsymbol=, or use second parameter: changes the visible output into any text.

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

{{IPAalink|m}}m›
{{IPAalink|301}}301›
{{IPAblink|m}}[m]
{{IPAblink|ɡb}}[ɡb]
{{IPAslink|ɡb}}/ɡb/

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" (2nd, unnamed parameter)

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.

{{IPAalink|m|showsymbol=Anytext}}Anytext›
{{IPAalink|ɽ͡r|showsymbol=*}} *›
{{IPAblink|ˤ|showsymbol=sˤ}}[]
{{IPAblink|ˤ|sˤ}}[]
{{IPAblink|301|i}}[i]

See also

साँचा:navbox