Template:IPAlink/doc

The templates, , and  automatically wikilink an IPA symbol to the respective sound article. IPAlink displays the bare IPA symbol; IPAalink (IPA angle bracket link) displays them within ‹angle brackets›, IPAblink (IPA bracket link) displays them within [brackets], and IPAslink displays the symbol between /slashes/.

The conversion table is not defined in this template, but inherited from IPAsym.

Usage
These templates have only one parameter. Instead of an IPA symbol, the IPA number van be entered too for the same effect. If the IPA symbol is not defined in the IPAsym table, then an error message is returned.


 *   &rarr;
 *   &rarr;
 *   &rarr;
 *   &rarr;
 *   &rarr;
 *   &rarr;
 *   &rarr;
 *   &rarr;

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.

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.
 * Option "showsymbol" (2nd, unnamed parameter)
 *  </tt> &rarr;
 *  </tt> &rarr;
 *  </tt> &rarr;
 *  </tt> &rarr;
 *  </tt> &rarr;

Extending this template
This template can be extended simply. Please note that the only responsibility of this template to providing a wikilink to the corresponding sound article name. If you wish to add new features, like enclosing the link in  tags, please create a new template (for example Template:IPAbiglink).