Ŝablono:Language/dokumentado

El Komunejo

(Malsamoj inter versioj)
Iri al: navigado, serĉi
E
Linio 5: Linio 5:
|2=2
|2=2
|2d=language code of the output language (provide this parameter only, if the output shall be in a fixed language instead of the user's preferred language)
|2d=language code of the output language (provide this parameter only, if the output shall be in a fixed language instead of the user's preferred language)
-
|1stat=optional-
+
|2stat=optional-
|name=Language
|name=Language
|desc=This template will return the localized name of a language given the language code.
|desc=This template will return the localized name of a language given the language code.

Kiel registrite je 03:01, 3. Apr 2009


Ŝablono:LanguageDokumentadoDiskuto

Tio estas dokumentado por ŝablono {{Language}}. Ĝi enhavas informojn pri la uzado, kategorioj ktp. de ŝablono, kiu ne estas enhavo de la ĝusta ŝablona paĝo.


(this part of the documentation is only available in some languages)

This template will return the localized name of a language given the language code.

Enhavo

Usage

{{Language|1=}}

(this part of the documentation is only available in some languages)

Examples:

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

Parameters

Parameter name Description (this part of the documentation is only available in some languages) Default value required or optional?
parameter #1 (1) language code empty required
parameter #2 (2) language code of the output language (provide this parameter only, if the output shall be in a fixed language instead of the user's preferred language) empty optional

Additional information

The template is intended to be used in the following namespaces:

  • the Template namespace

The template is intended to be used by the following user groups:

<Seealso>

(this part of the documentation is only available in some languages)

Localization

Ŝablono:Lang links

This template is localized through {{Autotranslate}}.

To add your language to the list of languages supported by this template, please copy the code of Template:Language/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.


Personaj iloj