Jump to content
Przełącz menu
  • 8 artykułów
  • 75 plików
  • 7 użytkowników
  • 37.8K edycji
Neodyland Wiki
Przełącz menu preferencji
Przełącz menu użytkownika
Felëje logòwóniô
Jeśli wykonasz jakiekolwiek edycje, Twój adres IP będzie publicznie widoczny.

(ta część dokumentacji dostępna jest tylko w niektórych językach)

Displays a configurable set of links that switch the page it's used on to another language. It is intended to complement {{LangSwitch}}, but you might find previously unintended uses. ;)

Wykorzystanie

{{LanguageSelector |icons= |<unnamed parameters, numbered 2..40>= |notpiol= |action= }}

(ta część dokumentacji dostępna jest tylko w niektórych językach)

  • The switch only applies to the page the template is transcluded on, clicking other links will return you to the language set in your MediaWiki preferences. This does not generally apply to script calls, e. g. "hide/show" links, or controls for sortable tables or other embedded stuff.
  • The template can be used inline, it should not break any layout.

Parametry szablonu

ParametrOpisWartość domyślnaStatus
iconsdetermines what is displayed
  • yes: icons and text
  • only: only icons, no text
  • code: English language codes
  • anything else: only text, no icons
yesopcjonalny
<unnamed parameters, numbered 2..40>A language code. If present, a link for the corresponding language will be produced. Up to 19 language codes can currently be specified, and will display in the order indicated by the parameter sequence. If no unnamed parameters are specified, all languages will be displayed in the default order.optionalopcjonalny
notpioldummy parameter, if assigned any value, it will suppress the 'This page in other languages: ' textoptionalopcjonalny
actionpassed through to {{UselangLink}}, read documentation there for further informationoptionalopcjonalny

Dodatkowe informacje

Szablon jest przeznaczony do użytkowania w następujących przestrzeniach: wszystkie przestrzenie

Szablon jest przeznaczony do użytkowania dla grupy: wszyscy użytkownicy

Bazuje na:

See also

(ta część dokumentacji dostępna jest tylko w niektórych językach)

Language resources

If you want to add languages, the following resources might be useful

Examples

CodeRendering on page
{{LanguageSelector|de|en|fr|invalid}}
{{LanguageSelector|de|en|fr|invalid|action=edit}}
{{LanguageSelector|de|en|fr|invalid|icons=code}}
{{LanguageSelector|de|en|fr|notpiol=1}}
{{LanguageSelector|de|en|fr|notpiol=1|icons=yes}}
{{LanguageSelector|de|en|fr|notpiol=1|icons=code}}
{{LanguageSelector|de|en|fr|notpiol=1|icons=only}}

There are more examples with the default full list of languages on Template:LanguageSelector/doc/examples.

(Dont put examples with all languages here at it would break the transclusion of the documentation subpage in the main template page).


Ciasteczka pomagają nam dostarczać nasze usługi. Korzystając z naszych usług, zgadzasz się na wykorzystywanie ciasteczek.