A modult a Modul:parameters/data/doc lapon tudod dokumentálni
local shallowcopy = require("Module:table").shallowcopy
local function no_equals(t)
local t_no_equals = {}
for k, v in pairs(t) do
if type(k) == "string" then
t_no_equals = v
else
t_no_equals = v
end
end
return t_no_equals
end
local alias_of_4 = {alias_of = 4}
local allow_empty = {allow_empty = true}
local boolean = {type = "boolean"}
local boolean_default_false = {type = "boolean", default = false}
local boolean_list_allow_holes = {type = "boolean", list = true, allow_holes = true}
local list = {list = true}
local list_allow_holes = {list = true, allow_holes = true}
local plain = {}
local required = {required = true}
local required_default_ = {required = true, default = ""}
local required_default_und = {required = true, default = "und"}
local m = {}
m = {}
m.main = {
= {required = true, list = true},
= {alias_of = 1}
}
m = {}
m.show = {
= required,
= plain,
= plain,
= boolean,
= plain,
}
m = {}
m.head_t = {
= required_default_und,
= plain,
= plain,
= {required = true, default = "nouns"},
= boolean,
= boolean,
= boolean,
= boolean,
= boolean,
= boolean,
= plain,
= plain,
= plain,
= list_allow_holes,
= plain,
= list_allow_holes,
= list_allow_holes,
= list,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= boolean_list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= list_allow_holes,
= boolean_list_allow_holes,
= boolean_list_allow_holes,
= list_allow_holes,
}
m.head_t_no_equals = no_equals(m.head_t)
m = {}
m.l_term_t = {
= required,
= plain,
= plain,
= plain,
= list,
= alias_of_4,
= plain,
= plain,
= plain,
= plain,
= alias_of_4,
= plain,
= plain,
= plain,
= plain,
= plain,
= plain,
= plain,
= boolean,
}
m.l_term_t_compat = shallowcopy(m.l_term_t)
m.l_term_t_compat.lang = plain
table.remove(m.l_term_t_compat, 1)
m.ll = {
= required,
= allow_empty,
= plain,
= boolean_default_false,
= plain,
= plain,
}
m.def_t = {
= required_default_,
= boolean_default_false
}
m.linkify_t = {
= required_default_,
}
m.section_link_t = {
= plain,
}
m.language_name_link_t = {
= required,
= plain,
= plain,
= plain,
= list,
= alias_of_4,
= plain,
= plain,
= plain,
= plain,
= alias_of_4,
= plain,
= plain,
= boolean_default_false,
}
m.language_name_link_t_compat = shallowcopy(m.language_name_link_t)
m.language_name_link_t_compat.lang = plain
table.remove(m.language_name_link_t_compat, 1)
m = {}
m.show = {
= required,
= list,
}
m = {}
m.show = {
= required_default_und,
= plain,
= list,
= plain,
= plain,
= plain,
= plain,
= plain,
= plain,
}
m.top = {
= plain,
= plain,
= plain,
}
m.bottom = {}
m.see = {
= required,
= list,
= plain
}
return m