Difference between revisions of "Template:I18n"

From ArchWiki
Jump to: navigation, search
m (clarify)
(update)
(11 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 the available translations of an article. See also [[Help:i18n]].'''
+
==Usage==
  
{{Note|In order for a new language to be added to this template, it must have at least 3 ''complete'' and ''useful'' translations. A translation is considered "useful" if the article's subject is of evident usefulness for many users: examples of very useful articles are [[Main Page]], [[Arch Linux]] and the [[Beginners' Guide]]; articles in the DeveloperWiki namespace, template pages, laptop-specific articles and general-maintenance pages are examples of articles that will not be counted as valid translations; in any case the final decision of adding a language is up to the administrators: if you are in doubt please contact one of them before starting any translation.}}
+
Without arguments it uses the current title (useful in English pages):
  
====Usage====
+
&#123;{i18n}}
  
This template should be added at the beginning of every article (ideally below category markers but above any other content).
+
You can specify a title with the first argument:
  
 
  &#123;{i18n|Template:i18n}}
 
  &#123;{i18n|Template:i18n}}
  
The argument must match the English title of the article (i.e. without any language tag).
+
==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}}}}} (Esperanto)|Esperanto]]&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}}}}} (Norsk Bokmål)|Norsk Bokmål]]&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}}}}} (简体中文)|简体中文]]&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}}}}} (Tiếng Việt)|Tiếng Việt]]&nbsp;&ndash;
{{Lang|{{{1}}}|Lietuviškai}}
+
[[{{{1|{{FULLPAGENAME}}}}} (Türkçe)|Türkçe]]&nbsp;&ndash;
{{Lang|{{{1}}}|Magyar}}
+
[[{{{1|{{FULLPAGENAME}}}}} (فارسی)|فارسی]]
{{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 04:13, 16 June 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 – فارسی