Template:inherited/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{uses lua|Module:inherit}}
{{uses lua|Module:etymology}}
{{shortcut|Template:inh|Template:inherit}}
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 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}}.
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|borrowed}} ({{temp|bor}}) or {{temp|derive}} ({{temp|der}}).


==Usage==
==Usage==
  From {{tempn|inherit|kil|lnk-pro|cel-}}.
  From {{tempn|inh|kil|lnk-pro|cel-}}.


Generates:
Generates:


: From {{inherit|kil|lnk-pro|cel-|nocat=1}}.
: From {{inh|kil|lnk-pro|cel-|nocat=1}}.


===Parameters===
===Parameters===
Line 22: Line 23:
: Specifies the word that was inherited from the origin language.
: Specifies the word that was inherited from the origin language.


; {{para|4}} or {{para|d}}
; {{para|4}} or {{para|alt}}
: Specifies an alternative display text for the word link.
: Specifies an alternative display text for the word link.


Line 35: Line 36:


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

Latest revision as of 01:01, 20 February 2024

Edit-copy green.svg Documentation for Template:inherited. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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 {{borrowed}} ({{bor}}) or {{derive}} ({{der}}).

Usage

From {{inh|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 |alt=
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, {{inh|kil|lnk-pro|cel-}} will automatically add the category "Kilitic terms inherited from Proto-Laenkean".