Module:sl-headword/documentation

This module is used for all Slovene headword-line templates. It provides a basic functionality common to all of them, but some of the templates have specific additional functionality to show genders or inflected forms.

Accented headwords
All Slovene headword-line templates use the first parameter to provide the headword, with accented vowels where present. This uses the tonal diacritics. See Appendix:Slovene pronunciation and About Slovene for more details. For example:

If the word can be accented in more than one way, use additional head2, head3 (etc.) parameters. For example on :

The headword parameter works exactly like head on the template, so it supports all the same special features. You can therefore also use this parameter to link to individual words of a multi-word term. These words can be linked with accents still in place; the module will remove them from the page name before creating a link, much like does.

All Slovene words are expected to have accents specified. The module will check the parameter for the presence of accents, and categorize the entry in Category:Requests for accents in Slovene entries if none are found. Some words like prepositions really have no inherent accent of their own. For such words, give  as the first parameter, as on the preposition : This tells the module that you are sure that the word should not have accents, so that it will not check for them.

If you don't know where to place the accents, you can leave the parameter empty, or just write the page name without accents. Don't use  unless you're sure the word should not have any accents.