Template:fi-dial/documentation

Displays Finnish dialectal data, including dialectal forms and synonyms if specified in data.

By default, it will try to load dialectal data from Module:fi-dialects/data/word/, where  is the page title. Dialectal data should be classified under the standard Finnish term, if one exists. To this end, an alternative for  can be supplied as the first parameter. In addition, a second parameter may be specified to add an extra qualifier, such as loading data from Module:fi-dialects/data/word/WORD (SENSE).

To see an example of a dialectal data module set up correctly, see Module:fi-dialects/data/word/huivi and Module:fi-dialects/data/word/ilta.

Alternatively, instead of using dialectal data, a list of parishes (see Module:fi-dialects/data/parish) can be supplied with the |p= parameter, separated by commas. In this case, synonyms will not be shown, but only a list and a link to a map of dialects in which the word is used. For example, for a word only attested in the Värmland dialects. References/sources can be added with the |ref= parameter; see Module:fi-dialects/data/source for a list of valid values. |t= can be used to add a gloss.

The dialectal classification is based on that of the Suomen murteiden sanakirja (Dictionary of Finnish Dialects) (by Kotimaisten kielten keskus), the content of which is available under the CC BY 4.0 license.

Dialectal data modules
Dialectal data modules should return a table. The fields of the table depend on whether the module is for a word, or a dialectal feature.

For words:
 * If, the table is a semantic table, providing meanings or senses for a term, when the senses differ by dialect.
 * If  or not provided, the table contains terms for a given sense, or variants of a term or word.
 * : The table of synonyms or meanings, with a term (a string) or list of terms (a table) given for each parish (see Module:fi-dialects/data/parish), using either the canonical name or an alias; for a list of supported special codes, see  under Module:fi-dialects/template/common.
 * It's generally a good idea to give synonyms for special codes on separate lines, rather than lumping them in with the parishes proper.
 * : A source or a table containing a list of sources; see Module:fi-dialects/data/source for the list of supported sources.
 * : The gloss for the reference term. For semantic maps, the meaning in the standard language should be provided, if one exists.
 * : Adds an additional usage qualifier for the reference term.
 * : If, disables links to terms on the map. Always true for semantic maps.
 * : If specified, provides custom link targets for specific forms.
 * : If specified, provides custom text for specific forms or senses for semantic maps.
 * : If specified, provides qualifiers for specific forms or senses for maps.
 * : If specified, provides qualifiers for specific forms or senses for maps.

For features:
 * : The table of values, with a term (a string) or list of terms (a table) given for each parish (see Module:fi-dialects/data/parish), using either the canonical name or an alias; for a list of supported special codes, see  under Module:fi-dialects/template/common.
 * It's generally a good idea to give synonyms for special codes on separate lines, rather than lumping them in with the parishes proper.
 * : A source or a table containing a list of sources; see Module:fi-dialects/data/source for the list of supported sources
 * : The title for the given feature; displayed on the map.
 * : If specified, provides custom text for certain senses for semantic maps.
 * : If specified, overrides the order of labels displayed on the map.
 * : If specified, provides qualifiers for specific forms or senses for maps.