Difference between revisions of "Template:OtherLang"

From Psiram
Jump to navigation Jump to search
 
(One intermediate revision by the same user 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/{{urlencode:{{{en}}}|WIKI}} {{{en}}}] [[en:{{{en}}}]] [[Category:English]]}} -->{{#if:{{{es|}}}|*Espanol: *[{{SERVER}}/es/index.php/{{urlencode:{{{es}}}|WIKI}} {{{es}}}] [[es:{{{es}}}]] [[Category:Espanol]]}}{{#if:{{{fr|}}}|*Français: [{{SERVER}}/fr/index.php/{{urlencode:{{{fr}}}|WIKI}} {{{fr}}}] [[fr:{{{fr}}}]] [[Category:Français]]}}{{#if:{{{ge|}}}|*Deutsch: [{{SERVER}}/ge/index.php/{{urlencode:{{{ge}}}|WIKI}} {{{ge}}}] [[de:{{{ge}}}]] [[Category:Deutsch]]}}{{#if:{{{it|}}}|*Italiano: [{{SERVER}}/it/index.php/{{urlencode:{{{it}}}|WIKI}} {{{it}}}] [[it:{{{it}}}]] [[Category:Italian]]}}{{#if:{{{nl|}}}|*Nederlands: [{{SERVER}}/nl/index.php/{{urlencode:{{{nl}}}|WIKI}} {{{nl}}}] [[nl:{{{nl}}}]] [[Category:Nederlands]]}}{{#if:{{{pl|}}}|*Polski: [{{SERVER}}/pl/index.php/{{urlencode:{{{pl}}}|WIKI}} {{{pl}}}] [[pl:{{{pl}}}]] [[Category:Polski]]}}{{#if:{{{ru|}}}|*Русский: [{{SERVER}}/ru/index.php/{{urlencode:{{{ru}}}|WIKI}} {{{ru}}}] [[ru:{{{ru}}}]] [[Category:Русский]]}}{{#if:{{{uk|}}}|*Українська: [{{SERVER}}/uk/index.php/{{urlencode:{{{uk}}}|WIKI}} {{{uk}}}] [[uk:{{{uk}}}]] [[Category:Українська]]}}[[Category:Multilingual]]</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}}