Template:Ls/doc: Difference between revisions
Template page
More actions
oc: |
|||
| Line 5: | Line 5: | ||
|- | |- | ||
| <pre><div class="multilingual"> | | <pre><div class="multilingual"> | ||
{{ls|ar|هذا النص عربي}} | |||
{{ls|en|This text is English}} | {{ls|en|This text is English}} | ||
{{ls|fr|This text is French}} | {{ls|fr|This text is French}} | ||
| Line 11: | Line 12: | ||
|style="font-size:3em;"| → | |style="font-size:3em;"| → | ||
| <div class="multilingual"> | | <div class="multilingual"> | ||
{{ls|ar|هذا النص عربي}} | |||
{{ls|en|This text is English}} | {{ls|en|This text is English}} | ||
{{ls|fr|This text is French}} | {{ls|fr|This text is French}} | ||
| Line 25: | Line 27: | ||
|- | |- | ||
| <pre><div class="multilingual"> | | <pre><div class="multilingual"> | ||
{{ls|ar|هذا النص الجديد عربي}} | |||
{{ls|en|This new text is English}} | {{ls|en|This new text is English}} | ||
{{ls|fr|This old text is French|update=en}} | {{ls|fr|This old text is French|update=en}} | ||
| Line 30: | Line 33: | ||
|style="font-size:3em;"| → | |style="font-size:3em;"| → | ||
| <div class="multilingual"> | | <div class="multilingual"> | ||
{{ls|ar|هذا النص الجديد عربي}} | |||
{{ls|en|This new text is English}} | {{ls|en|This new text is English}} | ||
{{ls|fr|This old text is French|update=en}} | {{ls|fr|This old text is French|update=en}} | ||
| Line 40: | Line 44: | ||
|- | |- | ||
| <pre><div class="multilingual"> | | <pre><div class="multilingual"> | ||
{{ls|ar|هذا النص عربي|CSS-box=background:#000; color:#FFF;}} | |||
{{ls|en|This text is English|CSS-box=background:#000; color:#FFF;}} | {{ls|en|This text is English|CSS-box=background:#000; color:#FFF;}} | ||
{{ls|fr|This text is English|CSS-label=background:#000; color:#FFF;}} | {{ls|fr|This text is English|CSS-label=background:#000; color:#FFF;}} | ||
| Line 45: | Line 50: | ||
|style="font-size:3em;"| → | |style="font-size:3em;"| → | ||
| <div class="multilingual"> | | <div class="multilingual"> | ||
{{ls|ar|هذا النص عربي|CSS-box=background:#000; color:#FFF;}} | |||
{{ls|en|This text is English|CSS-box=background:#000; color:#FFF;}} | {{ls|en|This text is English|CSS-box=background:#000; color:#FFF;}} | ||
{{ls|en|This text is English|CSS-label=background:#000; color:#FFF;}} | {{ls|en|This text is English|CSS-label=background:#000; color:#FFF;}} | ||
Revision as of 10:02, 30 January 2009
Usage
<div class="multilingual">
{{ls|ar|هذا النص عربي}}
{{ls|en|This text is English}}
{{ls|fr|This text is French}}
{{ls|oc|Aqueste tèxt es en Occitan}}
</div>
|
→ | العربية : هذا النص عربي
English: This text is English
Français : This text is French
Occitan : Aqueste tèxt es en Occitan
|
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|ar|هذا النص الجديد عربي}} {{ls|en|This new text is English}} {{ls|fr|This old text is French|update=en}} </div>→ العربية : هذا النص الجديد عربيEnglish: This new text is EnglishFrançais : [update needed : en] This old text is French
- customize appearance
- To customize the appearance using CSS:
<div class="multilingual"> {{ls|ar|هذا النص عربي|CSS-box=background:#000; color:#FFF;}} {{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}}.