틀:IPA 링크
Usage
편집First parameter (required): any IPA symbol.
Second parameter: changes the label of the wikilink.
{{IPA 링크|m|Any text}}
→ Any text
Audio link
|audio=yes
adds a link to the corresponding audio file:
If the value in |audio=
is not "yes", "y", "true", etc., it is treated as the name of an audio file:
If the audio file is not specified at Module:IPA symbol/data, the link will not appear:
{{IPA 링크|s̬|audio=yes}}
→ s̬
Errors
If the IPA symbol is not defined at Module:IPA symbol/data, then an error message is returned and the page will be categorized into Category:International Phonetic Alphabet pages needing attention.
{{IPA 링크|xyz}}
→ {{IPA symbol}} 사용 중 오류가 발생했습니다: "xyz" 항목이 목록에 없습니다
The error message can be customized in |errortext=
. This cancels the addition of the error category. If set to blank
, the message will not appear at all.
{{IPA 링크|xyz|errortext=Custom error message}}
→ Custom error message{{IPA 링크|xyz|errortext=blank}}
→
설명이 없습니다.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
IPA symbol | 1 | IPA symbol whose article to link to
| 문자열 | 필수 |
Display text | 2 | Text to show instead of the IPA symbol | 문자열 | 선택 사항 |
Audio | audio | Adds a link to sound if available
| 문자열 | 선택 사항 |
Error text | errortext | 설명 없음
| 문자열 | 선택 사항 |