Difference between revisions of "Template:IPA link/doc"

From blackwiki
Jump to navigation Jump to search
Line 18: Line 18:
  
 
If you wish to add new features, like enclosing the link in square IPA brackets <code><nowiki>[...]</nowiki></code>, or enclosing it in <code><nowiki><big>...</big></nowiki></code> tags, please create a new template (for example [[Template:IPAsqlink]] or [[Template:IPAbiglink]]) that reuses this template instead.
 
If you wish to add new features, like enclosing the link in square IPA brackets <code><nowiki>[...]</nowiki></code>, or enclosing it in <code><nowiki><big>...</big></nowiki></code> tags, please create a new template (for example [[Template:IPAsqlink]] or [[Template:IPAbiglink]]) that reuses this template instead.
 +
 +
=== See also ===
 +
{{tl|IPAsym}} – Provides the conversion table for this template
  
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:IPA_templates]]
 
[[Category:IPA_templates]]
 
</includeonly>
 
</includeonly>

Revision as of 02:48, 13 June 2010

This template automatically wikilinks the IPA symbol passed as parameter to the respective sound article.

The conversion table is not directly defined in this template, but it can be found at {{IPAsym}}.

Usage

This template has only one parameter, which is numbered and mandatory. If the argument does not exist in the table, then the argument is linked to [[Error using {{IPA symbol}}: "this is definitely not in the table" not found in list]].

{{IPAlink|m}}m
{{IPAlink|ɡ͡b}}ɡ͡b
{{IPAlink|pʰɪk}}pʰɪk

The latter is normally more an example of accidental misuse than intentional use, and it could be a sign that a symbol is missing from the {{IPAsym}} table.

Extending this template

Please keep this template simple. In particular, please preserve the only responsibility of this template to providing a wikilink to the corresponding sound.

If you wish to add new features, like enclosing the link in square IPA brackets [...], or enclosing it in <big>...</big> tags, please create a new template (for example Template:IPAsqlink or Template:IPAbiglink) that reuses this template instead.

See also

{{IPAsym}} – Provides the conversion table for this template