模板:IPAsym

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

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

所生成的条目名应该存在。本模板可输入多个字符,或者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.

参见

上述文档内容嵌入自Template:IPAsym/doc编辑 | 历史
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面