Difference between revisions of "Template:I18n"
From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 16: | Line 16: | ||
{{i18n|Template:i18n}}</noinclude><includeonly> | {{i18n|Template:i18n}}</noinclude><includeonly> | ||
<html> | <html> | ||
− | <script type="text/javascript" src="http://wiki.visionaire-tracker.net/extensions/lightswitch/jquery-cookie.js"></script> | + | <!--script type="text/javascript" src="http://wiki.visionaire-tracker.net/extensions/lightswitch/jquery-cookie.js"></script--> |
− | <script type="text/javascript" src="http://wiki.visionaire-tracker.net/extensions/lightswitch/lightswitch.js"></script> | + | <!--script type="text/javascript" src="http://wiki.visionaire-tracker.net/extensions/lightswitch/lightswitch.js"></script--> |
</html> | </html> | ||
<div style="margin-top:0 px;"> | <div style="margin-top:0 px;"> |
Revision as of 22:39, 9 May 2016
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