ទំព័រគំរូ:compound

ពីWiktionary
Jump to navigation Jump to search

Lua error in Module:languages at line 389: The function getByCode expects a string as its first argument, but received nil..


This template is used in the etymology section. Use

{{compound|first part|second part|optionally more parts|=}}

For instance, a simple etymology of placeholder could be created with:

{{compound|place|holder|=}}

which evaluates to:

Lua error in Module:compound/templates at line 107: The language code "place" is not valid..

It also adds the entry to a category of the form "[Language name] compounds". English is the default Language name.

For more about compounds in etymologies, see Wiktionary:Etymology#Compound.

Alternative templates[កែប្រែ]

{{compound}} is only used when two independent words are joined without modification. In other cases, please use the following alternatives:

  • For combination involving a prefix or suffix added to a base word, use {{prefix}} or {{suffix}} instead.
  • For combination involving both a prefix and a suffix (no base word), use {{confix}} instead.
  • For combination of independent words where the result is not just concatenation, as in brunch, use {{blend}} instead.

Languages other than English[កែប្រែ]

For languages other than English, the parameters lang, sc, tr1, t1, alt1, etc. are supported, to specify language, script, transliteration, translation, and alternative representation.

For words in languages other than English, a “lang” parameter with a language code should be added:

{{compound|brand|kast|lang=nl}}

Furthermore, there is the possibility to give translations of the parts by using “t1”, “t2”, …:

{{compound|brand|kast|t1=fire|t2=closet|lang=nl}}

Alternative representation forms can be given by using the “alt1”, “alt2”, … parameters:

{{compound|branden|kast|t1=burn|t2=closet|alt1=brand|lang=nl}}

brand (burn) +‎ kast (closet)

Finally, you can use it to show the etymology of foreign-language compounds in borrowed words as well. In this case, you usually do not want the entry to appear as a compound of that language. Use the nocat= parameter for this (as seen on the page fierljeppen):

{{compound|fier|ljeppe|t1=far|t2=to leap|lang=fy|nocat=1}}

fier (far) +‎ ljeppe (to leap)

See also[កែប្រែ]