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 language parameter of the various citation templates (,, , etc.) should be used instead.

Usage
The language code is usually an ISO 639 code, but it may be any code for which an ISO 639 name template has been created; see.

Note that language codes do not always coincide with country codes; see the list of ISO 3166-1 codes.

Examples
ISO 639-1 code for French:
 * Usage:
 * Output:
 * The language name is defined in :

ISO 639-2 and ISO 639-3 code for Asturian:
 * Usage:
 * Output:
 * The language name is defined in :

User-defined CSS
Logged in users can change the appearance of the template's output using CSS with the  class. For example, edit Special:MyPage/common.css and add span.languageicon { font-weight: bold; }. That would result in being displayed as (in French) instead of (in French).

TemplateData
{ "description": "Displays a language name based on an ISO 639 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 } } }