<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fa">
	<id>http://mobinwiki.ir/w/index.php?action=history&amp;feed=atom&amp;title=%D8%A7%D9%84%DA%AF%D9%88%3ALang-x%2Fdoc</id>
	<title>الگو:Lang-x/doc - تاریخچهٔ نسخه‌ها</title>
	<link rel="self" type="application/atom+xml" href="http://mobinwiki.ir/w/index.php?action=history&amp;feed=atom&amp;title=%D8%A7%D9%84%DA%AF%D9%88%3ALang-x%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://mobinwiki.ir/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:Lang-x/doc&amp;action=history"/>
	<updated>2026-12-03T05:17:32Z</updated>
	<subtitle>تاریخچهٔ نسخه‌ها برای این صفحه در ویکی</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>http://mobinwiki.ir/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:Lang-x/doc&amp;diff=136483&amp;oldid=prev</id>
		<title>imported&gt;Mojtabakd: name_from_code</title>
		<link rel="alternate" type="text/html" href="http://mobinwiki.ir/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:Lang-x/doc&amp;diff=136483&amp;oldid=prev"/>
		<updated>2022-06-24T13:18:10Z</updated>

		<summary type="html">&lt;p&gt;name_from_code&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحهٔ تازه&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOEDITSECTION__{{زیرصفحه توضیحات|multiple templates located in [[رده:الگو:Lang-x]]}}&lt;br /&gt;
{{COinS safe|n}}&lt;br /&gt;
{{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}|{{لوآ|Module:lang}}}}&lt;br /&gt;
&amp;lt;!--NOTE: This template is also used as documentation for multiple Language-x templates in Category:Language icon templates--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}}&lt;br /&gt;
Template {{Tlf|'''{{lcfirst:{{BASEPAGENAME}}}}'''|nolink=yes}} identifies {{#ifeq:{{FULLPAGENAME}}|Template:Lang-x/doc|foreign language|{{#invoke:Lang|name_from_tag|link=yes|{{#invoke:String|sub|{{ROOTPAGENAME}}|6}}}}}} text. The term or phrase is the only mandatory parameter. The text is formatted according to recommendations in [[ویکی‌پدیا:شیوه‌نامه/قالب‌بندی متون]] (italics for Latin-script languages, regular for others).&lt;br /&gt;
&lt;br /&gt;
The template should generally be placed after the English translation of the foreign term or phrase.&lt;br /&gt;
&lt;br /&gt;
The parameter &amp;lt;!--Not implemented in all templates yet! {{پارا|link|no}} (or {{پارا|links|no}})--&amp;gt; {{پارا|links|no}} prevents the language name from being linked.&lt;br /&gt;
&lt;br /&gt;
The parameter {{پارا|translit}} enables a transliteration (of the original text with the Latin alphabet) to be given. The templates that have this param are [https://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Language_with_name_and_transliteration&amp;amp;namespace=10&amp;amp;limit=500&amp;amp;hidelinks=1 listed here]. (This parameter is not supported by &amp;lt;code&amp;gt;lang-{{Var|x}}&amp;lt;/code&amp;gt; templates for languages that are already written in Latin script.)&lt;br /&gt;
&lt;br /&gt;
The parameter {{پارا|lit}} enables a literal translation (in English) to be given. It [[Template talk:Language with name#Suggestion: An optional literal translation|is being rolled out]] to these templates and so may be available for {{Tlf|{{lcfirst:{{BASEPAGENAME}}}}|nolink=yes}}.&lt;br /&gt;
{{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}|&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}&lt;br /&gt;
}}&lt;br /&gt;
== Examples ==&lt;br /&gt;
The following examples show translations from German.&lt;br /&gt;
&lt;br /&gt;
'''Edit'''&lt;br /&gt;
* Weimar is located in the federal state of Thuringia (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Lang-de|Thüringen}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
* The Seafarers of Catan (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Lang-de|Die Seefahrer von Catan}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) is an expansion of the board game ''[[The Settlers of Catan]]''.&lt;br /&gt;
* Albert the Bear (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Lang-de|Albrecht der Bär|links=no}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
*''All Quiet on the Western Front'' (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Lang-de|Im Westen nichts Neues|lit=In the West Nothing New}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) is a novel by [[اریش ماریا رمارک]].&lt;br /&gt;
&lt;br /&gt;
'''Resulting text'''&lt;br /&gt;
* Weimar is located in the federal state of Thuringia ({{Lang-de|Thüringen}}).&lt;br /&gt;
* The Seafarers of Catan ({{Lang-de|Die Seefahrer von Catan}}) is an expansion of the board game ''[[The Settlers of Catan]]''.&lt;br /&gt;
* Albert the Bear ({{Lang-de|Albrecht der Bär|links=no}})&lt;br /&gt;
* ''All Quiet on the Western Front'' ({{Lang-de|Im Westen nichts Neues|lit=In the West Nothing New}}) is a novel by [[اریش ماریا رمارک]].{{#if:{{{category|}}}{{{tracking-category|}}}|&lt;br /&gt;
== Category ==&lt;br /&gt;
{{#if:{{{category|}}}|Articles using this template are automatically placed in {{پیوند رده با شمار|{{{category}}}}}.|}}{{#if:{{{tracking-category|}}}|&lt;br /&gt;
=== Tracking categories ===&lt;br /&gt;
* {{پیوند رده با شمار|{{{tracking-category}}}}}&lt;br /&gt;
|}}&amp;lt;!-- /tracking-category --&amp;gt;&lt;br /&gt;
|}}&amp;lt;!-- /category OR tracking-category --&amp;gt;&lt;br /&gt;
{{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}||&lt;br /&gt;
== Supporting templates ==&amp;lt;!-- render 'Supporting template' section only for those {{Tld|lang-??}} templates that do not use [[Module:lang]] --&amp;gt;&lt;br /&gt;
This template may use one of the following templates:&lt;br /&gt;
* {{پیوند الگو|Language with name}}&lt;br /&gt;
* {{پیوند الگو|Language with name2}}&lt;br /&gt;
* {{پیوند الگو|Language with name and transliteration}}&lt;br /&gt;
* {{پیوند الگو|Language family with name}}&lt;br /&gt;
All of the above use {{پیوند الگو|Lang}}&lt;br /&gt;
}}&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateDataHeader}}&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;Text&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The foreign text to display.&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;
		},&lt;br /&gt;
		&amp;quot;links&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Display link&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Set to no to disable the link to the article's language.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;lit&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Literal translation&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The literal translation of the foreign text&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;translit&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Transliteration&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The transliteration of the foreign text, for languages that do not use the Latin alphabet. This field is ignored for languages that do use the Latin alphabet&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Indicates to readers the original form of a term or phrase in a foreign language.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{پیوند الگو|Lang}}&lt;br /&gt;
* {{پیوند الگو|Language with name/for}}&lt;br /&gt;
* {{پیوند الگو|Link language}}&lt;br /&gt;
* {{پیوند الگو|{{#ifeq:0&lt;br /&gt;
|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{#ifeq:0|{{#ifexist:ISO 639:{{Str right|{{BASEPAGENAME}}|5}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|1}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|3}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|4}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|5}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|6}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|7}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|8}}}}|0|1}}&lt;br /&gt;
|{{Str right|{{BASEPAGENAME}}|5}}&lt;br /&gt;
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|9}}&lt;br /&gt;
}} icon}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES (which are not already covered in the individual lang-x templates) HERE, THANKS --&amp;gt;&lt;br /&gt;
{{#ifeq:0&lt;br /&gt;
|{{#ifexist:ISO 639:{{Str right|{{BASEPAGENAME}}|5}}|0|1}}&lt;br /&gt;
|[[رده:الگو:Lang-x]]&lt;br /&gt;
|{{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}|[[رده:الگو:Lang-x]]|[[رده:الگو:Lang-x با غیر از ISO 639]]}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Documentation shared content templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Mojtabakd</name></author>
	</entry>
</feed>