வார்ப்புரு:Lang-x/doc
__NOEDITSECTION__{{Documentation subpage|multiple templates located in [[:Category:Lang-x templates]]}}
 {{COinS safe|n}}
 {{No subst}}
 {{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}|{{lua|Module:lang}}}}
 &lt;!--NOTE: This template is also used as documentation for multiple Language-x templates in Category:Language icon templates--&gt;
 
 == Usage ==
 {{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}}
 The language 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 {{section link|Wikipedia:Manual of Style/Text formatting#Foreign terms}}; italics for languages that use the [[Latin alphabet]]&lt;!-- Not the same thing as Romance languages and Latinate languages--&gt;, normal for others.
 
 The template should generally be placed after the English translation of the foreign term or phrase.
 
 The parameter &lt;!--Not implemented in all templates yet! {{Para|link|no}} (or {{Para|links|no}})--&gt; {{Para|links|no}} prevents the language name from being linked.
 
 The parameter {{Para|translit}} allows for a [[Romanization]] to be identified. The templates that have this parameter are &lt;span class=&quot;plainlinks&quot;&gt;[//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Language_with_name_and_transliteration&amp;namespace=10&amp;limit=500&amp;hidelinks=1 listed here]&lt;/span&gt;. (This parameter is not supported by &lt;code&gt;lang-{{var|x}}&lt;/code&gt; templates for languages that are already written in Latin script.)
 
 The parameter {{Para|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}}.
 {{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}|
 == Parameters ==
 {{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
 }}
 
 == Examples ==
 The following examples show translations from German.
 
 '''Edit'''
 * Weimar is located in the federal state of Thuringia (&lt;code&gt;&lt;nowiki&gt;{{lang-de|Thüringen}}&lt;/nowiki&gt;&lt;/code&gt;).
 * The Seafarers of Catan (&lt;code&gt;&lt;nowiki&gt;{{lang-de|Die Seefahrer von Catan}}&lt;/nowiki&gt;&lt;/code&gt;) is an expansion of the board game ''[[The Settlers of Catan]]''.
 * Albert the Bear (&lt;code&gt;&lt;nowiki&gt;{{lang-de|Albrecht der Bär|links=no}}&lt;/nowiki&gt;&lt;/code&gt;)
 *''All Quiet on the Western Front'' (&lt;code&gt;&lt;nowiki&gt;{{lang-de|Im Westen nichts Neues|lit=In the West Nothing New}}&lt;/nowiki&gt;&lt;/code&gt;) is a novel by [[Erich Maria Remarque]].
 
 '''Resulting text'''
 * Weimar is located in the federal state of Thuringia ({{lang-de|Thüringen}}).
 * The Seafarers of Catan ({{lang-de|Die Seefahrer von Catan}}) is an expansion of the board game ''[[The Settlers of Catan]]''.
 * Albert the Bear ({{lang-de|Albrecht der Bär|links=no}})
 * ''All Quiet on the Western Front'' ({{lang-de|Im Westen nichts Neues|lit=In the West Nothing New}}) is a novel by [[Erich Maria Remarque]].{{#if:{{{category|}}}{{{tracking-category|}}}|
 == Category ==
 {{#if:{{{category|}}}|Articles using this template are automatically placed in {{Clc|{{{category}}}}}.|}}{{#if:{{{tracking-category|}}}|
 === Tracking categories ===
 * {{Clc|{{{tracking-category}}}}}
 |}}&lt;!-- /tracking-category --&gt;
 |}}&lt;!-- /category OR tracking-category --&gt;
 {{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}||
 == Supporting templates ==&lt;!-- render 'Supporting template' section only for those {{tld|lang-??}} templates that do not use [[Module:lang]] --&gt;
 This template may use one of the following templates:
 * {{Tl|Language with name}}
 * {{Tl|Language with name2}}
 * {{Tl|Language with name and transliteration}}
 * {{Tl|Language family with name}}
 All of the above use {{Tl|Lang}}
 }}
 == TemplateData ==
 {{TemplateData header}}
 &lt;templatedata&gt;
 {
 	&quot;params&quot;: {
 		&quot;1&quot;: {
 			&quot;label&quot;: &quot;Text&quot;,
 			&quot;description&quot;: &quot;The foreign text to display.&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: true
 		},
 		&quot;links&quot;: {
 			&quot;label&quot;: &quot;Display link&quot;,
 			&quot;description&quot;: &quot;Set to 'no' to disable the link to the article's language.&quot;,
 			&quot;type&quot;: &quot;boolean&quot;
 		},
 		&quot;lit&quot;: {
 			&quot;label&quot;: &quot;Literal translation&quot;,
 			&quot;description&quot;: &quot;The literal translation of the foreign text.&quot;,
 			&quot;type&quot;: &quot;string&quot;
 		},
 		&quot;translit&quot;: {
 			&quot;label&quot;: &quot;Transliteration&quot;,
 			&quot;description&quot;: &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.&quot;,
 			&quot;type&quot;: &quot;string&quot;
 		},
 		&quot;label&quot;: {
 			&quot;label&quot;: &quot;Language label&quot;,
 			&quot;description&quot;: &quot;If 'none', suppresses language link and label. Other options may be available depending on the language.&quot;,
 			&quot;example&quot;: &quot;none&quot;,
 			&quot;type&quot;: &quot;line&quot;
 		}
 	},
 	&quot;description&quot;: &quot;Indicates to readers the original form of a term or phrase in a foreign language.&quot;,
 	&quot;paramOrder&quot;: [
 		&quot;1&quot;,
 		&quot;links&quot;,
 		&quot;lit&quot;,
 		&quot;translit&quot;,
 		&quot;label&quot;
 	]
 }
 &lt;/templatedata&gt;
 
 == See also ==
 * {{Tl|Lang}}
 * {{Tl|Language with name/for}}
 * {{Tl|Link language}}
 * {{Tl|{{#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:{{#ifeq:0|{{#ifexist:ISO 639:{{Str right|{{BASEPAGENAME}}|5}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|1}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|3}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|4}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|5}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|6}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|7}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|8}}}}|0|1}}
 |{{Str right|{{BASEPAGENAME}}|5}}
 |{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|9}}
 }} icon}}
 * [[List of ISO 639-1 codes]] (language codes)
 
 &lt;includeonly&gt;
 &lt;!-- CATEGORIES (which are not already covered in the individual lang-x templates) HERE, THANKS --&gt;
 {{#ifeq:0
 |{{#ifexist:ISO 639:{{Str right|{{BASEPAGENAME}}|5}}|0|1}}
 |[[பகுப்பு:பன்மொழி துணை வார்ப்புருக்கள்]]
 |{{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}|[[Category:Lang-x templates]]|[[Category:Lang-x templates with other than ISO 639]]}}
 }}
 &lt;/includeonly&gt;