Template:User:Kiril kovachev/sla-pal-1/documentation

Used to generate the basic string "The <1> changes to <2> in an instance of the .", for use in etymologies of Slavic languages. This will also put the page in a category of terms affected by the first palatalization in that language, unless this is turned off by passing.

Parameters

 * 1
 * The language code of the term which is affected, i.e. of the entry for which it's being used.


 * 2
 * The letter or string of letters that is affected by the palatalization. Valid inputs are к, г, and х, but you can input anything else, as long as you also supply.


 * 3
 * The letter or string of letters to which was palatalized. Used for strings that aren't just a single letter (if you want to demonstrate the change for an entire morpheme, for example). It's only optional if your input is one of the recognized, single letters; otherwise, please specify this second parameter as well.


 * nocap
 * Makes the 'the' at the start of the sentence start with a lowercase letter ('the' instead of 'The').


 * nocat
 * Prevents the page from being categorized.

Conversion behaviours
The characters are mapped as follows:

Exceptions are made for Polish and Silesian to fit their alphabets: Ukrainian:
 * к = ч
 * г = ж
 * х = ш
 * k = č
 * g = ž
 * h = š
 * k = ć
 * g = ż
 * h = ś
 * ґ = ж