Difference between revisions of "Template:i18n"
(add Vietnamese) |
|||
(12 intermediate revisions by one other user not shown) | |||
Line 15: | Line 15: | ||
====Example==== | ====Example==== | ||
− | {{i18n|Template:i18n}}</noinclude><includeonly><div | + | {{i18n|Template:i18n}}</noinclude><includeonly><div class="i18n"> |
− | |||
− | |||
{{Lang|{{{1}}}|Dansk}} | {{Lang|{{{1}}}|Dansk}} | ||
+ | {{Lang|{{{1}}}|Deutsch}} | ||
[[{{{2|{{{1}}}}}}|English]] – <!-- English is special --> | [[{{{2|{{{1}}}}}}|English]] – <!-- English is special --> | ||
{{Lang|{{{1}}}|Español}} | {{Lang|{{{1}}}|Español}} | ||
Line 45: | Line 44: | ||
{{Lang|{{{1}}}|正體中文}} | {{Lang|{{{1}}}|正體中文}} | ||
{{Lang|{{{1}}}|简体中文}} | {{Lang|{{{1}}}|简体中文}} | ||
+ | {{Lang|{{{1}}}|Tiếng Việt}} | ||
[[{{{1}}} (한국어)|한국어]] <!-- last entry is special (don't display trailing dash) --> | [[{{{1}}} (한국어)|한국어]] <!-- last entry is special (don't display trailing dash) --> | ||
+ | <br/> | ||
+ | <span style="text-align:right;">''[[Help:i18n|More info]]''</span> | ||
</div></includeonly> | </div></includeonly> |
Latest revision as of 14:40, 13 September 2012
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info