<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AIn_lang%2Fdoc</id>
	<title>Template:In lang/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AIn_lang%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:In_lang/doc&amp;action=history"/>
	<updated>2026-04-06T16:51:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:In_lang/doc&amp;diff=37391&amp;oldid=prev</id>
		<title>imported&gt;SWinxy: add templatedata</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:In_lang/doc&amp;diff=37391&amp;oldid=prev"/>
		<updated>2023-03-27T02:09:16Z</updated>

		<summary type="html">&lt;p&gt;add templatedata&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;
{{High-use}}&lt;br /&gt;
{{Lua|Module:In lang}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:In lang&amp;#039;&amp;#039;&amp;#039; is used to denote that a text source is written in a specific language.&lt;br /&gt;
&lt;br /&gt;
For citations using a citation template ({{tlx|cite web}}, {{tlx|cite news}}, {{tlx|cite journal}}, etc.), that template&amp;#039;s {{Para|language}} parameter should be used instead.&lt;br /&gt;
&lt;br /&gt;
To note a span of text in a different language, {{tlx|lang}} or one of the {{tld|[[:Category:Lang-x templates|lang-x]]}} templates ({{tlx|lang-fr}}, {{tlx|lang-ast}}, etc.) should be used instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Typical use of this template is inside {{tag|ref}} tags where the reference is not templated and the referenced source is non-English:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;[https://www.example.com &amp;quot;Non English Journal Article&amp;quot;]. &amp;#039;&amp;#039;Non-English Journal&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;12&amp;#039;&amp;#039;&amp;#039;(3): 231–241 {{in lang|xx}}&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Also finds use in External links sections to mark non-English link-targets:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[https://www.example.com Non English external link] {{in lang|xx}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This template does not markup non-English text.  For that, use {{tlx|lang}} or an appropriate {{tld|lang-??}} template.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
This template accepts one or more positional language-tag parameters (&amp;lt;code&amp;gt;&amp;amp;lt;{{var|tag}}&amp;gt;&amp;lt;/code&amp;gt;) and two named parameters:&lt;br /&gt;
*{{tld|In lang|&amp;amp;lt;{{var|tag}}&amp;gt;|&amp;amp;lt;{{var|tag2}}&amp;gt;|{{var|...}}|link{{=}}|cap{{=}}}}&lt;br /&gt;
Most common use is a single language:&lt;br /&gt;
*{{tld|In lang|de}} → {{In lang|de}}&lt;br /&gt;
The positional parameters&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;amp;lt;{{var|tag}}&amp;gt;&amp;lt;/code&amp;gt; – required; &amp;lt;code&amp;gt;&amp;amp;lt;{{var|tag}}&amp;gt;&amp;lt;/code&amp;gt; is a valid [[ISO-639]] language tag or a valid [[IETF language tag]]; more than one language tag supported:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{In lang|cs|en|de|fr|es|ca-valencia|pl|ru|ja|zh}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →&lt;br /&gt;
*** {{In lang|cs|en|de|fr|es|ca-valencia|pl|ru|ja|zh}}&lt;br /&gt;
The named parameters are:&lt;br /&gt;
* &amp;lt;code&amp;gt;link&amp;lt;/code&amp;gt; – accepts the single value &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;; creates link to language article&lt;br /&gt;
** {{tlc|In lang|nv|link{{=}}yes}} → {{code |lang=moin|{{In lang|nv|link=yes}}}} → {{In lang|nv|link=yes}}&lt;br /&gt;
* &amp;lt;code&amp;gt;cap&amp;lt;/code&amp;gt; – accepts the single value &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;; capitalizes the first letter of &amp;quot;In&amp;quot;:&lt;br /&gt;
** {{tlc|In lang|pt-BR|cap{{=}}yes}} → {{In lang|pt-BR|cap=yes}}&lt;br /&gt;
&lt;br /&gt;
===Error messages===&lt;br /&gt;
This template has one error message of its own:&lt;br /&gt;
:&amp;lt;span style=&amp;quot;color:#d33&amp;quot;&amp;gt;error: &amp;lt;nowiki&amp;gt;{{In lang}}&amp;lt;/nowiki&amp;gt; missing language tag&amp;lt;/span&amp;gt; – displayed when the template is transcluded without an ISO 639 language tag or IETF language tag.&lt;br /&gt;
All other error messages related to the use of this template are emitted by [[Module:Lang]] and are documented at {{cl|Lang and lang-xx template errors}}.&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;templatedata&amp;gt;{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {},&lt;br /&gt;
		&amp;quot;4&amp;quot;: {}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Produces the phrase \&amp;quot;(in LANGUAGE)\&amp;quot; with language codes.&amp;quot;,&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Categories===&lt;br /&gt;
Transclusions in mainspace articles will add the article to the appropriate subcategory of {{cl|Articles with non-English-language sources}}. There are two forms of these subcategories:&lt;br /&gt;
:Category:Articles with &amp;amp;lt;{{var|language name}}&amp;gt;-language sources (&amp;amp;lt;{{var|tag}}&amp;gt;) – for individual languages&amp;lt;ref&amp;gt;{{cite web |url=https://iso639-3.sil.org/about/scope#Individual%20languages |title=ISO 639-3: Scope of denotation for language identifiers: Individual languages |website=SIL International |access-date=5 December 2019}}&amp;lt;/ref&amp;gt; and for macrolanguages&amp;lt;ref&amp;gt;{{cite web |url=https://iso639-3.sil.org/about/scope#Macrolanguages |title=ISO 639-3: Scope of denotation for language identifiers: Macrolanguages |website=SIL International |access-date=5 December 2019}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
:Category:Articles with sources in &amp;amp;lt;{{var|collective name}}&amp;gt; languages (&amp;amp;lt;{{var|tag}}&amp;gt;) – for language collectives&amp;lt;ref&amp;gt;{{cite web |url=https://iso639-3.sil.org/about/scope#Collections%20of%20languages |title=ISO 639-3: Scope of denotation for language identifiers: Collections of languages |website=SIL International |access-date=5 December 2019}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
where &amp;amp;lt;{{var|language name}}&amp;gt; and &amp;amp;lt;{{var|collective name}}&amp;gt; is the name used in the template&amp;#039;s rendering and &amp;amp;lt;{{var|tag}}&amp;gt; is the ISO 639 tag or IETF language tag.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&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:Language templates]]&lt;br /&gt;
[[Category:Wikipedia multilingual support templates]]&lt;br /&gt;
[[Category:Language tag handling templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;SWinxy</name></author>
	</entry>
</feed>