Template:rootsee
- The following documentation is located at Template:rootsee/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Uses Lua:
This template is used to create expandable category trees at entries for roots.
Parameters
|1=
- Destination language of category Category:Destination terms derived from the Source root *root-. If left out or set to the value
+
, you get the umbrella category Category:Terms derived from the Source root *root-. |2=
- Source language of category Category:Destination terms derived from the Source root *root-. If left out or set to the value
+
, or equal to the destination language, you instead get Category:Destination terms belonging to the root *root-. However, if both source and destination language are left out or set to+
, and the current page is in the Reconstruction namespace, the source language is inferred from the pagename and you get Category:Terms derived from the Source root *root- (otherwise you get an error). If the destination language is a family code and not a valid language code, the family code is converted to the corresponding proto-language. This means you can writeine
for Proto-Indo-European,iir
for Proto-Indo-Iranian,inc
for Proto-Indo-Aryan, etc. |3=
- Root. If left out or set to the value
+
, it is taken from the subpage name (i.e. after a slash in the case of Reconstruction namespace items). If the source language is reconstruction-only, you can leave out the initial *. In addition, a hyphen may be added according to the following algorithm:- If there is a space or hyphen in the root already, no hyphen is added.
- If the root is in a non-Latin script, no hyphen is added.
- Otherwise if the source language is Navajo, a hyphen is added onto the beginning, otherwise onto the end.
|id=
- Sense ID of the root; needed especially for Navajo.
Examples
{{rootsee|ru|ine|h₁rewdʰ}}
{{rootsee|he|ine|bʰewgʰ}}
{{rootsee|he||כ־ת־ב}}
Category Hebrew terms derived from the Proto-Indo-European root *כ־ת־ב not found
{{rootsee|nv||NÁ|id=migrate}}
Category Navajo terms derived from the Proto-Indo-European root *-NÁ (migrate) not found
On the page Reconstruction:Proto-Indo-European/*gʷem-:
{{rootsee}}
See also
{{root}}
,{{HE root}}
,{{ar-root}}
,{{head|LANG|root}}
{{suffixsee}}
,{{prefixsee}}
,{{interfixsee}}
,{{circumfixsee}}