Template:I18n: Difference between revisions

From The Official Visionaire Studio: Adventure Game Engine Wiki
No edit summary
No edit summary
Line 18: Line 18:
<br/>
<br/>
----
----
{| class="ts i18n"
{| class="ex i18n"
|-
|-
| style="padding-top:15px;padding-bottom:-5px;" |
| style="padding-top:15px;padding-bottom:-10px;" |
{{Lang|{{{1}}}|日本語}}
{{Lang|{{{1}}}|日本語}}
{{Lang|{{{1}}}|正體中文}}
{{Lang|{{{1}}}|正體中文}}
Line 55: Line 55:
<!--{{Lang|{{{1}}}|Tiếng Việt}}-->
<!--{{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) -->
| style="padding-top:15px;padding-bottom:-5px;" |{{#TwitterFBLike:right|small|like}}
| style="padding-top:15px;padding-bottom:-10px;" |{{#TwitterFBLike:right|small|like}}
|}
|}
<!--<br/>
<!--<br/>
<span style="text-align:right;">''[[Help:i18n|More info]]''</span>-->
<span style="text-align:right;">''[[Help:i18n|More info]]''</span>-->
<!--/div--></includeonly>
<!--/div--></includeonly>

Revision as of 13:10, 20 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



日本語 – 正體中文 – 한국어 – Dansk – Deutsch – English – Español – Français – Italiano – Nederlands – Polski – Português – Svenska – Русский

{{#TwitterFBLike:right|small|like}}