Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ls/doc: Difference between revisions

Template page
rv translations (these are examples, there should only be 2 for contrast)
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}}
{{ls|oc|Aqueste tèxt es en Occitan}}
</div></pre>
</div></pre>
|style="font-size:3em;"| &rarr;
|style="font-size:3em;"| &rarr;
| <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}}
{{ls|oc|Aqueste tèxt es en Occitan}}
</div>
</div>
|}
|}
Line 27: Line 23:
|-
|-
| <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 33: Line 28:
|style="font-size:3em;"| &rarr;
|style="font-size:3em;"| &rarr;
| <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 44: Line 38:
|-
|-
| <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 50: Line 43:
|style="font-size:3em;"| &rarr;
|style="font-size:3em;"| &rarr;
| <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:04, 30 January 2009

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 English
Français : [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>
English: This text is English
English: This text is English

Translation

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


Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.