Wikiversity:Language select/Ro
From Wikiversity
Wikiversity:Language select – Deutsch · Ελληνικά · English · Español · Français · 日本語 · Ripoarisch · Norsk (bokmål) · Português · Română · Svenska · Türkçe · 中文 ·
Pentru o versiune mai detaliată despre această funcţie, vedeţi Meta:Language select.
Alegerea limbii permite utilizatorilor să ascundă limbile străine pe o pagină multilinguală. Aceasta va arăta, de exemplu, unui utilizator francez doar textul în limba franceză a acelei pagini (dar va vedea în continuare textul în limba spaniolă pe o pagină doar în limba spaniolă).
Contents |
[edit] How to select a language
- To select a language, enter its ISO 639-1 code in the input box (
enfor English), and click on ➤. - If you want to display all languages, type
mulor click on ⋙.
[edit] Usage
[edit] JavaScript
The JavaScript method is activated by default on Wikiversity Beta. You can disable it by adding the following line to your script file.
ls_enable = false;
You can see an example of the JavaScript in action below. If language selection is disabled, all of the text will be displayed.
You can view the JavaScript code at MediaWiki:Monobook.js.
[edit] Delimiting languages
The template {{ls}} simplifies the implementation of language select.
{{ls|en|This text is English.}}