Template:Qhv-etym: Difference between revisions
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#switch: {{{1|}}}<!-- | |||
-->|b={{#if:{{{nocap|}}}|b|B}}orrowed from {{der|qhv|{{#invoke:languages/templates|getByCanonicalName|{{ucfirst:{{{2|}}}}}}}|{{{3|}}}|t={{{m|{{{4|}}}}}}|p=b}}.<!-- | |||
-->|n={{nominalization|qhv|{{{2|}}}|t={{#if: {{{t1|}}}|{{{t1|}}}|}}|nocap={{{nocap|}}}}}.<!-- | |||
-->|e={{#if:{{{nocap|}}}|{{{2|}}}|{{ucfirst:{{{2|}}}}}}} of {{l|qhv|{{{3|}}}|t={{{t1|}}}}}.<!-- | |||
-->|}}<noinclude>{{documentation}}[[Category:Templates]][[Category:Contionary templates]][[Category:High Valyrian templates]]</noinclude> | |||
-->|b= | |||
-->|e={{#if:{{{nocap|}}}|{{{2|}}}|{{ucfirst:{{{2|}}}}}}} of | |||
-->|}} | |||
Latest revision as of 15:55, 9 May 2026
- The following documentation is located at Template:Qhv-etym/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template is a shortcut form High Valyrian etymology sections, although it could be relatively easy to generalize to any language.
Parameters
|1=
This parameter can take two values, b and c. The former treats the word as a borrowing, and the latter treats it as a compound.
Borrowed mode
|2=
Name of the language the term is from. Automatically capitalized.
|3=
The foreign term. Generates a link to the corresponding Contionary entry.
|dt=
If present, this text will replace the display of |3=, i.e. the link will remain the same.
|4=or|m=
This adds an optional meaning to the foreign word.
- Example of usage
{{qhv-etym|b|Dothraki|arakh|dt=example|m=sword}} (It will still link to arakh.) → Borrowed from Dothraki arakh (“sword”).
Compound mode (default)
|2=,|3=, and|4=
Elements of the compound. Note: It currently only supports tripart compound words since, as far as I know, no High Valyrian entries have more than that amount. Additionally, if |2= or |3= (|4= if present) end or begin respectively with a hyphen, it automatically places the entry to a category by affix.
|m1=,|m2=, and|m3=
Optional meaning for each element.
- Example of usage
{{qhv-etym|c|daomio|līrinon|m1=rain|m2=smile}} →