Template:ISO 639 name conversion template doc

{{Documentation|1=Template:ISO 639 name conversion template doc|content={{{intro|}}}

Usage


{{#ifeq: {{{2|{{Str right|{{PAGENAME}}|13}}}}} | mis | |

{{#ifeq: {{Str left|{{localurle:{{{2|{{Str right|{{PAGENAME}}|13}}}}}:}}|4}} | http | It is used by {{tlg|kbd=on|bold=on|Translated page}} with language code {{{2|{{Str right|{{PAGENAME}}|13}}}}}, for example: {{tlg|kbd=on|nolink=on|Translated page&thinsp;|{{{2|{{Str right|{{PAGENAME}}|13}}}}}&thinsp;|name of page at {{{1|{{ {{PAGENAME}} }}}}} Wikipedia}}. This template is used to generate a link to the [{{localurle:{{{2|{{Str right|{{PAGENAME}}|13}}}}}:}} {{{1|{{ {{PAGENAME}} }}}}} Wikipedia] and {{ #ifexist:Category:Pages translated from {{{1|{{ {{PAGENAME}} }}}}} Wikipedia |to include pages in {{ {{PAGENAME}} }}}}} Wikipedia |could be used to include pages in Category:Pages translated from {{ {{PAGENAME}} }} Wikipedia (may be created using {{tlg|kbd=on|Translated sub-cat&thinsp;|{{{2|{{Str right|{{PAGENAME}}|13}}}}}}}) }}. }}

Former usage
The following templates now use Module:Lang, which stores the language code and name data in Module:Language/data/iana languages, Module:Language/data/ISO 639-3, and Module:Language/data/wp languages.


 * wraps the text with &lt;span lang=""&gt; and
 * includes pages in Category:Redirects from -language terms.
 * includes pages in Category:Redirects to -language terms.