แม่แบบ:Etymology/doc

Takes groups of three parameters (triplets) that indicate a part of an etymology and produces formatted output. It is highly recommended that in-line etymologies be placed within parentheses, i.e. .

**Usage**
Between one and six triplets can be specified, each of which can have the following parameters (which can be left blank or, at the end of the list, omitted entirely):- language: The ISO 639 code or name for the language. This might be omitted if the language is obvious (e.g. the same as the language of the previous part, or English).- orthography: How the word or words are written in the original language. If the original language uses a non-Latin alphabet the orthography should be surrounded by two straight single quotation marks (vertical apostrophes)  before and after to avoid automatic italicizing (see MOS:Ety), followed by a transliteration within parentheses. If a transliteration is not needed, the final set of single quotation marks must be followed by a character, such as a hair space ( ) or thin space (&thinsp; or  ), to avoid text formatting problems.- meaning: Concise English meaning of the word. This could be a link if appropriate.
Notes:- For each triplet, at least one of language and orthography must be specified (non-blank).- If the original language uses a non-Latin alphabet (or no alphabet at all), the orthography should be followed by a transliteration within parentheses.- This template may also be coded using the shortened form, .

**Examples**
Here is a wide selection of examples showing how one might use the etymology template, with various alternatives for some words. Invalid examples are also shown below.

**TemplateData**
{
	"description": "Takes groups of three parameters (triplets) that indicate a part of an etymology and produces formatted output",
	"params": {
		"1": {
			"label": "Language 1",
			"type": "string",
			"required": false,
			"suggested": true,
			"deprecated": false,
			"description": "ISO 639 code or name for the language of the word or first root",
			"example": "gre"
		},
		"2": {
			"label": "Orthography 1",
			"type": "string",
			"required": false,
			"suggested": true,
			"deprecated": false,
			"description": "How the word or first root is written in the original language",
			"example": "βίος (bios)"
		},
		"3": {
			"label": "Meaning 1",
			"type": "string",
			"required": false,
			"suggested": true,
			"deprecated": false,
			"description": "Concise English meaning of the word or first root",
			"example": "life"
		},
		"4": {
			"label": "Language 2",
			"type": "string",
			"required": false,
			"deprecated": false,
			"description": "ISO 639 code or name for the language of the second root"
		},
		"5": {
			"label": "Orthography 2",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "How the second root is written in the original language"
		},
		"6": {
			"label": "Meaning 2",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Concise English meaning of the second root"
		},
		"7": {
			"label": "Language 3",
			"type": "string",
			"required": false,
			"deprecated": false,
			"description": "ISO 639 code or name for the language of the third root"
		},
		"8": {
			"label": "Orthography 3",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "How the third root is written in the original language"
		},
		"9": {
			"label": "Meaning 3",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Concise English meaning of the third root"
		},
		"10": {
			"label": "Language 4",
			"type": "string",
			"required": false,
			"deprecated": false,
			"description": "ISO 639 code or name for the language of the fourth root"
		},
		"11": {
			"label": "Orthography 4",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "How the fourth root is written in the original language"
		},
		"12": {
			"label": "Meaning 4",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Concise English meaning of the fourth root"
		},
		"13": {
			"label": "Language 5",
			"type": "string",
			"required": false,
			"deprecated": false,
			"description": "ISO 639 code or name for the language of the fifth root"
		},
		"14": {
			"label": "Orthography 5",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "How the fifth root is written in the original language"
		},
		"15": {
			"label": "Meaning 5",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Concise English meaning of the fifth root"
		},
		"16": {
			"label": "Language 6",
			"type": "string",
			"required": false,
			"deprecated": false,
			"description": "ISO 639 code or name for the language of the sixth root"
		},
		"17": {
			"label": "Orthography 6",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "How the sixth root is written in the original language"
		},
		"18": {
			"label": "Meaning 6",
			"type": "string",
			"required": false,
			"suggested": false,
			"deprecated": false,
			"description": "Concise English meaning of the sixth root"
		}
	}
}

**See also**
Etymology section
*Place name etymologies