Module:mtev-pronunc: Difference between revisions
No edit summary |
No edit summary |
||
| Line 412: | Line 412: | ||
end | end | ||
local function make_table(dialects | local function make_table(dialects, noclassical, nolabel) | ||
local dial_types = { | local dial_types = {'cla'} | ||
if noclassical then | if noclassical then | ||
| Line 470: | Line 466: | ||
w = {default = mw.loadData("Module:headword/data").pagename}, | w = {default = mw.loadData("Module:headword/data").pagename}, | ||
a = {list = true, allow_holes = true, type = 'number'}, | a = {list = true, allow_holes = true, type = 'number'}, | ||
noclassical = {type = 'boolean'}, | noclassical = {type = 'boolean'}, | ||
nolabel = {type = 'boolean'}, | nolabel = {type = 'boolean'}, | ||
| Line 483: | Line 478: | ||
local dialects = make_dialects(text) | local dialects = make_dialects(text) | ||
return make_table(dialects | return make_table(dialects, args.noclassical, args.nolabel) | ||
end | end | ||
return export | return export | ||