Jump to content
Vis/skjul meny
  • 8 articles
  • 75 files
  • 7 users
  • 37,8k edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Ikke logget inn
Your IP address will be publicly visible if you make any edits.

Template:LanguageSelector

Template page
Maldokumentasjon[ vis · rediger · historikk · gjenoppfrisk ]
Denne dokumentasjonen er transkludert fra Template:LanguageSelector/doc.

Denne delen av dokumentasjonen er kun tilgjengelig på enkelte språk.

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. ;)

Bruk

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

Denne delen av dokumentasjonen er kun tilgjengelig på enkelte språk.

  • 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.

Malparametre

ParameterBeskrivelseStandardStatus
iconsdetermines what is displayed
  • yes: icons and text
  • only: only icons, no text
  • code: English language codes
  • anything else: only text, no icons
yesvalgfri
<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.optionalvalgfri
notpioldummy parameter, if assigned any value, it will suppress the 'This page in other languages: ' textoptionalvalgfri
actionpassed through to {{UselangLink}}, read documentation there for further informationoptionalvalgfri

Ekstra informasjon

Malen er ment å brukes i følgende navnerom: alle navnerom

Denne malen er ment å brukes av følgende brukergrupper: alle brukere

Avhenger av:

See also

Denne delen av dokumentasjonen er kun tilgjengelig på enkelte språk.

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).
Informasjonskapsler hjelper oss å levere. Ved å bruke tjenesten vår godtar du vår bruk av informasjonskapsler.