Difference between revisions of "Template:Interwiki"
(31 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <table class="toccolours" style="text-align:center; margin:0 0 4px 0; padding:4px 4px 0px 4px; width:100%;" cellpadding="0px" cellspacing="0px"> |
− | + | <tr><th style="background:#ffcccc; font-size: larger;">Interwiki | |
− | + | </th></tr><tr><td> | |
− | + | {{if|test={{{bg|}}}|then=[[{{{bg}}}|български]]|else=<font color="#999"><small>български</small></font>}} • | |
− | | | + | {{if|test={{{de|}}}|then=[[{{{de}}}|Deutsch]]|else=<font color="#999"><small>Deutsch</small></font>}} • |
− | | | + | {{if|test={{{en|}}}|then=[[{{{en}}}|English]]|else=<font color="#999"><small>English</small></font>}} • |
− | | | + | {{if|test={{{es|}}}|then=[[{{{es}}}|Español]]|else=<font color="#999"><small>Español</small></font>}} • |
− | | | + | {{if|test={{{eo|}}}|then=[[{{{eo}}}|Esperanto]]|else=<font color="#999"><small>Esperanto</small></font>}} • |
− | |[[{{{ | + | {{if|test={{{fr|}}}|then=[[{{{fr}}}|Français]]|else=<font color="#999"><small>Français</small></font>}} • |
− | |} | + | {{if|test={{{it|}}}|then=[[{{{it}}}|Italiano]]|else=<font color="#999"><small>Italiano</small></font>}} • |
+ | {{if|test={{{lt|}}}|then=[[{{{lt}}}|Lietuvių]]|else=<font color="#999"><small>Lietuvių</small></font>}} • | ||
+ | {{if|test={{{jbo|}}}|then=[[{{{jbo}}}|Lojban]]|else=<font color="#999"><small>Lojban</small></font>}} • | ||
+ | {{if|test={{{nl|}}}|then=[[{{{nl}}}|Nederlands]]|else=<font color="#999"><small>Nederlands</small></font>}} • | ||
+ | {{if|test={{{pl|}}}|then=[[{{{pl}}}|Polska]]|else=<font color="#999"><small>Polska</small></font>}} • | ||
+ | {{if|test={{{pt|}}}|then=[[{{{pt}}}|Português]]|else=<font color="#999"><small>Português</small></font>}} • | ||
+ | {{if|test={{{ru|}}}|then=[[{{{ru}}}|Русский]]|else=<font color="#999"><small>Русский</small></font>}} • | ||
+ | {{if|test={{{fi|}}}|then=[[{{{fi}}}|Suomi]]|else=<font color="#999"><small>Suomi</small></font>}} • | ||
+ | {{if|test={{{sv|}}}|then=[[{{{sv}}}|Svenska]]|else=<font color="#999"><small>Svenska</small></font>}} • | ||
+ | {{if|test={{{tr|}}}|then=[[{{{tr}}}|Türkçe]]|else=<font color="#999"><small>Türkçe</small></font>}} • | ||
+ | {{if|test={{{ch|}}}|then=[[{{{ch}}}|中文]]|else=<font color="#999"><small>中文</small></font>}} | ||
+ | </td></tr></table><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]][[Category:Plantillas|{{PAGENAME}}]]</noinclude> |
Latest revision as of 09:43, 8 September 2015
Interwiki |
---|
български • Deutsch • English • Español • Esperanto • Français • Italiano • Lietuvių • Lojban • Nederlands • Polska • Português • Русский • Suomi • Svenska • Türkçe • 中文 |
{{Interwiki}} is a template that serves to link the different language versions of the same article. UsageFirst step: create a template named Template:InterwikiLink:ArticleName. Replacing "ArticleName" by the original name of the article (in English) without spaces and using UpperCamelCase style. Example: for the article "Pierogi with cheese" create the template Template:InterwikiLink:PierogiWithCheese. If necessary, also include the NAMESPACE within the name. Example: for the category "Animals" create the template Template:InterwikiLink:CategoryAnimals. Second step: put the following code in the template created. {{Interwiki | bg = | ch = | de = | en = | eo = | es = | fi = | fr = | it = | jbo = | lt = | nl = | pl = | pt = | ru = | sv = | tr = }} Third step: add the different names of the article in the appropriate fields. Delete the unused fields. For example: {{Interwiki | de = Kabeljau | en = Cod | eo = moruo | es = Bacalao | sv = Torsk }} or for categories: {{ | en = :Category:Animals | es = :Category:Animales }} Fourth and last step: add the following code at the top of the original article and also in all language versions of the article. {{InterwikiLink:ArticleName}} Replacing "ArticleName" by the original name of the article (in English) without spaces and using UpperCamelCase style. |