Template:Native name/doc

An inline formatting template, based on 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, however, still identifies the native name as a linguistic element, meaning that web browsers and screen readers can select a particular font, formatting, pronunciation, etc., for it.

For multiple native names, use native name list

Examples

 * Common usage:


 * Code and result for the same name "Deutschland" above but with italics switched off, nolink switched on and a parensize of 90%:


 * Retaining no italics but suppressing the parenthesis which produces the same as if the lang template had been used:


 * Language does not have an ISO code
 * –> (Boonwurrung language)


 * Language is not known

Template data
{	"params": { "tag": { "label": "language", "description": "language code", "example": "el, de", "type": "string", "required": true },		"name": { "label": "name", "description": "Name in foreign language", "example": "ευρώ, herzlich willkommen", "type": "string", "required": true },		"italic": { "aliases": [ "italics" ],			"label": "italics", "description": "\"off\" will prevent italicising the name", "type": "boolean", "default": "on" },		"paren": { "label": "language name", "description": "Language name in parenthesis", "type": "boolean", "default": "on" },		"parensize": { "label": "language fontsize", "description": "font-size of the language (parenthesised)", "example": "90%", "type": "number" }	},	"description": "Foreign language name formatting" }