Difference between revisions of "Template:I18n"

From ArchWiki
Jump to: navigation, search
(Undo revision 193865 by Yusuf (talk) 3 *useful* translations are required for adding a language (why cascading protection from Main Page didn't work?!?))
(I sometimes use this template to check whether there are some unlinked translations for an article)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{{Template}} {{DISPLAYTITLE:Template:i18n}}
 
<noinclude>{{Template}} {{DISPLAYTITLE:Template:i18n}}
 +
'''This template has only maintenance purposes. For linking to local translations please use interlanguage links, see [[Help:i18n#Interlanguage links]].'''
  
'''An 'i18n' box used to display inter-language links. See [[Help:i18n]].'''
+
==Usage==
  
====Usage====
+
Without arguments it uses the current title (useful in English pages):
  
This template should be added at the beginning of every article (ideally below category markers but above any other content).
+
&#123;{i18n}}
  
<pre>{{i18n|Template:i18n}}</pre>
+
You can specify a title with the first argument:
  
The argument should be modified to match the English title of the article (i.e. without any language tag).
+
&#123;{i18n|Template:i18n}}
  
Inter-language links are sorted alphabetically via JavaScript; see the language table ([[Help:i18n#Languages]]) and [[Wikipedia:Help:Sorting]] for details.
+
==Example==
  
====Example====
+
{{i18n}}</noinclude><includeonly><div class="toc noprint" style="text-align: center; margin-bottom: 1em">
 
+
This template has only maintenance purposes. For linking to local translations please use interlanguage links, see [[Help:i18n#Interlanguage links]].
{{i18n|Template:i18n}}</noinclude><includeonly><div class="toc noprint" style="text-align: center; margin-bottom: 1em">
+
----
'''[[Help:i18n|i18n]]'''
+
Local languages:
 +
[[{{{1|{{FULLPAGENAME}}}}} (Dansk)|Dansk]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}}|English]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Español)|Español]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Hrvatski)|Hrvatski]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Indonesia)|Indonesia]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Italiano)|Italiano]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Lietuviškai)|Lietuviškai]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Magyar)|Magyar]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Nederlands)|Nederlands]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Polski)|Polski]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Português)|Português]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Slovenský)|Slovenský]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Česky)|Česky]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Ελληνικά)|Ελληνικά]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Български)|Български]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Русский)|Русский]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Српски)|Српски]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (Українська)|Українська]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (עברית)|עברית]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (ไทย)|ไทย]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (日本語)|日本語]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (正體中文)|正體中文]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (简体中文)|简体中文]]&nbsp;&ndash;
 +
[[{{{1|{{FULLPAGENAME}}}}} (한국어)|한국어]]
 
----
 
----
{{Lang|{{{1}}}|Dansk}}
+
External languages ('''all articles in these languages should be moved to the external wiki'''):
[[{{{2|{{{1}}}}}}|English]]&nbsp;&ndash; <!-- English is special -->
+
[[{{{1|{{FULLPAGENAME}}}}} (Deutsch)|Deutsch]]&nbsp;&ndash;
{{Lang|{{{1}}}|Español}}
+
[[{{{1|{{FULLPAGENAME}}}}} (Français)|Français]]&nbsp;&ndash;
{{Lang|{{{1}}}|Français}}
+
[[{{{1|{{FULLPAGENAME}}}}} (Română)|Română]]&nbsp;&ndash;
{{Lang|{{{1}}}|Hrvatski}}
+
[[{{{1|{{FULLPAGENAME}}}}} (Suomi)|Suomi]]&nbsp;&ndash;
{{Lang|{{{1}}}|Indonesia}}
+
[[{{{1|{{FULLPAGENAME}}}}} (Svenska)|Svenska]]&nbsp;&ndash;
{{Lang|{{{1}}}|Italiano}}
+
[[{{{1|{{FULLPAGENAME}}}}} (Türkçe)|Türkçe]]&nbsp;&ndash;
{{Lang|{{{1}}}|Lietuviškai}}
+
[[{{{1|{{FULLPAGENAME}}}}} (فارسی)|فارسی]]
{{Lang|{{{1}}}|Magyar}}
+
{{Lang|{{{1}}}|Nederlands}}
+
{{Lang|{{{1}}}|Polski}}
+
{{Lang|{{{1}}}|Português}}
+
{{Lang|{{{1}}}|Slovenský}}
+
{{Lang|{{{1}}}|Suomi}}
+
{{Lang|{{{1}}}|Svenska}}
+
{{Lang|{{{1}}}|Türkçe}}
+
{{Lang|{{{1}}}|Česky}}
+
{{Lang|{{{1}}}|Ελληνικά}}
+
{{Lang|{{{1}}}|Български}}
+
{{Lang|{{{1}}}|Русский}}
+
{{Lang|{{{1}}}|Српски}}
+
{{Lang|{{{1}}}|Українська}}
+
{{Lang|{{{1}}}|עברית}}
+
{{Lang|{{{1}}}|ไทย}}
+
{{Lang|{{{1}}}|日本語}}
+
{{Lang|{{{1}}}|正體中文}}
+
{{Lang|{{{1}}}|简体中文}}
+
[[{{{1}}} (한국어)|한국어]] <!-- last entry is special (don't display trailing dash) -->
+
 
</div></includeonly>
 
</div></includeonly>

Revision as of 10:36, 20 April 2013

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Usage

Without arguments it uses the current title (useful in English pages):

{{i18n}}

You can specify a title with the first argument:

{{i18n|Template:i18n}}

Example

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی