Template:Ls
From PC-BSD Wiki
Revision as of 20:41, 9 June 2011 by Tigersharke (Talk | contribs)
und: {{{2}}}
Usage
<div class="multilingual">
{{ls|en|This text is English}}
{{ls|fr|This text is French}}
</div>
|
→ | English: This text is English
français: This text is French
|
This template wraps translations for Language select, a script which dynamically hides languages when the user's preferred language is available.
Parameters
- Outdated translations
- To mark a translation as outdated:
<div class="multilingual"> {{ls|en|This new text is English}} {{ls|fr|This old text is French|update=en}} </div>→ English: This new text is Englishfrançais: [mise à jour requise: en] This old text is French
- customize appearance
- To customize the appearance using CSS:
<div class="multilingual"> {{ls|en|This text is English|CSS-box=background:#000; color:#FFF;}} {{ls|fr|This text is English|CSS-label=background:#000; color:#FFF;}} </div>→ English: This text is EnglishEnglish: This text is English
Translation
To translate the "update needed" message, edit {{snippets/update needed}}.
<div style="clear:both;" />