Template:LangSwitch: Difference between revisions

Jump to navigation Jump to search
clarification; minor copyedit
(+-doc: Copyable sample: Farsi → Persian, as per http://www.loc.gov/standards/iso639-2/php/English_list.php)
(clarification; minor copyedit)
Line 57: Line 57:
For testing and demonstration purposes the the '''lang ''' parameter can be used to override the automatic language selection.
For testing and demonstration purposes the the '''lang ''' parameter can be used to override the automatic language selection.


<pre><!-- Caveat: Google translated -->
<nowiki><!-- Caveat: Google translated -->
{{LangSwitch
{{LangSwitch
|de = Hallo Welt!
| de = Hallo Welt!
|en = Hello World!
| en = Hello World!
|es = ¡Hola Mundo!
| es = ¡Hola Mundo!
|fr = Bonjour tout le monde!
| fr = Bonjour tout le monde!
|nl = Hello World!
| nl = Hello World!
|ru = Привет мир!
| ru = Привет мир!
|lang = fr
| lang = fr
}}
}}</nowiki>
</pre>


{{LangSwitch
{{LangSwitch
Line 80: Line 79:


== Copyable sample ==
== Copyable sample ==
Please uncomment used entries, in essence by dragging and dropping <code>&lt;!--</code> to the left of the name of the language.
Please uncomment used entries, in essence by dragging and dropping <code>&lt;!--</code> to the left of the name of the language, like as with English in the example below.


  <nowiki>{{LangSwitch
  <nowiki>{{LangSwitch
Line 86: Line 85:
<!-- | de =  German -->
<!-- | de =  German -->
| en =  <!-- English -->
| en =  <!-- English -->
 
<!-- English/default text here -->
<!-- | es =  Spanish -->
<!-- | es =  Spanish -->
<!-- | fa =  Persian -->
<!-- | fa =  Persian -->

Navigation menu