Difference between revisions of "Template:I18n"
(Imported https://wiki.archlinux.org/index.php/Template:I18n) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 12: | Line 12: | ||
Inter-language links are sorted alphabetically via JavaScript; see the language table ([[Help:i18n#Languages]]) and [[Wikipedia:Help:Sorting]] for details. | Inter-language links are sorted alphabetically via JavaScript; see the language table ([[Help:i18n#Languages]]) and [[Wikipedia:Help:Sorting]] for details. | ||
+ | |||
+ | If you want to contribute some translations in a language not listed in the box, feel free to contact us! | ||
====Example==== | ====Example==== | ||
− | {{i18n|Template:i18n}}</noinclude><includeonly><div class="toc noprint" style="text-align: center; margin-bottom: 1em"> | + | {{i18n|Template:i18n}}</noinclude><includeonly><div class="toc noprint" style="width:100%; text-align: center; margin-bottom: 1em"> |
− | '''[[Help:i18n| | + | '''[[Help:i18n|Language]]''' |
---- | ---- | ||
− | |||
[[{{{2|{{{1}}}}}}|English]] – <!-- English is special --> | [[{{{2|{{{1}}}}}}|English]] – <!-- English is special --> | ||
+ | {{Lang|{{{1}}}|Deutsch}} | ||
+ | {{Lang|{{{1}}}|Nederlands}} | ||
+ | {{Lang|{{{1}}}|Français}} | ||
{{Lang|{{{1}}}|Español}} | {{Lang|{{{1}}}|Español}} | ||
− | + | [[{{{1}}} (Italiano)|Italiano]]<!-- last entry is special (don't display trailing dash) --> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[{{{1}}} ( | ||
</div></includeonly> | </div></includeonly> |
Latest revision as of 15:58, 25 February 2018
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.An 'i18n' box used to display inter-language links. See Help:i18n.
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.
If you want to contribute some translations in a language not listed in the box, feel free to contact us!