සැකිල්ල:derived/documentation

Wiktionary වෙතින්
Documentation for සැකිල්ල:derived. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is used to format the etymology of terms derived from another language. it combines the functions of {{etyl}} and {{m}} into a single template, with fewer keystrokes and without writing out the language codes twice.

Wherever possible, please use {{inherited}} or {{borrowed}}. Please only use it under the header 'Etymology'.

Category pages for this template are created by {{auto cat}}.

When to use[සංස්කරණය]

This template is a "catch-all" that is used when neither {{inherited}} nor {{borrowed}} is applicable. This includes the following situations:

  • A term was created in an ancestor, using parts from an even older ancestor. For example, English inherited a term from Proto-Germanic, but the term did not exist in Proto-Indo-European and was created in the separate history of Proto-Germanic. In this case, you'd use {{derived}} for the Proto-Indo-European term. This includes roots; roots are generally not inherited, but are used to form words and are hence not direct ancestors. For terms derived from roots rather than fully-formed words, you should use {{derived}}.
  • A term was borrowed from another language, and that term was inherited or borrowed from a third language. For example, English borrowed a term from Latin, which in turn borrowed it from Ancient Greek or inherited it from Proto-Italic. In this case, you'd use {{derived}} for the Ancient Greek or Proto-Italic term.

For terms that are confirmed as inherited or borrowed, please change der to inh or bor accordingly.

Parameters[සංස්කරණය]

|1=
The language code (see Wiktionary:List of languages) of the language which derived the term, which should be the language of the section that the template is placed in.
|2=
The language code of the language which the term was derived from.
|3=
The term in the source language that this term was derived from. If empty, generates a term request ([Term?]) and places the entry in a term request category, except in some cases like derivations from families or substrates. To override this and disable the term request, use "-".
|4= or |alt=
(optional) An alternative display form to show for the term, see {{l}} and {{m}}.
|t=
(optional) A gloss or translation for the term, see {{l}} and {{m}}.
|5= or |gloss=
(deprecated) Aliases of |t=.
|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.
|sort=
(optional) Sort key. Not normally needed.
|nocat=1
(optional) Suppress categorization.

See also[සංස්කරණය]

TemplateData[සංස්කරණය]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for derived

This template is used to format the etymology of terms derived from another language. it combines the functions of {{etyl}} and {{m}} into a single template, with fewer keystrokes and without writing out the language codes twice. Wherever possible, please use {{inherited}} or {{borrowing}}. Please only use it under the header 'Etymology'.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
term language1

The language code (see Wiktionary:Languages) of the language which derived the term, which should be the language of the section that the template is placed in.

Example
en
Stringrequired
derived from language2

The language code of the language which the term was derived from.

Example
fr
Stringrequired
term3

The term in the source language that this term was derived from. If empty, generates a term request ([Term?]) and places the entry in a term request category, except in some cases like derivations from families or substrates. To override this and disable the term request, use "-".

Example
casa
Page namerequired
alternative display4 alt

An alternative display form to show for the term

Stringoptional
transliterationtr

A transliteration for the term

Stringoptional
sense idid

A sense id for the term

Example
house
Stringoptional


"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:derived/documentation&oldid=26429" වෙතින් සම්ප්‍රවේශනය කෙරිණි