Modèle:Ls/doc

From Rencontres Wikimédia 2010

Revision as of 07:44, 29 September 2010 by Phe (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Modèle:Documentation subpage

Usage

<div class="multilingual">
{{ls|en|This text is English}}
{{ls|fr|This text is French}}
</div>
This text is English
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>
This new text is English
[Modèle:Snippets/update needed: 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>
This text is English
This text is English

Translation

To translate the "update needed" message, edit {{snippets/update needed}}.


Personal tools
Namespaces
Variants
Actions
Rencontres Wikimédia 2010
About Wikimédia France
Glam wikis
Other links
Toolbox