Pergi ke kandungan

Modul:labels/data/lang/example

Daripada Wikikamus
-- ?? This is a template for language-specific label data.
-- ?? It is not used anywhere, but you can use this to create a new language-specific label data submodule (under Module:labels/data/lang/LANGUAGECODE).
local labels = {}

local function alias(a, b) for _, v in ipairs(b) do labels[v] = a end end -- allows aliases to be entered as a list

-- ?? Add your labels here and remove this comment. The documentation describes what each of these properties does. None of them are required.
-- labels["Sample label"] = {
--	display = "How to show this label",
--	plain_categories = "plain category",
--	topical_categories = "topical category"
-- }
-- alias("Sample label", {"Alias 1", "Alias 2"})

return labels