Difference between revisions of "Template:Translations"
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly>{{Translations/code |
| − | + | |articles={{{articles|}}} | |
| − | + | |rtl={{{rtl|}}} | |
| − | + | |message-languages=Languages: | |
| − | + | |message-no-known-translations=There are no known versions of this page in other languages. Please read the directions on [[{{Translation of|CC Wiki:Translate}}|how to add a translation]]. | |
| − | + | }}</includeonly><noinclude> | |
| − | + | Template '''{{PAGENAME}}''' is used to link an article in the wiki to its translations. To use it in your article, insert it as follows: | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<pre> | <pre> | ||
| − | {{Translations| | + | {{Translations |
| − | + | | articles = Es:Foo,Hr:Bar | |
| + | | rtl = True (optional) | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 45: | Line 17: | ||
If no translations are specified, the page is marked as ''Untranslated''. | If no translations are specified, the page is marked as ''Untranslated''. | ||
| + | |||
| + | 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. | ||
==See also== | ==See also== | ||
*[[CC Wiki:Translate]] | *[[CC Wiki:Translate]] | ||
| − | *[[Template: | + | *[[Template:Translated From]] |
| + | |||
| + | {{Translations | ||
| + | | articles = Template:Pt:Traduções | ||
| + | }} | ||
[[Category:Translation templates]] | [[Category:Translation templates]] | ||
| + | __NOEDITSECTION__ | ||
</noinclude> | </noinclude> | ||
Revision as of 21:40, 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 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.