Modul:category tree/topic cat/data/Numbers
Napohlad
Dokumentacija za tutón modul hodźi so na Modul:category tree/topic cat/data/Numbers/dokumentacija wutworić
local labels = {}
labels["numbers"] = {
type = "related-to",
description = "default",
parents = {"all topics"},
}
for _, number in ipairs {
"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten",
"eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen",
"twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety", "one hundred", "one thousand",
} do
local bare_number = number:gsub("^one ", "")
labels[bare_number] = {
type = "related-to",
description = ("=the number [[%s]] ([[etymologically]] or [[semantically]])"):format(number),
parents = {"numbers"},
}
end
labels["collective numbers"] = {
type = "set",
description = "default",
parents = {"numbers"},
}
labels["distributive numbers"] = {
type = "set",
description = "default",
parents = {"numbers"},
}
labels["multiplicative numbers"] = {
type = "set",
description = "default",
parents = {"numbers"},
}
labels["historical numbers"] = {
type = "set",
description = "default",
parents = {"numbers"},
}
return labels