Difference between revisions of "Template:Translations"

From Creative Commons
Jump to: navigation, search
Line 10: Line 10:
  
 
Any number of translations can be listed in the <code>articles</code> parameter, separated by commas.
 
Any number of translations can be listed in the <code>articles</code> parameter, separated by commas.
 +
 +
If no translations are specified, the page is marked as ''Untranslated''.
 
</noinclude>
 
</noinclude>
  
<includeonly>
+
<includeonly>{{#if:{{{articles|}}}|
 
<div style="background-color:#ddffdd;">
 
<div style="background-color:#ddffdd;">
 
<table border="0"><tr valign="top"><td width="5%">
 
<table border="0"><tr valign="top"><td width="5%">
Line 21: Line 23:
 
</td></tr></table>
 
</td></tr></table>
 
</div>
 
</div>
 +
|
 +
[[Category:Untranslated]]
 +
}}
 
</includeonly>
 
</includeonly>

Revision as of 15:28, 24 June 2008


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.