Difference between revisions of "Template:i18n"

Line 17: Line 17:
 
{{i18n|Template:i18n}}</noinclude><includeonly><div style="text-align: center; margin-bottom: 1em; border: 1px solid #D7E8F7; background-color: #E9F5FF; padding: 3px;">
 
{{i18n|Template:i18n}}</noinclude><includeonly><div style="text-align: center; margin-bottom: 1em; border: 1px solid #D7E8F7; background-color: #E9F5FF; padding: 3px;">
 
'''[[Help:i18n|i18n]]'''
 
'''[[Help:i18n|i18n]]'''
<br /><br />
+
<span style="padding: 2px;">&nbsp;</span>
 
{{Lang|{{{1}}}|Dansk}}
 
{{Lang|{{{1}}}|Dansk}}
 
[[{{{2|{{{1}}}}}}|English]]&nbsp;&ndash; <!-- English is special -->
 
[[{{{2|{{{1}}}}}}|English]]&nbsp;&ndash; <!-- English is special -->

Revision as of 19:16, 11 July 2010

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