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|{{ | + | {{Lang|{{BASEPAGENAME}}|正體中文}} |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|한국어}} |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Dansk}} |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Deutsch}} |
− | [[{{{2|{{ | + | [[{{{2|{{BASEPAGENAME}}}}}|English]] – <!-- English is special --> |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Español}} |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Français}} |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Indonesia}}--> |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Italiano}} |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Lietuviškai}}--> |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Magyar}}--> |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Nederlands}} |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Polski}} |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Português}} |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Română}}--> |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Slovenský}}--> |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Suomi}}--> |
− | {{Lang|{{ | + | {{Lang|{{BASEPAGENAME}}|Svenska}} |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Türkçe}}--> |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Česky}}--> |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Ελληνικά}}--> |
− | <!--{{Lang|{{ | + | <!--{{Lang|{{BASEPAGENAME}}|Български}}--> |
− | <!--{{Lang|{{ | + | <!--{{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