Difference between revisions of "Template:Translations"

From Userful Support
Jump to navigationJump to search
 
(21 intermediate revisions by 4 users not shown)
Line 5: Line 5:
  
 
'''Usage:'''
 
'''Usage:'''
* Before using this, you must name your ''original'' page properly.  For example, if you have a page named "Documentation/Product User Guide" written in English, you must move it to "Documentation/Product User Guide/EN".
+
* Before using this, you must name your page properly.  For example, if you have a page named "Documentation/Product User Guide" written in French, you must move it to "Documentation/Product User Guide/FR".
 +
* English pages must be either named ".../EN" or you can exclude the language code and use the <code>base</code> parameter.
 +
* Currently supported languages codes are:
 +
**  RU -- ??????? (Russian)
 +
**  DE -- Deutsch (German)
 +
**  EN -- English
 +
**  ES -- Español (Spanish)
 +
**  FR -- Français (French)
 +
**  PT -- Português (Portuguese)
 
* Add this template at the top of your page with this wikitext:
 
* Add this template at the top of your page with this wikitext:
 
: <code><nowiki>{{translations}}</nowiki></code>
 
: <code><nowiki>{{translations}}</nowiki></code>
 +
: Or, for the base page (page with no language code at the end of the title):
 +
: <code><nowiki>{{translations|base}}</nowiki></code>
  
 +
* See also [[Template:Autotranslated]]
 +
* See an example: [[Documentation/DiscoverStation_Administrator_Guide/ES]]
 
'''Sample:'''
 
'''Sample:'''
 
</noinclude>
 
</noinclude>
 
+
{| align="left" style="width:100%; background-color:#dddddd; border:none;"
{| bgcolor="DDDDDD" align="center" style="border-style:double; border-width:3px; border-color:lightgreen"
 
 
|  
 
|  
&nbsp;&nbsp;'''This page is also available in:''' [[{{BASEPAGENAME}}/EN | English]], [[{{BASEPAGENAME}}/ES | Espangol]], [[{{BASEPAGENAME}}/FR | Français]], [[{{BASEPAGENAME}}/PT | Português]], [[{{BASEPAGENAME}}/DE | Deutsch]]&nbsp;&nbsp;
+
&nbsp;&nbsp;'''This page is also available in:''' &nbsp; {{if|{{{1|}}}|then= [[{{PAGENAME}} | English]], [[{{PAGENAME}}/ES | Español]], [[{{PAGENAME}}/FR | Français]], [[{{PAGENAME}}/PT | Português]], [[{{PAGENAME}}/DE | Deutsch]]
|}
+
|else= [[{{BASEPAGENAME}} | English]], [[{{BASEPAGENAME}}/ES | Español]], [[{{BASEPAGENAME}}/FR | Français]], [[{{BASEPAGENAME}}/PT | Português]], [[{{BASEPAGENAME}}/DE | Deutsch]], [[{{BASEPAGENAME}}/RU | Russian]]}}&nbsp;&nbsp;
 +
|}<br>
 +
<noinclude>[[Category: Templates]]</noinclude>

Latest revision as of 15:29, 28 June 2012


Template: translations -- lists available translations

You can auto-translate a page using Google Translate or a similar service which may simplify typing. If you do auto-translate a page, be sure to include Template:Autotranslated near the top of your page.

Usage:

  • Before using this, you must name your page properly. For example, if you have a page named "Documentation/Product User Guide" written in French, you must move it to "Documentation/Product User Guide/FR".
  • English pages must be either named ".../EN" or you can exclude the language code and use the base parameter.
  • Currently supported languages codes are:
    • RU -- ??????? (Russian)
    • DE -- Deutsch (German)
    • EN -- English
    • ES -- Español (Spanish)
    • FR -- Français (French)
    • PT -- Português (Portuguese)
  • Add this template at the top of your page with this wikitext:
{{translations}}
Or, for the base page (page with no language code at the end of the title):
{{translations|base}}

Sample:

  This page is also available in:   English, Español, Français, Português, Deutsch, Russian