Template:inherited/documentation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
 
Line 4: Line 4:
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 23: 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 36: 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".

Navigation menu