文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

本模板提供从国际音标符号到维基百科条目名之间的转换。

所生成的条目名应该存在。本模板可输入多个字符,或者IPA的编号。

使用

本模板有一个强制使用的参数,须输入国际音标符号。不能使用{{IPA}}输入太多的文字。

{{IPAsym|m}} → 雙唇鼻音
{{IPAsym|ɡ͡b}} → 濁唇軟腭塞音

可能的错误

  • 必須輸入第一個參數,否則會產生錯誤訊息:
{{IPAsym}}Error using {{IPAsym}}: No input
  • 输入方式不在模板中所列,会生成错误信息:
{{IPAsym|xyz}}Error using {{IPA symbol}}: "xyz" not found in list

这会说明您的输入有错,或者模板内置的列表不存在这个写法。编者可以附加链接。

  • 使用{{IPA}}会影响模板使用:
{{IPAsym|{{IPA|p}}}}Error using {{IPA symbol}}: "p" not found in list
  • 另外,错误的文本可以由参数从默认的红色错误提醒替换成任意文字(包括空白):
{{IPAsym|xyz}}Error using {{IPA symbol}}: "xyz" not found in list
{{IPAsym|xyz|unknown}} → unknown
{{IPAsym|xyz|blank}}

出错的页面会列入分类:需要注意的国际音标页面

输入测试

注意

  • 直接使用本模板可能意义不大,但是可以用在其他模板之中,如{{IPAlink}}。这是一个元模板。

扩充本模板

请前往Module:IPA symbol/data修订列表。

技术说明

以下是英语维基百科的统计:
  • As of November 2010, there are 566 lines (i.e. 566 recognised inputs). Of these, 181 are IPA numbers. The 566 inputs lead to 201 outputs (201 Wikipedia article names, that are also the phnonetic descriptions).
  • As of October 2011, there are 726 lines (i.e. 726 recognised inputs). The 726 inputs lead to 249 outputs (249 Wikipedia article names, that are also the phnonetic descriptions).
  • As of July 2012, after a cleanup, there are 940 input symbols recognised, into 277 Wikipedia aricle names.
  • As of December 22, 2012 (before any cleanup), there are 1043 rows of input leading to 306 article names. No double names detected.

参见