Template:Lyti-inh/doc: Difference between revisions
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
Proto-Celtic term. | Proto-Celtic term. | ||
* If not given, nothing is shown. | * If not given, nothing is shown. | ||
; {{para|4}}, {{para|5}}, {{para|6}}... | ; {{para|4}}, {{para|5}}, {{para|6}}... '''(''optional'')''' | ||
Proto-Indo-European roots. These have a dedicated syntax: | Proto-Indo-European roots. These have a dedicated syntax: | ||
# For more than one root place them in separate parameters. | # For more than one root place them in separate parameters. | ||
Latest revision as of 10:02, 11 May 2026
Generates Oltic < Middle Oltic [< Old Oltic] [< Proto-Celtic] [< Proto-Indo-European] etymology text and etymology category tags.
Usage
|1=
Middle Oltic term.
- If not given, generates [Term?] tag.
|2=(optional)
Old Oltic term.
- If not given, nothing is shown.
|3=(optional)
Proto-Celtic term.
- If not given, nothing is shown.
|4=,|5=,|6=... (optional)
Proto-Indo-European roots. These have a dedicated syntax:
- For more than one root place them in separate parameters.
- Roots can be separated either with a hyphen or with a space; use
|-|and|+|as parameters, respectively.
- If not given, no Proto-Indo-European etymon is shown.
|cN=(optional)
For Proto-Indo-European roots, this parameter allows for providing a different form used for category names than that given by automatic processing of the root. The number following the parameter is the number of the root, i.e. separators |-| and |+| are skipped.
|parts=(optional)
For Proto-Celtic etymons, an optional comma-separated list can be provided to include individual links to the parts that compose hypothetical terms. This list is shown as an annotation after the Proto-Celtic term.
|nocap=(optional)
Turns off sentence case for more complex etymologies.
|nocat=(optional)
Prevents the categorization of the page in which the template is transcluded.
Example
For example, consider the word τρασσεῖγετι (trassei͂geti);
Template call:
{{lyti-inh|τρασσειγετι|τρασσειγετι|tarasseigeti|terh₂-|steygʰ-|parts=taras,seigeti}}
Output:
- From Middle Oltic τρασσειγετι, from Old Oltic τρασσειγετι, from Proto-Celtic *tarasseigeti (see *taras and *seigeti), from Proto-Indo-European *terh₂-steygʰ-.
Inline modifiers
All of the per-term parameters described above can alternatively be specified as inline modifiers, using a syntax like детекти́вный рома́н<tr:dɛtɛktívnyj román><t:detective novel> to specify modifiers such as transliterations, glosses and qualifiers. In this example, for the Russian term детекти́вный рома́н (dɛtɛktívnyj román, “detective novel”), the manual transliteration dɛtɛktívnyj román and gloss "detective novel" are given. Specifically, the following modifiers are recognized; see the above documentation for more information on the exact meaning of each modifier.
t: glossalt: alternative display texttr: transliterationts: transcription, for languages where the transliteration and pronunciation are markedly differentq: left qualifier, e.g.<q:neither sexual nor romantic in nature>(in reference to platonic love); this appears before the term, parenthesized and italicizedqq: right qualifier; this appears after the term, parenthesized and italicizedl: comma-separated left labels, e.g.<l:rare>or<l:UK,Australia>or<l:archaic,or,dialectal>; as shown, there must not be a space after the comma for it to be recognized as a delimiter; the labels appear before the term, parenthesized, italicized and appropriately linked as if{{lb}}were used (but without categorization); an alternative syntax is to enclose the labels in<<...>>, e.g.<l:<<rare>>, <<archaic>> or <<dialectal>>>ll: comma-separated right labels; these appear after the term, parenthesized, italicized and appropriately linked as for left labelslit: literal meaningpos: part of speechg: comma-separated list of gender/number specifications; see Module:getn for the complete listsc: script code