ഫലകം:etyl
ദൃശ്യരൂപം
Documentation
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:
- The language code of the source language — that is, the language the lexeme (word) comes from.
- The language code of the destination language — that is, the current language. If - is entered, the word will not be categorized. (This parameter is optional; if it's omitted, en is assumed, meaning English.)
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 screeve}} (ka is the language code for Georgian):
- ==Etymology 2==
- From {{etyl|ka}} {{term|sc=Geor|მწკრივი |tr=mts'k'rivi|lang=ka}}.
- From ქართული მწკრივი (mts'k'rivi)}}.
An example for non-English lexeme, for Latin synonymum}} (grc is the language code for Ancient Greek):
- ==Etymology==
- From {{etyl|grc|la}} {{term|συνώνυμον|tr=sunōnumon|lang=grc|sc=polytonic}} …
- From Ἀρχαία ἑλληνικὴ συνώνυμον (sunōnumon)}} …
An example for a non-English lexeme which is not categorized, for translingual Chlamydomonas}} :
- From {{etyl|grc|mul}} {{term|χλαμύς||cloak, mantle|tr=khlamus|lang=grc|sc=polytonic}} + …
- From Ἀρχαία ἑλληνικὴ χλαμύς (khlamus, “cloak, mantle”)}} + …
Although mul is the code for "Translingual", we have no category structure for translingual etymology, so such words are not placed in any Descendants category.
Implementation
[തിരുത്തുക]Implemented using {{language}}
, which uses {{lang:...}}.