साँचा:IPAlink/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 =
}}
The template साँचा:tlbautomatically wikilink an IPA symbol to the respective sound article. IPAlink displays the bare IPA
symbol. Showing IPA defined brackets like // is an input option.
साँचा:tlb, साँचा:tlb and साँचा:tlb are earlier versions with predefined angular <>, square [] or slash // brackets. The conversion table is not defined in this template, but inherited from साँचा:tl.
Usage
- First parameter or
ipa symbol=
(required): Any IPA symbol, or its IPA number. - साँचा:tlx → साँचा:square bracket openbilabial nasal|m]]साँचा:yesno
- साँचा:tlx → साँचा:square bracket openvoiced labial-velar plosive|ɡb]]साँचा:yesno
- साँचा:tlx → साँचा:square bracket openclose front unrounded vowel|301]]साँचा:yesno
- Label
label=
, or second parameter: changes the label of the wikilink.
- When set to blank,
label=|
, no label is showsn and the IPA symbol name is shown. (Note:showsymbol=
does the same, but is deprecated)
- When set to blank,
- साँचा:tlx → साँचा:square bracket openbilabial nasal|Any text]]साँचा:yesno
- साँचा:tlx → साँचा:square bracket openbilabial nasal|Any text]]साँचा:yesno
- साँचा:tlx → साँचा:square bracket openbilabial nasal|Any text]]साँचा:yesno
- साँचा:tlx → साँचा:square bracket openvoiced labial-velar plosive]]साँचा:yesno
- Brackets
bracket=
, or third parameter: set IPA bracket. Options are:/ [ < (none)
. Default is none.- साँचा:tlx → <साँचा:square bracket openbilabial nasal|m]]>साँचा:yesno
- साँचा:tlx → <साँचा:square bracket openclose front unrounded vowel|301]]>साँचा:yesno
- साँचा:tlx → [साँचा:square bracket openbilabial nasal|m]]]साँचा:yesno
- साँचा:tlx → [साँचा:square bracket openvoiced labial-velar plosive|ɡb]]]साँचा:yesno
- साँचा:tlx → /साँचा:square bracket openvoiced labial-velar plosive|ɡb]]/साँचा:yesno
- Error situation
If the IPA symbol is not defined in the IPAsym table, then an error message is returned.
- {{IPAlink|pʰɪk}} → साँचा:square bracket openसाँचा:error|pʰɪk]]साँचा:yesno
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" deprecated (use label= or 2nd unnamed parameter, preferred)
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.
- {{IPAlink|m|showsymbol=Anytext}} → साँचा:square bracket openbilabial nasal|Anytext]]साँचा:yesno
- {{IPAlink|ɽ͡r|showsymbol=*}} → साँचा:square bracket openretroflex trill|*]]साँचा:yesno
Option name
Full parameter list
In the short form:
{{IPAlink | | | | name = | errortext = | showsymbol= }}
Equally, the longer including optional names:
{{IPAlink | ipa symbol= <!-- or 1st unnamed parameter--> | label = <!-- or 2nd unnnamed paramter --> | bracket = <!-- or 3rd unnamed parameter --> | name = <!-- yes/no --> | errortext = | showsymbol= <!-- deprecated, use label= ==> }}
See also
- साँचा:tl – Creates an article link
- साँचा:tl – Creates a link in angle brackets: "‹›", for showing the IPA symbol, while linking to the named article.
- साँचा:tl – Creates a link in IPA brackets: "[]"
- साँचा:tl – Creates a link in IPA slashes: "//"