Template:ISO 639 name sr
Serbian
Usage
Template:ISO 639 name sr is part of a series that resolves the ISO 639-1, ISO 639-2 and ISO 639-3 codes to language names.
It is used by {{Translated page}} with language code sr, for example: {{Translated page |sr |name of page at Serbian Wikipedia}}. This template is used to generate a link to the Serbian Wikipedia and could be used to include pages in Category:Pages translated from Serbian Wikipedia (may be created using {{Translated sub-cat |sr}}).
Former usage
The following templates now use Module:Lang, which stores the language code and name data in Module:Language/data/iana languages, Module:Language/data/ISO 639-3, and Module:Language/data/wp languages.
- {{Lang|sr| some text in Serbian}} wraps the text with <span lang="sr"> and includes articles in Category:Articles containing Serbian-language text. Also available is {{Lang-sr |some text in Serbian}} which displays as Serbian: some text in Serbian.
- {{R from other language|sr|("to" language code)}} includes pages in Category:Redirects from Serbian-language terms (may be created using {{Redirect from alternative language category}}).
- {{R from alternative language|("from" language code)|sr}} includes pages in Category:Redirects to Serbian-language terms (may be created using {{Redirect to alternative language category}}).
See also
External links
- "ISO 639-1 identifier: sr". Library of Congress.