Template:IPA link/testcases

From blackwiki
< Template:IPA link
Revision as of 21:29, 24 July 2012 by imported>DePiep
Jump to navigation Jump to search


Usage

First parameter or ipa symbol= (required): Any IPA symbol, or its IPA number.

Label

label=, or 2nd, 3rd parameter, changes the label of the wikilink.


Brackets
  • bracket=, or 2nd or 3rd parameter: set IPA bracket. Options are: / [ < (none). Default is none.
2nd parameter
3rd parameter
2nd/3rd parameter, the other one as label


2nd/3rd parameter label, no bracket
bracket named, 2 or 3 as label



Error situation

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

{{IPAlink|pʰɪk}}pʰɪk

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

Option "label" (2nd, unnamed parameter)

The template can take the extra input like "label=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|label=Anytext}}m
{{IPAlink|ɽ͡r|label=*}}ɽ͡r
{{IPAblink|ˤ|label=sˤ}}[ˤ]
{{IPAblink|ˤ|sˤ}}[]
{{IPAblink|301|i}}Error using {{IPA symbol}}: "301" not found in list

Other options: name, wikilink

Style

  • {{IPAlink|m|style=background:#f7a6c5; font-size:140%;}}m

brackets