Difference between revisions of "Template:OtherLang"

From Psiram
Jump to: navigation, search
[unchecked revision][unchecked revision]
m
m
Line 1: Line 1:
 
<onlyinclude><includeonly><h2>Versions of this article in other languages</h2>
 
<onlyinclude><includeonly><h2>Versions of this article in other languages</h2>
<!-- {{#if:{{{en|}}}|*English: [{{SERVER}}/en/index.php?title={{urlencode:{{{en}}}}} {{{en}}}]|}} -->{{#if:{{{es|}}}|*Espanol: *[{{SERVER}}/es/index.php?title={{urlencode:{{{es}}}}} {{{es}}}]}}{{#if:{{{fr|}}}|*Français: [http://www.psiram.com/fr/index.php?title={{urlencode:{{{fr}}}}} {{{fr}}}]}}{{#if:{{{ge|}}}|*Deutsch: [{{SERVER}}/ge/index.php?title={{urlencode:{{{ge}}}}} {{{ge}}}]}}{{#if:{{{it|}}}|*Italiano: [{{SERVER}}/it/index.php?title={{urlencode:{{{it}}}}} {{{it}}}]}}{{#if:{{{nl|}}}|*Nederlands: [{{SERVER}}/nl/index.php?title={{urlencode:{{{nl}}}}} {{{nl}}}]}}{{#if:{{{pl|}}}|*Polski: [{{SERVER}}/pl/index.php?title={{urlencode:{{{pl}}}}} {{{pl}}}]}}</includeonly></onlyinclude><noinclude>
+
<!-- {{#if:{{{en|}}}|*English: [{{SERVER}}/en/index.php?title={{urlencode:{{{en}}}}} {{{en}}}]|}} -->{{#if:{{{es|}}}|*Espanol: *[{{SERVER}}/es/index.php?title={{urlencode:{{{es}}}}} {{{es}}}]}}{{#if:{{{fr|}}}|*Français: [{{SERVER}}/fr/index.php?title={{urlencode:{{{fr}}}}} {{{fr}}}]}}{{#if:{{{ge|}}}|*Deutsch: [{{SERVER}}/ge/index.php?title={{urlencode:{{{ge}}}}} {{{ge}}}]}}{{#if:{{{it|}}}|*Italiano: [{{SERVER}}/it/index.php?title={{urlencode:{{{it}}}}} {{{it}}}]}}{{#if:{{{nl|}}}|*Nederlands: [{{SERVER}}/nl/index.php?title={{urlencode:{{{nl}}}}} {{{nl}}}]}}{{#if:{{{pl|}}}|*Polski: [{{SERVER}}/pl/index.php?title={{urlencode:{{{pl}}}}} {{{pl}}}]}}</includeonly></onlyinclude><noinclude>
 
{{{{SUBJECTPAGENAME}}/Doku}}
 
{{{{SUBJECTPAGENAME}}/Doku}}
 
</noinclude>
 
</noinclude>

Revision as of 23:10, 5 March 2011

Template to link versions of an article in other languages

This template allows to tag articles which have versions in other languages and to add links to them. You just need to specify the language and the title of the linked page. Please note that a parameter for the same language is discarded. This is more convenient for copy and paste between articles in different languages.

Please use this syntax:
{{OtherLang|ge=German title of the page|fr=French title of the page}}

Possible parameters are:

  • Language: en|ge|fr|it|nl|es|pl|ru|uk
  • Title of the page in the other wiki


Example article Ryke Geerd Hamer:
{{OtherLang|en=Ryke Geerd Hamer|ge=Ryke Geerd Hamer|fr=Ryke Geerd Hamer|it=Ryke Geerd Hamer}}