Template:root/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "{{uses lua|Module:root|Module:languages}} This template is to be added in the first line of an etymology section. <u>It is meant to not display anything</u>, and only serves the purpose of categorization. Powered by Module:root. ===Parameters=== ; {{para|1}} : The language code of the language which derived the root, which should be the language of the section that the template is placed in. ; {{para|2}} : The language code of the language which the root was derived...")
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
; {{para|2}}
; {{para|2}}
: The language code of the language which the root was derived from.
: The language code of the language which the root was derived from.
:; {{para|2|*}} will use the same language as {{para|1}}.
; {{para|3}}, {{para|4}}, {{para|5}}, ...
; {{para|3}}, {{para|4}}, {{para|5}}, ...
: The root(s) in the source language that this term was derived from.
: The root(s) in the source language that this term was derived from. A hyphen will be added to the end of all roots entered without them.


===Example===
===Example===
On {{m|kil|}}:
On {{m|kil|šeḻē}}:


  ===Etymology===
  ===Etymology===
  {{temp|root|kil|ine-pro|cel-}}
  {{temp|root|kil|lnk-pro|cel-}}
  From {{temp|inherit|kil|lnk-pro|cel-|celtʰes}}.
  From {{temp|inherit|kil|lnk-pro|cel-|celtʰes}}.


which will categorize the page in [[:Category:Kilitic terms derived from the Proto-Laenkean root *cel-]].
which will categorize the page in [[:Category:Kilitic terms derived from the Proto-Laenkean root *cel-]].

Latest revision as of 17:33, 16 June 2024

This template is to be added in the first line of an etymology section. It is meant to not display anything, and only serves the purpose of categorization. Powered by Module:root.

Parameters

|1=
The language code of the language which derived the root, which should be the language of the section that the template is placed in.
|2=
The language code of the language which the root was derived from.
|2=* will use the same language as |1=.
|3=, |4=, |5=, ...
The root(s) in the source language that this term was derived from. A hyphen will be added to the end of all roots entered without them.

Example

On šeḻē:

===Etymology===
{{root|kil|lnk-pro|cel-}}
From {{inherit|kil|lnk-pro|cel-|celtʰes}}.

which will categorize the page in Category:Kilitic terms derived from the Proto-Laenkean root *cel-.