Template:Airtin leid
(in Scots)
Uisage
[eedit soorce]{{in|<language code>}} {{Airtin leid|<language code>|cat-lang=<language name>}}
The language code is usually an ISO 639 code but it may be any valid IETF language tag. Note that language codes do not always coincide with country codes; see the list of ISO 3166-1 codes. The language name displayed is obtained via Template:Ml
which uses the following data:
- Module:Lang/data – special override codes / names (looks here first)
- Module:Language/data/iana languages – as defined by the IETF-sanctioned IANA registry
- Module:Language/data/ISO 639-3 – as defined in ISO 639-3
- Module:Language/data/wp languages – specific to Wikipedia
Airticles uising this template are automatically added to a language-specific hidden category. For example, an article using {{in|fr}}
is added to Category:Airticles wi French-language external airtins. The |cat-lang=
parameter may be used in cases where the language name displayed is different from the language name in the category.
TemplateData
[eedit soorce]TemplateData for Airtin leid
Displays a language name based on an ISO 639 code, often used after a foreign language reference following the manual of style.
Parameter | Descreeption | Type | Status | |
---|---|---|---|---|
leid code | 1 | The ISO 639 leid code or IETF language tag, e.g. 'fr' faer French, 'pt-BR' faer Brazilian Portuguese | String | required |
Leid category | cat-lang | no description | String | optional |
See an aw
[eedit soorce]- Categories created for use with this template are listed in Category:Airticles wi non-Scots-leid freemit airtins.
- Language codes cross-reference: list of ISO 639 codes.