Jump to content

Template:rootsee

From Wiktionary, the free dictionary

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 write ine 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:
  1. If |hyphen= is specified, it controls the hyphen addition or non-addition.
  2. If there is a space or hyphen in the root already, no hyphen is added.
  3. If the root is in a non-Latin script, no hyphen is added.
  4. Otherwise:
    1. If the source language is Navajo, a hyphen is added onto the beginning.
    2. If the source language is Pali, no hyphen is added.
    3. Otherwise add a hyphen onto the end.
|id=
Sense ID of the root; needed especially for Navajo.
|hyphen=
Control whether and where a hyphen is added. Possible values are before, after, both (add on both sides) and none or no (don't add).

Examples

{{rootsee|ru|ine|h₁rewdʰ}}

{{rootsee|he|ine|bʰewgʰ}}

{{rootsee|he||כ־ת־ב}}

{{rootsee|nv||NÁ|id=migrate}}

{{rootsee|pi||su}}

On the page Reconstruction:Proto-Indo-European/*gʷem-:

{{rootsee}}

See also