Template:Ethnologue26/doc

< Template:Ethnologue26


Template:EthnologueN is designed for use in the reference section of a language article. It links to the appropriate article at Ethnologue, Nth edition.

Usage

Template:Memo

One parameter
Replace XYZ with the ISO 639-3 code for the language. The page name will be used as the link text


Two parameters
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.


No parameters
The template will revert to a generic citation and link to Ethnologue


Examples

One parameter


Two parameters


No parameters


Note

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.

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Ethnologue26

<templatedata> { "params": { "1": { "label": "Language code", "type": "string", "suggested": true, "description": "The ISO 639-3 code for the language." }, "2": { "label": "Link text", "type": "string", "description": "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." } }, "description": "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. " } </templatedata>