跳至內容

模板: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.

參數及使用方法

[編輯]
Examples are omitted when viewed on the shared doc page for technical reasons; see them at e.g. Template:Ethnologue14.
一個參數
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.

參見

[編輯]

TemplateData

[編輯]
以下是該模板的模板資料,適用於視覺化編輯器等工具。

Ethnologue shared doc模板資料

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 code1

The ISO 639-3 code for the language.

字串建議
Link text2

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.

字串非必填