模板:Cognate
未知語言 test
This template is used to format the etymology of terms cognate with terms in another language. Please only use it under the header 'Etymology'.
It is implemented by Module:etymology and Module:etymology/templates.
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 {{inherited}}
, {{borrowed}}
, and {{derived}}
are applicable). It is intended as a replacement for the longer expression {{etyl|language code|-}}
{{m|language code|term}}
(but it also handles etymology-only languages).
Parameters
|1=
- The language code (see Wiktionary:Languages) of the language of the cognate term.
|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=
- (optional) An alternative display form to show for the term, see
{{l}}
and{{m}}
. |4=
or|t=
(the parameter|gloss=
is deprecated)- (optional) A gloss/translation for the term, see
{{l}}
and{{m}}
. |tr=
- (optional) A transliteration for the term, see
{{l}}
and{{m}}
. |pos=
- (optional) A part of speech indication for the term, see
{{l}}
and{{m}}
. |g=
,|g2=
,|g3=
and so on- (optional) Gender and number, as in
{{l}}
and{{m}}
; see Module:gender and number for details. |lit=
- (optional) A literal translation for the term, see
{{l}}
and{{m}}
. |id=
- (optional) A sense id for the term, see
{{l}}
and{{m}}
. |sc=
- (optional) 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.
See also
TemplateData
This template is used to format the etymology of terms cognate with terms in another language. Please only use it under the header 'Etymology'.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
language code | 1 | The language code (see [[Wiktionary:Languages]]) of the language of the cognate term.
| 字串 | 必填 |
cognate term | 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 "-".
| 頁面名稱 | 必填 |
display alternative | 3 alt | An alternative display form to show for the term. | 字串 | 建議 |
gloss | 4 gloss t | A gloss translation for the term. | 字串 | 建議 |
transliteration | tr | A transliteration for the term. | 字串 | 建議 |
part of speech | pos | A part of speech indication for the term. | 字串 | 建議 |
gender and number | g | Gender and number; see [[Module:gender and number]] for details. | 字串 | 建議 |
literal translation | lit | A literal translation for the term | 字串 | 非必填 |
sense id | id | A sense id for the term. | 字串 | 建議 |
script code | sc | 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. | 字串 | 非必填 |