Difference between revisions of "Template:I18n"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 21: Line 21:
 
| style="padding-top:25px;" |
 
| style="padding-top:25px;" |
 
{{Lang|{{BASEPAGENAME}}|ch}}
 
{{Lang|{{BASEPAGENAME}}|ch}}
{{Lang|{{{1}}}|正體中文}}
+
{{Lang|{{BASEPAGENAME}}|正體中文}}
{{Lang|{{{1}}}|한국어}}
+
{{Lang|{{BASEPAGENAME}}|한국어}}
{{Lang|{{{1}}}|Dansk}}
+
{{Lang|{{BASEPAGENAME}}|Dansk}}
{{Lang|{{{1}}}|Deutsch}}
+
{{Lang|{{BASEPAGENAME}}|Deutsch}}
[[{{{2|{{{1}}}}}}|English]]&nbsp;&ndash; <!-- English is special -->
+
[[{{{2|{{BASEPAGENAME}}}}}|English]]&nbsp;&ndash; <!-- English is special -->
{{Lang|{{{1}}}|Español}}
+
{{Lang|{{BASEPAGENAME}}|Español}}
{{Lang|{{{1}}}|Français}}
+
{{Lang|{{BASEPAGENAME}}|Français}}
<!--{{Lang|{{{1}}}|Indonesia}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Indonesia}}-->
{{Lang|{{{1}}}|Italiano}}
+
{{Lang|{{BASEPAGENAME}}|Italiano}}
<!--{{Lang|{{{1}}}|Lietuviškai}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Lietuviškai}}-->
<!--{{Lang|{{{1}}}|Magyar}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Magyar}}-->
{{Lang|{{{1}}}|Nederlands}}
+
{{Lang|{{BASEPAGENAME}}|Nederlands}}
{{Lang|{{{1}}}|Polski}}
+
{{Lang|{{BASEPAGENAME}}|Polski}}
{{Lang|{{{1}}}|Português}}
+
{{Lang|{{BASEPAGENAME}}|Português}}
<!--{{Lang|{{{1}}}|Română}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Română}}-->
<!--{{Lang|{{{1}}}|Slovenský}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Slovenský}}-->
<!--{{Lang|{{{1}}}|Suomi}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Suomi}}-->
{{Lang|{{{1}}}|Svenska}}
+
{{Lang|{{BASEPAGENAME}}|Svenska}}
<!--{{Lang|{{{1}}}|Türkçe}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Türkçe}}-->
<!--{{Lang|{{{1}}}|Česky}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Česky}}-->
<!--{{Lang|{{{1}}}|Ελληνικά}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Ελληνικά}}-->
<!--{{Lang|{{{1}}}|Български}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Български}}-->
<!--{{Lang|{{{1}}}|Русский}}-->
+
<!--{{Lang|{{BASEPAGENAME}}|Русский}}-->
 
[[{{{1}}}/ru|Русский]] <!-- last entry is special (don't display trailing dash) -->
 
[[{{{1}}}/ru|Русский]] <!-- last entry is special (don't display trailing dash) -->
 
<!--{{Lang|{{{1}}}|Српски}}-->
 
<!--{{Lang|{{{1}}}|Српски}}-->

Revision as of 22:42, 21 August 2014

An 'i18n' box used to display inter-language links. See Help:i18n.

Shamelessly stolen from the Arch Linux wiki.

Usage

This template should be added at the beginning of every article (ideally below category markers but above any other content).

{{i18n|Template:i18n}}

The argument should be modified to match the English title of the article (i.e. without any language tag).

Inter-language links are sorted alphabetically via JavaScript; see the language table (Help:i18n#Languages) and Wikipedia:Help:Sorting for details.

Example