Module:families/documentation

Hello, you have come here looking for the meaning of the word Module:families/documentation. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:families/documentation, but we will also tell you about its etymology, its characteristics and you will know how to say Module:families/documentation in singular and plural. Everything you need to know about the word Module:families/documentation you have here. The definition of the word Module:families/documentation will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:families/documentation, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module is used to retrieve and manage Wiktionary's various language families and the information associated with them. See Wiktionary:Families for more information.

This module provides access to other modules. To access the information from within a template, see Module:families/templates.

The information itself is stored in Module:families/data. This module should not be used directly by any other module, the data should only be accessed through the functions provided by Module:families.

Finding and retrieving families

The module exports a number of functions that are used to find families.

(The generated documentation is located at the module page.)

Family objects

A Family object is returned from one of the functions above. It is a Lua representation of a family and the data associated with it. It has a number of methods that can be called on it, using the : syntax. For example:

local m_families = require("Module:families")
local fam = m_families.getByCode("ine")
local name = fam:getCanonicalName()
-- "name" will now be "Indo-European"

(The generated documentation is located at the module page.)