Difference between revisions of "Template:I18n"
From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 15: | Line 15: | ||
====Example==== | ====Example==== | ||
{{i18n|Template:i18n}}</noinclude><includeonly> | {{i18n|Template:i18n}}</noinclude><includeonly> | ||
− | <div | + | <div style="margin-top:-15px;"> |
---- | ---- | ||
− | {| class="ex" | + | {| class="ex i18n" |
|- | |- | ||
− | | style="padding-top:25px;font-weight: 300;font-size:11px;" | | + | | style="padding-top:25px;font-weight: 300;font-size:11px; -webkit-border-bottom-right-radius: 5px; |
+ | -webkit-border-bottom-left-radius: 5px; | ||
+ | -moz-border-radius-bottomright: 5px; | ||
+ | -moz-border-radius-bottomleft: 5px; | ||
+ | border-bottom-right-radius: 5px; | ||
+ | border-bottom-left-radius: 5px;" | | ||
{{Lang|{{{1}}}|日本語}} | {{Lang|{{{1}}}|日本語}} | ||
{{Lang|{{{1}}}|正體中文}} | {{Lang|{{{1}}}|正體中文}} |
Revision as of 20:23, 22 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