模板:Ethnologue shared doc
Template:EthnologueN is designed for use in the reference section of a language article. It links to the appropriate article at Ethnologue, Nth edition.
参数及使用方法
编辑- 一个参数
- Replace
XYZ
with the ISO 639-3 code for the language. The page name will be used as the link text
- 两个参数
- Replace
ABC
with the link text to be displayed. This may be useful if the Ethnologue name differs from the page name of the Wikipedia article.
- 不含参数
- The template will revert to a generic citation and link to Ethnologue
范例
编辑- 一个参数
- 两个参数
- 不含参数
注意事项
编辑For a reference to the Ethnologue population figures, enter "e(number)" in the ref
parameter of {{Infobox language}}. This will automatically generate a reference based on this template, and is easier for other editors to update.
参见
编辑- {{Ethnolink}}, for inline links when the data is not date-dependent
- Newer and older versions of this template can be found at Category:Language external link templates
- The link format
[[Ethnologue:xxx]]
can also be used, e.g. Ethnologue:ENG
TemplateData
编辑This template is designed for use in the reference section of a language article. It links to the appropriate article at the relevant edition of the Ethnologue.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Language code | 1 | The ISO 639-3 code for the language. | 字符串 | 推荐 |
Link text | 2 | The link text to be displayed. This may be useful if the Ethnologue name differs from the page name of the Wikipedia article. If you omit it, the page title will be displayed as the link text. | 字符串 | 可选 |