Zum Inhalt springen

Modul:families/data/Doku

Vun Wiktionary

Dies ist die Dokumentationsseite für Modul:families/data

This module contains definitions for all language family codes on Wiktionary. The entries are listed by their family code, which is usually an ISO-639 code, but there are also some exceptional codes. These are listed on Wiktionary:Families.

This module must not be imported using require. Instead, it is imported like this:

local families = mw.loadData("Modul:families")

This ensures that the data is only loaded once per page, rather than once for every module invocation like normal.

Every entry in the table must contain the following properties:

names
A list of all the names that this language family is known by. The first name listed is always the "canonical" name, which is used in Wiktionary entries.
family
The superfamily that the language family belongs to.