Ŝablono:Language/dokumentado

El Komunejo

(Malsamoj inter versioj)
Iri al: navigado, serĉi
(m)
E (Examples: sp?)
Linio 12: Linio 12:
* <nowiki>{{language|en|he}}</nowiki> → {{language|en|he}}
* <nowiki>{{language|en|he}}</nowiki> → {{language|en|he}}
-
You can also use this template's subpages directly to archive the same effect (which is also easier on the servers).
+
You can also use this template's subpages directly to achieve the same effect (which is also easier on the servers).
* <nowiki>{{language/en|de}}</nowiki> → {{language/en|de}}
* <nowiki>{{language/en|de}}</nowiki> → {{language/en|de}}
* <nowiki>{{language/zh-hans|de}}</nowiki> → {{language/zh-hans|de}}
* <nowiki>{{language/zh-hans|de}}</nowiki> → {{language/zh-hans|de}}

Kiel registrite je 02:16, 1. Jun 2009

Ŝablono:Documentation subpage

This template will return the name of a language given the language code. This template is made specifically for the language codes used in MediaWiki (not necessarily ISO codes, but see {{Language/ISO 639/en}}).

Examples

  • {{language|ar}} → Arabic
  • {{language|is}} → Icelandic
  • {{language|zh-hant}} → Traditional Chinese

The second parameter can be used to set the desired output language, otherwise it will return the name in the user's interface language (if a translation exists).

  • {{language|en|fr}} → anglais
  • {{language|en|he}} → English

You can also use this template's subpages directly to achieve the same effect (which is also easier on the servers).

Subpages

Language/cs Language/de Language/dokumentado
Language/empty Language/en Language/fr
Language/pl

See also

Personaj iloj