Pergi ke kandungan

Perbincangan templat:etyl

Kandungan laman tidak disokong dalam bahasa lain.
Tambah topik
Daripada Wikikamus

Documentation

[sunting]

Use this template in the Etymology section as a possible replacement for language-specific etymology templates listed under Wiktionary:Etymology/language templates.

This template takes 2 positional parameters:

  1. The language code of the source language — that is, the language the lexeme (word) comes from. Aside from normal language codes, one can pass codes here for language families (though they all have a etyl: just pass in the code like normal and {etyl} will find it).
  2. Optionally, the language code of the destination language — that is, the current language — for categorization purposes; or - (hyphen) if no category should be added. If omitted, en (English) is assumed.

....and 1 named parameter:

  1. {{{sort}}} is an alternative version used for the ordering of the word in the descendants category, generally for languages with diacritics which sort incorrectly.

This template will

  • Generate a link to wikipedia article of a source language.
  • Categorize the lexeme into appropriate category.

An example for English lexeme, for Ralat Lua pada baris 360 di Modul:parameters: Parameter 1 should be a valid language or etymology language code; the value "screeve" is not valid. See WT:LOL and WT:LOL/E.. (ka is the language code for Georgian):

==Etymology 2==
From {{etyl|ka}} {{term|sc=Geor|მწკრივი |tr=mts'k'rivi|lang=ka}}.
From bahasa Ralat Lua: Parameter 2 is required.. Ralat Lua pada baris 360 di Modul:parameters: Parameter 1 should be a valid language or etymology language code; the value "მწკრივი" is not valid. See WT:LOL and WT:LOL/E...

An example for non-English lexeme, for Latin Ralat Lua pada baris 360 di Modul:parameters: Parameter 1 should be a valid language or etymology language code; the value "synonymum" is not valid. See WT:LOL and WT:LOL/E.. (grc is the language code for Ancient Greek):

==Etymology==
From {{etyl|grc|la}} {{term|συνώνυμον|tr=sunōnumon|lang=grc|sc=polytonic}}
From bahasa Latin [Istilah?] Ralat Lua pada baris 360 di Modul:parameters: Parameter 1 should be a valid language or etymology language code; the value "συνώνυμον" is not valid. See WT:LOL and WT:LOL/E..

An example for a non-English lexeme which is not categorized, for translingual Ralat Lua pada baris 360 di Modul:parameters: Parameter 1 should be a valid language or etymology language code; the value "Chlamydomonas" is not valid. See WT:LOL and WT:LOL/E.. :

From {{etyl|grc|mul}} {{term|χλαμύς||cloak, mantle|tr=khlamus|lang=grc|sc=polytonic}} +
From bahasa Ralat Lua pada baris 360 di Modul:parameters: Parameter 2 should be a valid language, etymology language or family code; the value "-" is not valid. See WT:LOL, WT:LOL/E and WT:LOF.. Ralat Lua pada baris 360 di Modul:parameters: Parameter 1 should be a valid language or etymology language code; the value "χλαμύς" is not valid. See WT:LOL and WT:LOL/E.. + …

Although mul is the code for "

Rentas bahasa

", we have no category structure for translingual etymology, so such words are not placed in any Descendants category.

As a mnemonic, the template’s name is an abbreviation for ety'mology language, hence etyl.

Implementation

[sunting]

Implemented using {{language}}, which uses {{lang:...}}.