Difference between revisions of "Template:Etymology"
imported>Ibadibam (repeating this update per MOS:SINGLE) |
imported>Prof. Squirrel |
||
Line 15: | Line 15: | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
− | </noinclude> | + | |
+ | == TemplateData == | ||
+ | {{TemplateDataHeader}} | ||
+ | <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": "grc" | ||
+ | }, | ||
+ | "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" | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata></noinclude> |
Revision as of 06:25, 18 February 2018
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. ({{etymology}})
.
Usage
{{etymology|language1|orthography1|meaning1 |language2|orthography2|meaning2 |language3|orthography3|meaning3 ... }}
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 - 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,
{{ety}}
.
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.
Valid examples |
---|
Anniversary (from Latin anniversarius, meaning 'returning annually'; from annus, meaning 'year', and versus, meaning 'to turn')
|
Biology (from Ancient Greek βίος (bios), meaning 'life', and λογία (logia), meaning 'study of')
|
Café (from French)
|
Dinosaur (from Ancient Greek δεινός (deinos), meaning 'terrible, powerful, wondrous', and σαῦρος (sauros), meaning 'lizard')
|
Eukaryote (/juːˈkærioʊt/ Template:Respell, /juːˈkæriət/; from Ancient Greek ευ (eu), meaning 'good', and κάρυον (karyon), meaning 'nut, kernel')
|
Ngoja kidogo bush (from Swahili ngoja, meaning 'wait', kidogo, meaning 'a little', and bush)
|
Sesquipedalophobia (from Latin sesquipedalia verba, meaning 'words a foot-and-a-half long'; from sēsqui, meaning 'one and a half', pedālis, meaning 'foot', and Ancient Greek φόβος (phobos), meaning 'fear')
|
Invalid examples |
Etymology from Greek ἔτυμον', meaning 'true sense', and λογία', meaning 'study of'
Note: If the original language uses a non-Latin alphabet the orthography should be followed by a transliteration within parentheses. |
Xylophone (from Ancient Greek ξύλον (xylon), meaning 'wood', and φωνή (phone) sound)
Note: Parameters must be grouped into triplets. |
Zeitgeist ({{etymology}} requires 1st or 2nd parameter in each triplet!)
Note: The language or orthography may be omitted, but not both. |
TemplateData
TemplateData for Etymology
Takes groups of three parameters (triplets) that indicate a part of an etymology and produces formatted output
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language 1 | 1 | ISO 639 code or name for the language of the word or first root
| String | suggested |
Orthography 1 | 2 | How the word or first root is written in the original language
| String | suggested |
Meaning 1 | 3 | Concise English meaning of the word or first root
| String | suggested |
Language 2 | 4 | ISO 639 code or name for the language of the second root | String | optional |
Orthography 2 | 5 | How the second root is written in the original language | String | optional |
Meaning 2 | 6 | Concise English meaning of the second root | String | optional |
Language 3 | 7 | ISO 639 code or name for the language of the third root | String | optional |
Orthography 3 | 8 | How the third root is written in the original language | String | optional |
Meaning 3 | 9 | Concise English meaning of the third root | String | optional |
Language 4 | 10 | ISO 639 code or name for the language of the fourth root | String | optional |
Orthography 4 | 11 | How the fourth root is written in the original language | String | optional |
Meaning 4 | 12 | Concise English meaning of the fourth root | String | optional |
Language 5 | 13 | ISO 639 code or name for the language of the fifth root | String | optional |
Orthography 5 | 14 | How the fifth root is written in the original language | String | optional |
Meaning 5 | 15 | Concise English meaning of the fifth root | String | optional |
Language 6 | 16 | ISO 639 code or name for the language of the sixth root | String | optional |
Orthography 6 | 17 | How the sixth root is written in the original language | String | optional |
Meaning 6 | 18 | Concise English meaning of the sixth root | String | optional |
See also
- {{Etymology section}}
- {{Place name etymologies}}
- {{Missing|etymology}}
The above documentation is transcluded from Template:Etymology/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
TemplateData
TemplateData for Etymology
Takes groups of three parameters (triplets) that indicate a part of an etymology and produces formatted output
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language 1 | 1 | ISO 639 code or name for the language of the word or first root
| String | suggested |
Orthography 1 | 2 | How the word or first root is written in the original language
| String | suggested |
Meaning 1 | 3 | Concise English meaning of the word or first root
| String | suggested |
Language 2 | 4 | ISO 639 code or name for the language of the second root | String | optional |
Orthography 2 | 5 | How the second root is written in the original language | String | optional |
Meaning 2 | 6 | Concise English meaning of the second root | String | optional |
Language 3 | 7 | ISO 639 code or name for the language of the third root | String | optional |
Orthography 3 | 8 | How the third root is written in the original language | String | optional |
Meaning 3 | 9 | Concise English meaning of the third root | String | optional |
Language 4 | 10 | ISO 639 code or name for the language of the fourth root | String | optional |
Orthography 4 | 11 | How the fourth root is written in the original language | String | optional |
Meaning 4 | 12 | Concise English meaning of the fourth root | String | optional |
Language 5 | 13 | ISO 639 code or name for the language of the fifth root | String | optional |
Orthography 5 | 14 | How the fifth root is written in the original language | String | optional |
Meaning 5 | 15 | Concise English meaning of the fifth root | String | optional |
Language 6 | 16 | ISO 639 code or name for the language of the sixth root | String | optional |
Orthography 6 | 17 | How the sixth root is written in the original language | String | optional |
Meaning 6 | 18 | Concise English meaning of the sixth root | String | optional |