Difference between revisions of "Template:Other languages"
m (- superfluous attribs, fixed margin) |
m (+ja) |
||
Line 27: | Line 27: | ||
<nowiki /> <!-- [[{{{mr|{{{en}}}/mr}}}|मराठी]] --> | <nowiki /> <!-- [[{{{mr|{{{en}}}/mr}}}|मराठी]] --> | ||
<nowiki /> [[{{{it|{{{en}}}/it}}}|Italiano]] | <nowiki /> [[{{{it|{{{en}}}/it}}}|Italiano]] | ||
<nowiki /> | <nowiki /> [[{{{ja|{{{en}}}/ja}}}|日本語]] | ||
<nowiki /> <!-- [[{{{jv|{{{en}}}/jv}}}|Basa Jawa]] --> | <nowiki /> <!-- [[{{{jv|{{{en}}}/jv}}}|Basa Jawa]] --> | ||
<nowiki /> <!-- [[{{{ka|{{{en}}}/ka}}}|ქართული]] --> | <nowiki /> <!-- [[{{{ka|{{{en}}}/ka}}}|ქართული]] --> |
Revision as of 06:27, 1 December 2012
Other versions: [[{{{en}}}/ca|Català]] [[{{{en}}}/cs|Česky]] [[{{{en}}}/de|Deutsch]] [[{{{en}}}/en|English]] [[{{{en}}}/es|Español]] [[{{{en}}}/fr|Français]] [[{{{en}}}/it|Italiano]] [[{{{en}}}/ja|日本語]] [[{{{en}}}/ko|한국어]] [[{{{en}}}/pt|Português]] [[{{{en}}}/ru|Русский]] [[{{{en}}}/sk|Slovenčina]]
How to use:
{{Other languages| en=Name of the English version | ... other versions ... }}
will be replaced by a list of links to the translated versions of the page.
You must specify an English version, otherwise the template will not work.
This template works as follows:
- If a localized version of the page is passed in the form language code=page name, then display a link to that page.
- Example:
it=Inkscape in italiano
creates a link to the Italian version Inkscape in italiano.
- Example:
- Otherwise, by default, link to Page in English/language code.
- Example: if the English page is Inkscape and no Italian localization is specified, then the template will link to Inkscape/it because the ISO 639-1 language code for Italian is "it".
They are the ISO 639-1 language codes. Here you can read the list of codes currently supported.
How to add a language to the list:
- open this template in edit mode (click here)
- search for your language
- delete the
<!--
and-->
to uncomment the line. Please leave the<nowiki/>
where it is.
If you can't find your language:
- please search twice
- learn the code here, then add an appropriate line