Template:cognate/documentation

This template is used to format the etymology of terms cognate with terms in another language. Please only use it under the header.

Unlike most other etymology templates, this one adds no categories.

When to use
This template is used to indicate cognacy with terms in other languages that are not ancestors of the given term (hence none of, , and are applicable). There is no consensus whether its use for etymologically related but borrowed terms is appropriate. Note also, which has the exact same functionality as this template (but is explicitly intended for terms that are not cognate).

Parameters

 * 1
 * The language code (see Languages) of the source language(s) of the cognate term. Etymology-only languages (e.g.  for Late Latin and   for Old Italian) are allowed, as are language families (e.g.   for Turkic languages). Multiple source language codes can be specified, comma-separated, for cases where a term is cognate with multiple related languages with the same spelling of the source term. See examples below.


 * 2
 * The cognate term itself. If empty, generates a term request ([Term?]) and places the entry in a term request category, except in some cases like cognates that are families or substrates. (?) To override this and disable the term request, use


 * 3 or alt
 * An alternative display form to show for the term. See and.


 * 4 or t or gloss
 * A gloss/translation for the term. See and.


 * tr
 * A transliteration for the term. See and.


 * ts
 * Transcription for non-Latin-script words whose transliteration is markedly different from the actual pronunciation. See and.


 * pos
 * A part of speech indication for the term. See and.


 * g, g2, g3 and so on
 * Gender and number, as in and ; see Module:gender and number for details.


 * lit
 * A literal translation for the term. See and.


 * id
 * A sense id for the term. See and.


 * sc
 * Script code to use. See and.


 * sort
 * Sort key. Not normally needed.


 * 1
 * Suppress categorization.


 * conj
 * Conjunction to use when joining multiple sources; defaults to.

Examples
1. On : Compare 🇨🇬,, 🇨🇬.

which displays

Compare 🇨🇬,, 🇨🇬.

2. On : Cognate with the 🇨🇬 historical name.

which displays

Cognate with the 🇨🇬 historical name.

3. On : Compare 🇨🇬; 🇨🇬; 🇨🇬.

which displays

Compare 🇨🇬; 🇨🇬; 🇨🇬.

Note that in cases with multiple sources, all but the last one link the language name to the corresponding term in that language, whereas the last source language and term are linked as if only that source language had been given.

TemplateData
{	"params": { "1": {			"description": "The language code (see Languages) of the language of the cognate term.", "example": "en", "type": "string", "required": true, "label": "language code", "suggested": true },		"2": {			"description": "The cognate term itself. If empty, generates a term request ([Term?]) and places the entry in a term request category, except in some cases like cognates that are families or substrates. (?) To override this and disable the term request, use \"-\".", "example": "foo", "required": true, "type": "wiki-page-name", "label": "cognate term", "suggested": true },		"3": {			"aliases": [ "alt" ],			"label": "display alternative", "description": "An alternative display form to show for the term.", "type": "string", "suggested": true },		"4": {			"aliases": [ "gloss", "t" ],			"label": "gloss", "description": "A gloss translation for the term.", "type": "string", "suggested": true },		"pos": { "description": " A part of speech indication for the term.", "type": "string", "suggested": true, "label": "part of speech" },		"lit": { "description": "A literal translation for the term", "type": "string", "label": "literal translation" },		"sc": { "description": "Script code to use. The template can usually figure out the correct code, so this is rarely needed. When no code is given, the template will try to detect the script based on the characters of the word, and if it fails to detect the script, the code None will be used.", "type": "string", "label": "script code" },		"tr": { "description": "A transliteration for the term.", "type": "string", "suggested": true, "label": "transliteration" },		"id": { "label": "sense id", "description": "A sense id for the term.", "type": "string", "suggested": true },		"g": { "label": "gender and number", "description": "Gender and number; see Module:gender and number for details.", "type": "string", "suggested": true }	},	"description": "This template is used to format the etymology of terms cognate with terms in another language. Please only use it under the header 'Etymology'.", "format": "inline", "paramOrder": [ "1",		"2",		"3",		"4",		"tr", "pos", "g", "lit", "id", "sc" ] }