Module:IPA/templates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17: Line 17:
[1 + offset] = {list = true, disallow_holes = true},
[1 + offset] = {list = true, disallow_holes = true},
-- Deprecated; don't use in new code.
-- Deprecated; don't use in new code.
["qual"] = {list = true, allow_holes = true, separate_no_index = true, alias_of = "q", default = params[lang_arg]:getCanonicalName()},
["qual"] = {list = true, allow_holes = true, separate_no_index = true, alias_of = "q"},
["nocount"] = {type = "boolean"},
["nocount"] = {type = "boolean"},
["nocat"] = {type = "boolean"},
["nocat"] = {type = "boolean"},
Line 40: Line 40:


local lang = args[lang_arg]
local lang = args[lang_arg]
 
args.q.default = lang:getCanonicalName()
local data = {
local data = {
lang = lang,
lang = lang,