Difference between revisions of "Template:I18n"

From The Official Visionaire Studio: Adventure Game Engine Wiki
m
m
Line 54: Line 54:
 
<!--{{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:25px; text-align:center;" | <span class="cent">{{#TwitterFBLike:left|small|like}}</span>
+
| style="padding-top:25px; text-align:center;" | <div style="magin: 0, auto;">{{#TwitterFBLike:left|small|like}}</span>
 
|}
 
|}
 
<!--<br/>
 
<!--<br/>
 
<span style="text-align:right;">''[[Help:i18n|More info]]''</span>-->
 
<span style="text-align:right;">''[[Help:i18n|More info]]''</span>-->
 
<!--/div--></div></includeonly>
 
<!--/div--></div></includeonly>

Revision as of 19:25, 6 November 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