{{{1}}}

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

Template:ISO 639-1 displays an external link to a page for an ISO 639-1 language code at the U.S. Library of Congress ISO 639-2 Registration Authority website. It provides a function similar to the iso639-3: prefix, such as iso639-3:eng, which is available for ISO 639-3 language codes.

使用 编辑

{{ISO 639-1|code}}
{{ISO 639-1|code|text}}

替代用法:

{{ISO639-1|code}}
{{ISO639-1|code|text}}
{{iso639-1|code}}
{{iso639-1|code|text}}

举例 编辑

单一参数
代码:{{iso639-1|en}}
输出:en

比较:

代码:[[iso639-3:eng|eng]]
输出:eng
两个参数
代码:{{iso639-1|en|English}}
输出:English

Compares to:

Usage: [[iso639-3:eng|English]]
Output: English

TemplateData 编辑

以下是该模板的模板数据,适用于可视化编辑器等工具。

ISO 639-1模板数据

This template displays an external link to a page for an ISO 639-1 language code at the U.S. Library of Congress ISO 639-2 Registration Authority website. It provides a function similar to the "iso639-3:" prefix, such as "iso639-3:eng", which is available for ISO 639-3 language codes.

模板参数[编辑模板数据]

参数描述类型状态
ISO 639-1 code1

A valid ISO 639-1 language code.

字符串必需
Link text2

Text to be displayed for the link. This parameter is optional; the link text defaults to the ISO 639-1 language code entered in unnamed parameter 1.

字符串可选

参见 编辑