Difference between revisions of "Template:Translations"

From Creative Commons
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#if:{{{articles|}}}|<div style="background-color:#ddffdd;margin-bottom:10px;display:block;">
+
<includeonly>{{#if:{{{articles|}}}|
 +
<div style="background-color:#ddffdd;margin-bottom:10px;display:block;">
 
<table border="0"><tr valign="top"><td width="5%"><imagemap>
 
<table border="0"><tr valign="top"><td width="5%"><imagemap>
 
Image:Languages.png
 
Image:Languages.png
Line 8: Line 9:
 
<td>
 
<td>
 
{{#arraymap:{{{articles}}}|,|x|[[Has translation::x]]|,  }}  
 
{{#arraymap:{{{articles}}}|,|x|[[Has translation::x]]|,  }}  
</td></tr></table>
+
</td></tr></table></div>
</div>
+
|[[Category:Untranslated]]
|
 
[[Category:Untranslated]]
 
 
}}{{#if:{{#explode:{{PAGENAME}}|:|0}}
 
}}{{#if:{{#explode:{{PAGENAME}}|:|0}}
 
|[[Has language::{{lc:{{#explode:{{PAGENAME}}|:|0}}}}| ]]
 
|[[Has language::{{lc:{{#explode:{{PAGENAME}}|:|0}}}}| ]]

Revision as of 17:44, 3 August 2010


This is the Translations template. It can be used to link to translations of an article in the wiki. To use it in your article, insert it as follows:

{{Translations|
   articles=Es:Foo,Hr:Bar
}}

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.

See also