Difference between revisions of "Template:Translations"

From Creative Commons
Jump to: navigation, search
Line 20: Line 20:
 
If the article is in a right-to-left language, use <code>rtl = True</code> to indicate it. Otherwise, omit this parameter.
 
If the article is in a right-to-left language, use <code>rtl = True</code> to indicate it. Otherwise, omit this parameter.
  
This template is an interface to the real code, which is in [[Template:Translations/code]]. It provides the messages that the real code needs, in English. Please create a translation of it, providing to the real code the same messages, but translated to your language. Check [[Template:Pt:Traduções]] for an example of how to do this.
+
This is an interface that supplies messages in English to the real code, available at [[Template:Translations/code]]. Please translate this interface and the messages to your language. Refer to [[Template:Pt:Traduções]] for an example.
  
 
==See also==
 
==See also==

Revision as of 22:53, 25 April 2011

Template Translations is used to link an article in the wiki to its translations. To use it in your article, insert it as follows:

{{Translations
| articles = Es:Foo,Hr:Bar
| rtl = True (optional)
}}

Any number of translations can be listed in the articles parameter, separated by commas.

If no translations are specified, the page is marked as Untranslated.

If the article is in a right-to-left language, use rtl = True to indicate it. Otherwise, omit this parameter.

This is an interface that supplies messages in English to the real code, available at Template:Translations/code. Please translate this interface and the messages to your language. Refer to Template:Pt:Traduções for an example.

See also