வார்ப்புரு:Native name/doc
&lt;noinclude&gt;{{Documentation subpage}}&lt;/noinclude&gt;
 {{Hatnote|[[Template:Native phrase]] redirects here.}}
 {{Lua|Module:Native name|Module:Lang}}
 
 {{mbox|text=For &lt;code style=&quot;color:#d33&quot;&gt;&lt;nowiki&gt;{{native name}}&lt;/nowiki&gt;&lt;/code&gt; error messages appearing in various infoboxen, see [[Wikipedia talk:WikiProject Infoboxes/Archive 11#native name parameters]].}}
 An inline formatting template, based on {{tl|Lang}}, for indicating the official/defacto name in a language 
 other than English. By default, the native name is displayed in italics, followed by the language's name in parentheses. 
 
 The template's defaults can be overridden and the parenthesis excluded, in which case there may be no visible changes to the text where it's used. An [[HTML]] ''[[Span and div|span]]'', however, still identifies the native name as a linguistic element, meaning that web browsers and [[screen reader]]s can select a particular font, formatting, pronunciation, etc., for it.
 
 For multiple native names, use {{tl|native name list}}
 
 == Syntax ==
 * {{Tlx|{{BASEPAGENAME}}|&lt;{{var|[[IETF language tag]]}}&gt;|&lt;{{var|the native name}}&gt;}}
 
 == Parameters ==
 {| class=&quot;wikitable sortable&quot;
 ! scope=&quot;col&quot; | Parameter name
 ! scope=&quot;col&quot; | Description and examples
 ! scope=&quot;col&quot; | Required
 |-
 ! scope=&quot;row&quot; | [first unnamed]
 | The [[IETF language tag]] code for the native language. French, for instance, is &quot;fr&quot;; Spanish is &quot;es&quot;; Arabic is &quot;ar&quot;; etc.
 | yes
 |-
 ! scope=&quot;row&quot; | [second unnamed]
 | The native name, in the native language (with accents, etc.).
 | yes
 |-
 ! scope=&quot;row&quot; | {{code|italics}}&lt;br/&gt;{{smaller|(or {{code|italic}})}}
 | Set to &quot;off&quot; or &quot;no&quot; to disable displaying the native name in italics.
 Example: {{para|italics|off}}
 | no
 |-
 ! scope=&quot;row&quot; | {{code|paren}}&lt;br/&gt;{{smaller|(or {{code|icon}})}}
 | Set to &quot;omit&quot;, &quot;off&quot; or &quot;no&quot; to suppress the appearance of the native language's name in a parenthesis after the native name.
 Example: {{para|paren|omit}}
 | no
 |-
 ! scope=&quot;row&quot; | {{code|parensize}}&lt;br/&gt;{{smaller|(previously {{code|fontsize}})}}
 | Use to specify a font-size for the parenthesis. Per [[MOS:FONTSIZE]], do not make this text smaller in infoboxes, since the text is already at 88% of normal.
 Example: {{para|parensize|90%}}
 | no
 |-
 ! scope=&quot;row&quot; | {{code|nolink}}
 | Set to anything (e.g. &quot;on&quot;) to suppress the appearance of the native language's name as a link.
 | no
 |-
 ! scope=&quot;row&quot; | {{code|script}} (deprecated)
 | when needed, include [[ISO 15924]] in &lt;code&gt;&lt;nowiki&gt;{{{1}}}&lt;/nowiki&gt;&lt;/code&gt; IETF language tag; e.g. 'sr-Cyrl' &lt;s&gt;Specifies the [[ISO 15924]] script. E.g. &quot;Cyrl&quot;, &quot;Arab&quot;, &quot;Hans&quot;...&lt;/s&gt;
 | no
 |}
 
 == Examples ==
 * Common usage:
 ** {{Tlx|{{BASEPAGENAME}}|de|Deutschland}} –&gt; {{ {{BASEPAGENAME}}|de|Deutschland}}
 
 * Code and result for the same name &quot;Deutschland&quot; above but with ''italics'' switched off, ''nolink'' switched on and a ''parensize'' of 90%:
 ** {{Tlx|{{BASEPAGENAME}}|de|Deutschland|italics{{=}}off|nolink{{=}}on|parensize{{=}}90%}} –&gt; {{ {{BASEPAGENAME}}|de|Deutschland|italics=off|nolink=on|parensize=90%}}
 
 * Retaining no italics but suppressing the parenthesis which produces the same as if the {{tl|lang}} template had been used:
 ** {{Tlx|{{BASEPAGENAME}}|de|Deutschland|italics{{=}}off|paren{{=}}omit}} –&gt; {{ {{BASEPAGENAME}}|de|Deutschland|italics=off|paren=omit}}
 
 * Language does not have an ISO code
 ** {{Tlx|{{BASEPAGENAME}}|mis|Banib|paren{{=}}omit}} (&amp;#91;[Boonwurrung language]]) –&gt; {{{{BASEPAGENAME}}|mis|Banib|paren=omit}} ([[Boonwurrung language]])
 
 * Language is not known
 ** {{Tlx|{{BASEPAGENAME}}|und|Bakoma|paren{{=}}omit}} –&gt; {{{{BASEPAGENAME}}|und|Bakoma|paren=omit}}
 
 == Other examples ==
 
 {| class=&quot;wikitable&quot;
 ! scope=&quot;col&quot; | Code
 ! scope=&quot;col&quot; | Result
 |-
 | &lt;pre&gt;
 {{Infobox settlement
 | name = The Hague
 | native_name = {{Native name|nl|Den Haag}}
 }}
 &lt;/pre&gt;
 |style=&quot;vertical-align:middle;&quot;|
 {{Infobox settlement
 | name = The Hague
 | native_name = {{ {{BASEPAGENAME}}|nl|Den Haag}}
 }}
 |-
 | &lt;pre&gt;
 {{Infobox country
 | conventional_long_name = French Republic
 | native_name = {{Native name|fr|République française|paren=omit}}
 }}
 &lt;/pre&gt;
 |style=&quot;vertical-align:topmiddle;&quot;|
 {{Infobox country
 | conventional_long_name = French Republic
 | native_name = {{ {{BASEPAGENAME}}|fr|République française|paren=omit}}
 }}
 |}
 
 ==Tracking category==
 {{Category link with count|Native name template errors}}
 
 ==Template data==
 {{template data header}}
 
 &lt;includeonly&gt;{{sandbox other||
 &lt;!-- Categories below this line --&gt;
 }}&lt;/includeonly&gt;
 &lt;templatedata&gt;
 {
 	&quot;params&quot;: {
 		&quot;tag&quot;: {
 			&quot;label&quot;: &quot;language&quot;,
 			&quot;description&quot;: &quot;language code&quot;,
 			&quot;example&quot;: &quot;el, de&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: true
 		},
 		&quot;name&quot;: {
 			&quot;label&quot;: &quot;name&quot;,
 			&quot;description&quot;: &quot;Name in foreign language&quot;,
 			&quot;example&quot;: &quot;ευρώ, herzlich willkommen&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: true
 		},
 		&quot;italic&quot;: {
 			&quot;aliases&quot;: [
 				&quot;italics&quot;
 			],
 			&quot;label&quot;: &quot;italics&quot;,
 			&quot;description&quot;: &quot;\&quot;off\&quot; will prevent italicising the name&quot;,
 			&quot;type&quot;: &quot;boolean&quot;,
 			&quot;default&quot;: &quot;on&quot;
 		},
 		&quot;paren&quot;: {
 			&quot;label&quot;: &quot;language name&quot;,
 			&quot;description&quot;: &quot;Language name in parenthesis&quot;,
 			&quot;type&quot;: &quot;boolean&quot;,
 			&quot;default&quot;: &quot;on&quot;
 		},
 		&quot;parensize&quot;: {
 			&quot;label&quot;: &quot;language fontsize&quot;,
 			&quot;description&quot;: &quot;font-size of the language (parenthesised)&quot;,
 			&quot;example&quot;: &quot;90%&quot;,
 			&quot;type&quot;: &quot;number&quot;
 		}
 	},
 	&quot;description&quot;: &quot;Foreign language name formatting&quot;
 }
 &lt;/templatedata&gt;
 
 &lt;includeonly&gt;{{Sandbox other||
 [[Category:Wikipedia formatting and function templates]]
 [[Category:Language templates]]