Template:rootsee

From Wiktionary, the free dictionary
Jump to navigation Jump to search

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 there is a space or hyphen in the root already, no hyphen is added.
  2. If the root is in a non-Latin script, no hyphen is added.
  3. 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||כ־ת־ב}}

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

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

{{rootsee}}

See also