Module:gl-headword/documentation

This module is used for Galician headword-line templates.

The module is always invoked the same way, by passing a single parameter to the "show" function. This parameter is the name of the part of speech, but in plural (examples given are for nouns, and for adjective forms respectively):

The template will, by default, accept the following parameters (specific parts of speech may accept or require others):


 * head
 * Override the headword display, used to add links to individual words in a multi-word term.


 * cat
 * Override the default category, which is the same as the provided parameter. This may sometimes be useful if you have a word that is really, say, an interjection, but you want it to show inflection as if it were an adjective. (for example, ).

There is no parameter for the sort key, because this is not necessary. The sort key is automatically generated by Module:utilities, according to the normal alphabetical ordering in Galician (encoded in Module:languages/data/2).