This module is responsible for automating the display of Swadesh lists.

See {{Swadesh list auto}} for how to use this module on Swadesh list pages.

The data submodules should return a table of words indexed by their index on the 207-word Swadesh list. Indexes may be left out at will. The values should be a list of terms (explained below).

For example:

m[1] = {{term = "I"}}
m[2] = {{term = "you"}}

A term is a table with the following keys (all of which are technically optional, but at least either term or tr must be provided in practice:

term
The term in the specified language.
alt
The text to display, if not the same as the term to link to.
tr
The transliteration. If none is provided, one is automatically generated when appropriate.
ts
The transcription.
id
The sense ID (provided by {{senseid}} or {{etymid}}).
ipa
The IPA transcription of the word. Only displayed if the table contains only the specified language. Not displayed by default for reconstructed languages even if specified.
notes
A short note displayed after the entry (or as an asterisk with a tooltip on Swadesh list tables with multiple languages).
nolink
Pass true to disable the link to the term.

In addition, the returned table may also have a key nativename that contains the name of that language in that language.

See the submodule links below for more examples.

Language-specific submodules

සංස්කරණය


"https://si.wiktionary.org/w/index.php?title=Module:Swadesh/documentation&oldid=164048" වෙතින් සම්ප්‍රවේශනය කෙරිණි