Difference between revisions of "Template:OtherLang"

From Psiram
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
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: [{{SERVER}}/fr/index.php?title={{urlencode:{{{fr}}}}} {{{fr}}}]}}{{#if:{{{ge|}}}|*Deutsch: [{{SERVER}}/ge/index.php?title={{urlencode:{{{ge}}}}} {{{ge}}}] [[Category:Deutsch]]}}{{#if:{{{it|}}}|*Italiano: [{{SERVER}}/it/index.php?title={{urlencode:{{{it}}}}} {{{it}}}] [[Category:Italian]]}}{{#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}}</noinclude>
+
<!--{{#if:{{{en|}}}|*English: [[:en:{{{en}}}|{{{en}}}]] [[en:{{{en}}}]][[Category:English]]}}-->{{#if:{{{es|}}}|*Espanol: [[:es:{{{es}}}|{{{es}}}]] [[es:{{{es}}}]] [[Category:Espanol]]}}{{#if:{{{fr|}}}|*Français: [[:fr:{{{fr}}}|{{{fr}}}]] [[fr:{{{fr}}}]] [[Category:Français]]}}{{#if:{{{ge|}}}|*Deutsch: [[:de:{{{ge}}}|{{{ge}}}]] [[de:{{{ge}}}]] [[Category:Deutsch]]}}{{#if:{{{it|}}}|*Italiano: [[:it:{{{it}}}|{{{it}}}]] [[it:{{{it}}}]] [[Category:Italiano]]}}{{#if:{{{nl|}}}|*Nederlands: [[:nl:{{{nl}}}|{{{nl}}}]] [[nl:{{{nl}}}]] [[Category:Nederlands]]}}{{#if:{{{pl|}}}|*Polski: [[:pl:{{{pl}}}|{{{pl}}}]] [[pl:{{{pl}}}]] [[Category:Polski]]}}{{#if:{{{ru|}}}|*Русский: [[:ru:{{{ru}}}|{{{ru}}}]] [[ru:{{{ru}}}]] [[Category:Русский]]}}{{#if:{{{uk|}}}|*Українська: [[:uk:{{{uk}}}|{{{uk}}}]] [[uk:{{{uk}}}]] [[Category:Українська]]}}[[Category:Multilingual]]</includeonly></onlyinclude><noinclude>{{{{SUBJECTPAGENAME}}/Doku}}</noinclude>

Latest revision as of 10:55, 11 November 2012

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}}