Difference between revisions of "Template:Translated"

From Pandorabox
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>
+
<includeonly><!-- Please change Module:Translated instead
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 9: Line 9:
 
[[{{{pagename}}}/es|‎🇪🇸 español]]
 
[[{{{pagename}}}/es|‎🇪🇸 español]]
 
|}
 
|}
</includeonly>
+
-->{{#invoke:Translated|main|pagename={{{pagename|{{NAMESPACE}}:{{BASEPAGENAME}}}}}}}</includeonly>
 
<noinclude>
 
<noinclude>
{{Translated|pagename=Template:Translated}}
+
{{Translated}}
  
Simple translation links header
+
This template is a wrapper for [[Module:Translated]], which generates a header with the list of translations available for a page.
  
Usage:
+
== Usage ==
 
<pre>
 
<pre>
 
{{Translated|pagename=Template:Translated}}
 
{{Translated|pagename=Template:Translated}}
 
</pre>
 
</pre>
 +
 +
The <code>pagename</code> field is set to <code><nowiki>{{NAMESPACE}}:{{BASEPAGENAME}}</nowiki></code> if not provided, which works in most cases.
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:38, 30 May 2021


Other languagues

🇬🇧 English - 🇩🇪 Deutsch


This template is a wrapper for Module:Translated, which generates a header with the list of translations available for a page.

Usage

{{Translated|pagename=Template:Translated}}

The pagename field is set to {{NAMESPACE}}:{{BASEPAGENAME}} if not provided, which works in most cases.