Template:ISO 639-1
Template:ISO 639-1 displays an external link to a page for an ISO 639-1 en: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.
Usage
[編集]{{ISO 639-1|code}}
{{ISO 639-1|code|text}}
Alternative usage:
{{ISO639-1|code}}
{{ISO639-1|code|text}}
{{iso639-1|code}}
{{iso639-1|code|text}}
Examples
[編集]Compares to:
- Usage:
[[iso639-3:eng|eng]]
- Output: eng
Compares to:
- Usage:
[[iso639-3:eng|English]]
- Output: English
TemplateData
[編集]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 code | 1 | A valid ISO 639-1 language code. | 文字列 | 必須 |
Link text | 2 | 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. | 文字列 | 省略可能 |