Template:Link language/doc

This template is used to indicate to readers that an external link is in a foreign language.

It should generally be placed after the external link, although this is not set in stone; for more information, see the Manual of Style. English is the default language, and does not need to be noted using this template, unless there is a reason the reader would assume the link to be in a foreign language (e.g. a foreign title).

For citations, the  parameter of the various citation templates (,, , etc.) should be used instead.

Usage
Language codes: ISO 3166-1.

Example
produces:

TemplateData
{ "description": "Displays a language name based on an ISO code, often used after a foreign language reference following the manual of style.", "params": { "1": {     "label": "language code", "description": "The ISO 639 language code, e.g. 'fr' for French", "type": "string", "required": true } } }