Difference between revisions of "Template:Translated From"

From Creative Commons
Jump to: navigation, search
(adde note about using the template outside of the main namespace and the special case of category pages)
Line 37: Line 37:
 
</pre>
 
</pre>
  
When used outside the main namespace, precede the page name by <code>Namespace:</code>. When used in a category page, further precede the namespace by a colon:
+
When used outside the main namespace, precede the page name by <code>Namespace:</code>. When used in a category or file description page, further precede the namespace by a colon:
  
 
<pre>
 
<pre>
 
{{Translated From
 
{{Translated From
 
   | source=:Category:Source Category Name
 
   | source=:Category:Source Category Name
 +
}}
 +
{{Translated From
 +
  | source=:File:Source File Description Name
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 11:35, 27 July 2010


This is the Translated From template. It can be used to link to translations of an article in the wiki back to the original work. When translating an article, add the following to your translation:

{{Translated From
  | source=Source Article Name
}}

Translations should be placed into the language namespace; for example, Spanish articles are placed in the Es: namespace.

For right to left languages, an optional rtl=true flag can be included.

{{Translated From
  | source=Source Article Name
  | rtl=true
}}

When used outside the main namespace, precede the page name by Namespace:. When used in a category or file description page, further precede the namespace by a colon:

{{Translated From
  | source=:Category:Source Category Name
}}
{{Translated From
  | source=:File:Source File Description Name
}}

See also