Vai al contenuto

Template:ISO 639-2/doc

Da Wikipedia

Template:ISO 639-2 displays an external link to a page for an ISO 639-2 language code at the U.S. Library of Congress ISO 639-2 Registration Authority website. It provides a function similar to the iso639-3: prefix, such as iso639-3:eng, which is available for ISO 639-3 language codes.

{{ISO 639-2|code}}
{{ISO 639-2|code|text}}

Alternative usage:

{{ISO639-2|code}}
{{ISO639-2|code|text}}
{{iso639-2|code}}
{{iso639-2|code|text}}

Examples

[muda l codesc]
One parameter
Usage: {{iso639-2|eng}}
Output: Template:Iso639-2

Compares to:

Usage: [[iso639-3:eng|eng]]
Output: eng
Two parameters
Usage: {{iso639-2|eng|English}}
Output: Template:Iso639-2

Compares to:

Usage: [[iso639-3:eng|English]]
Output: English

TemplateData

[muda l codesc]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for ISO 639-2

This template displays an external link to a page for an ISO 639-2 language code at the U.S. Library of Congress ISO 639-2 Registration Authority website. It provides a function similar to the "iso639-3:" prefix, such as "iso639-3:eng", which is available for ISO 639-3 language codes.

Parametri template

ParametroDescrizioneTipoStato
ISO 639-2 code1

A valid ISO 639-2 language code.

Stringaobbligatorio
Link text2

Text to be displayed for the link. This parameter is optional; the link text defaults to the ISO 639-2 language code entered in unnamed parameter 1.

Stringafacoltativo

See also

[muda l codesc]