Template:he-ot-sofit

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

Usage[edit]

This template is fairly simple to use: pass it a letter, and it will evaluate to the final form of the letter. (For most letters, it means no change.) In the special case that the letter is כ or ך and the second argument is sh'va, it will also add a sh'va. The template is included in various conjugation templates; it allows the same template to be used whether or not the last letter of the root has a distinct final form.

The template has some limitations; to wit:

  • The parameter must be the actual Hebrew letter in Unicode, not an (X)HTML numeric character reference. (So, something like כ, not something like כ.)
  • The parameter must be just the letter; it must not contain any vowels or whatnot. Any vowels should be added to the result of the template, not its parameter.

(If either of these constraints is violated, the template simply evaluates to the value of its parameter. This is because the template works by simply comparing its parameter to each element of {כ,ך,מ,נ,פ,צ}, producing the right value if one of these is the case, and otherwise evaluating to the value of the parameter.)

See also[edit]