<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AWikt-lang%2Fdoc</id>
	<title>Template:Wikt-lang/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AWikt-lang%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Wikt-lang/doc&amp;action=history"/>
	<updated>2026-04-12T22:08:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Wikt-lang/doc&amp;diff=39494&amp;oldid=prev</id>
		<title>Wikipedia&gt;BoatSnack: Added link to ISO 639 and ISO 639 language codes</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Wikt-lang/doc&amp;diff=39494&amp;oldid=prev"/>
		<updated>2021-03-01T02:40:36Z</updated>

		<summary type="html">&lt;p&gt;Added link to &lt;a href=&quot;/w/index.php?title=ISO_639&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ISO 639 (page does not exist)&quot;&gt;ISO 639&lt;/a&gt; and &lt;a href=&quot;/w/index.php?title=List_of_ISO_639-2_codes&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;List of ISO 639-2 codes (page does not exist)&quot;&gt;ISO 639 language codes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Lua|Module:Language}}&lt;br /&gt;
{{Language templates}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:Wikt-lang&amp;#039;&amp;#039;&amp;#039; automatically determines the correct English [[Wiktionary]] entry by removing italics or bolding, and removing or replacing diacritical marks and letters that are not used in entry names on English Wiktionary.&lt;br /&gt;
&lt;br /&gt;
It also adds italics for languages that use the Latin alphabet (see [[MOS:FOREIGNITALIC]]). Italics cannot be turned {{em|on}} for languages that use a non-Latin script, but they can be turned {{em|off}} by using the parameter {{para|i|-}}. This is useful in tables, where italics are often unnecessary.&lt;br /&gt;
&lt;br /&gt;
The template will also link to the Wiktionary &amp;#039;&amp;#039;Reconstruction:&amp;#039;&amp;#039; namespace, where entries on reconstructed languages are placed, or to the &amp;#039;&amp;#039;Appendix:&amp;#039;&amp;#039; namespace, where some constructed languages have their entries (such as [[Lojban]]), if there is data for them in the module.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template takes a language code and one or two words, and generates a link to the correct section of the corresponding Wiktionary entry. If two words are provided, it is like a [[Wikipedia:Piped link|piped link]]: the first word is the entry name, while the second serves as link text.&lt;br /&gt;
&lt;br /&gt;
* {{Tlx|Wikt-lang|&amp;lt;lang code&amp;gt;|&amp;lt;Wiktionary entry&amp;gt;|&amp;lt;Text displayed&amp;gt;|i}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Template parameters&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Parameter&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| [[ISO 639]] [[List of ISO 639-2 codes|language code]] (2 or 3 letters) representing which language the text is in. Only tags consisting of a language subtag, or a language subtag&amp;amp;ndash;private use subtag combination that represents a language that hasn&amp;#039;t been assigned a language subtag, such as &amp;lt;code&amp;gt;cel-x-proto&amp;lt;/code&amp;gt; ([[Proto-Celtic]]), are supported. Script, region, or variant subtags are not supported, as it is difficult to support both them and Wiktionary language tags that contain hyphens (such as &amp;lt;code&amp;gt;ine-pro&amp;lt;/code&amp;gt; above).&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
| Entry to link to on Wiktionary.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
| Optional. Text displayed, if different from the term being linked to.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | italic&lt;br /&gt;
| Optional. Use {{para|italic|no}} to disable italicization of the text.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TemplateData===&lt;br /&gt;
{{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}&lt;br /&gt;
{{TemplateData header|noheader=1}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Language code&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;ISO 639 language code (2 or 3 letters) representing which language the text is in&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;&amp;#039;en&amp;#039;, &amp;#039;zh&amp;#039;, &amp;#039;fr&amp;#039;, &amp;#039;enm&amp;#039;, &amp;#039;la&amp;#039;, &amp;#039;sco&amp;#039;, &amp;#039;es&amp;#039;&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Wiktionary entry&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Entry to link to on Wiktionary&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;an apple a day keeps the doctor away&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text displayed&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Text displayed, if different from the term being linked to&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;an apple a day&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;italic&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;italics&amp;quot;,&lt;br /&gt;
				&amp;quot;i&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Disable italics&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Whether to not italicize the text&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;no&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* {{Tlx|Wikt-lang|en|language|languages}} → {{Wikt-lang|en|language|languages}}&lt;br /&gt;
* {{Tlx|Wikt-lang|ru|язы́к}} → {{Wikt-lang|ru|язы́к}}&lt;br /&gt;
* {{Tlx|Wikt-lang|la|Latīnus|i{{=}}-}} → {{Wikt-lang|la|Latīnus|i=-}}&lt;br /&gt;
&lt;br /&gt;
==Help==&lt;br /&gt;
If you try to use this template and get an error message, but can&amp;#039;t figure out how to fix it, please go to [[Module talk:Language]] and post a message about it.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|Linktext}}&lt;br /&gt;
* {{tl|Lang}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Wiktionary link templates]]&lt;br /&gt;
[[Category:Wikipedia multilingual support templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;BoatSnack</name></author>
	</entry>
</feed>