Template:inherited/documentation

< Template:inherited
Revision as of 21:28, 5 August 2023 by Maria (talk | contribs) (Created page with "This template renders a link to a word, similarly to {{temp|m}}, but automatically handles adding categories. It is intended to be used in etymology sections for words that are inherited from an earlier stage of the same language. This should '''not''' be used for words that are borrowed or derived. That means there should be an unbroken chain of inheritance. If the chain is broken, consider using {{temp|borrow}} or {{temp|derive}}. ==Usage== From {{tempn|inherit|kil|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template renders a link to a word, similarly to {{m}}, but automatically handles adding categories. It is intended to be used in etymology sections for words that are inherited from an earlier stage of the same language.

This should not be used for words that are borrowed or derived. That means there should be an unbroken chain of inheritance. If the chain is broken, consider using {{borrow}} or {{derive}}.

Usage

From {{inherit|kil|lnk-pro|cel-}}.

Generates:

From Proto-Laenkean *cel-.

Parameters

|1= (required)
Specifies the language code of the language this etymology belongs to. It's the language that inherited the term.
|2= (required)
Specifies the language code of the language being inherited from.
|3= (required)
Specifies the word that was inherited from the origin language.
|4= or |d=
Specifies an alternative display text for the word link.
|5= or |t=
Specifies an optional gloss to be displayed with the word link.
|pos=
Specifies an optional part of speech to be displayed with the word link.
|nocat=
Stops the template from including any auto-generated categories.

Categories

This template automatically adds categories regarding inheritance. For example, {{inherit|kil|lnk-pro|cel-}} will automatically add the category "Kilitic terms inherited from Proto-Laenkean".