Difference between revisions of "Template:Translations"
Line 5: | Line 5: | ||
|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]]. | |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> | }}</includeonly><noinclude> | ||
− | Template '''{{PAGENAME}}''' | + | Template '''{{PAGENAME}}''' should be used to link an original article in the wiki to all its translations. It produces a languages box, that shows in what languages the article is available. |
+ | |||
+ | This template is an interface that supplies messages in English to the real code, available at [[Template:Translations/code]]. If a translation to your language is not yet available, please translate this interface and its messages to your language. Refer to [[Template:Pt:Traduções]] for an example that also shows how to translate the parameter names. | ||
+ | |||
+ | == Use == | ||
+ | To use it in your original article written in English, insert it as follows: | ||
<pre> | <pre> | ||
Line 18: | Line 23: | ||
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. | + | If the article is in a right-to-left language (which is obviously not the case in English), use <code>rtl = True</code> to indicate it. Otherwise, omit this parameter. |
− | + | If your original article is not in English, please translate this template to the language of the article and use it instead. | |
− | ==See also== | + | == See also == |
*[[CC Wiki:Translate]] | *[[CC Wiki:Translate]] | ||
*[[Template:Translated From]] | *[[Template:Translated From]] |
Revision as of 15:03, 27 April 2011
Template Translations should be used to link an original article in the wiki to all its translations. It produces a languages box, that shows in what languages the article is available.
This template is an interface that supplies messages in English to the real code, available at Template:Translations/code. If a translation to your language is not yet available, please translate this interface and its messages to your language. Refer to Template:Pt:Traduções for an example that also shows how to translate the parameter names.
Use
To use it in your original article written in English, 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 (which is obviously not the case in English), use rtl = True
to indicate it. Otherwise, omit this parameter.
If your original article is not in English, please translate this template to the language of the article and use it instead.