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
[edit]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 Wiktionary:About Slovene for more details. For example:
{{sl-noun|jẹ̄ž|m-an}}
{{sl-adj|nȍv|novȇjši}}
{{sl-pron|óna}}
If the word can be accented in more than one way, use additional |head2=
, |head3=
(etc.) parameters. For example on takoj:
{{sl-adv|takọ̑j|head2=takȍj}}
The headword parameter works exactly like |head=
on the {{head}}
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 {{l}}
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 brez:
{{sl-prep|-}}
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.