Module:parameter utilities: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 42: Line 42:


----------------- end loaders ----------------
----------------- end loaders ----------------


-- Throw an error prefixed with the words "Internal error" (and suffixed with a dumped version of `spec`, if provided).
-- Throw an error prefixed with the words "Internal error" (and suffixed with a dumped version of `spec`, if provided).
Line 53: Line 52:
end
end


-- Table listing the recognized special separator arguments and how they display.
-- Table listing the default recognized special separator arguments and how they display.
local special_separators = {
export.default_special_separators = {
[";"] = "; ",
[";"] = "; ",
["_"] = " ",
["_"] = " ",
Line 832: Line 831:




local special_separators = data.special_separators or export.default_special_separators
local items, lang_cache, use_semicolon = {}, {}
local items, lang_cache, use_semicolon = {}, {}
local lang = fetch_argument(args, data.lang)
local lang = fetch_argument(args, data.lang)