แม่แบบ:etyl/documentation
แม่แบบนี้เลิกใช้งานแล้ว กรุณาเปลี่ยนไปใช้ der, bor, inh, cog หรือ noncog |
This template should no longer be used directly in entries; it should be replaced by {{der}}
, {{bor}}
, {{inh}}
, {{cog}}
or {{noncog}}
. All the entries needing overhaul can be found at Category:etyl cleanup.
Usage
[แก้ไข]This template displays the name of the language from which a lexeme or term is derived. If the language is uncommon, it will also link to an English Wikipedia article about that language. Lastly, the term may be categorized as a derivative from that language.
As a mnemonic, the template's name, etyl, is an abbreviation for etymological language.
Lists of the language codes accepted by the template appear at Wiktionary:List of languages and the section for special codes. Although mul
is the code for "Translingual", as there is no category structure for translingual etymologies, such words are not placed in any descendant categories.
Wherever possible, when a more specific template applies to a term, such as {{inherited}}
, that should replace this one (see below).
Parameters
[แก้ไข]This template takes language codes for its two unnamed parameters:
- The code of the source language — that is, the language the lexeme (word) comes from. Codes for this parameter are noted above in the usage section, and are from Module:languages and Module:families.
- The code of the destination language — that is, the language section where the etymology is being added — for categorization purposes; or
-
(hyphen) if no category should be added. If omitted,en
(English) is assumed.
The template also takes a named parameter:
|sort=
alternative sorting key for determining the order of the word in the descendants category. This is generally used for scripts that have diacritics which sort incorrectly; or for languages that use Chinese characters (notably Japanese), to cause them to sort phonetically rather than by the character.