Difference between revisions of "Template:IPA link/doc"
imported>Kwamikagami |
|||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
{{SpecialChars}} | {{SpecialChars}} | ||
| − | + | The templates {{tl|IPAlink}} and {{tl|IPAblink}} automatically [[wikilink]] as IPA symbol to the respective sound article. IPAlink displays only the IPA letters; IPAblink (IPA bracket link) displays them within [brackets]. | |
| − | The conversion table is not | + | The conversion table is not defined in this template, but inherited from {{tl|IPAsym}}. |
=== Usage === | === Usage === | ||
| − | + | These templates have only one parameter. If the IPA symbol is not defined in the IPAsym table, then the argument is linked to [[{{IPAsym|this is definitely not in the table}}]]. | |
:<tt><nowiki>{{IPAlink|m}}</nowiki></tt> → {{IPAlink|m}} | :<tt><nowiki>{{IPAlink|m}}</nowiki></tt> → {{IPAlink|m}} | ||
| − | :<tt><nowiki>{{ | + | :<tt><nowiki>{{IPAblink|ɡb}}</nowiki></tt> → {{IPAblink|ɡb}} |
:<tt><nowiki>{{IPAlink|pʰɪk}}</nowiki></tt> → {{IPAlink|pʰɪk}} | :<tt><nowiki>{{IPAlink|pʰɪk}}</nowiki></tt> → {{IPAlink|pʰɪk}} | ||
| Line 16: | Line 16: | ||
=== Extending this template === | === 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. | + | 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 <code><nowiki><big>...</big></nowiki></code> tags, please create a new template (for example [[Template:IPAbiglink]]). |
| − | |||
| − | If you wish to add new features, like enclosing the link | ||
=== See also === | === See also === | ||
Revision as of 02:01, 23 June 2010
| 40px | This is a documentation subpage for Template:IPA link. It contains usage information, categories and other content that is not part of the original template page. |
Template:SpecialChars The templates {{IPAlink}} and {{IPAblink}} automatically wikilink as IPA symbol to the respective sound article. IPAlink displays only the IPA letters; IPAblink (IPA bracket link) displays them within [brackets].
The conversion table is not defined in this template, but inherited from {{IPAsym}}.
Usage
These templates have only one parameter. If the IPA symbol is not defined in the IPAsym table, then the argument is linked to [[Error using {{IPA symbol}}: "this is definitely not in the table" 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 {{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 <big>...</big> tags, please create a new template (for example Template:IPAbiglink).
See also
{{IPAsym}} – Provides the conversion table for this template