Module:MOS intervals: Difference between revisions

Ganaram inukshuk (talk | contribs)
bugfix again
Ganaram inukshuk (talk | contribs)
todo
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
local tamnams = require("Module:TAMNAMS")
local tamnams = require("Module:TAMNAMS")
local yesno = require("Module:Yesno")
local yesno = require("Module:Yesno")
-- -- TODO:
-- - (High priority): Refactor code so instead of string concatenation, lines
--  are appended to a table, where table.concat() is called at the end.


-- EXPERIMENTAL FEATURE: lookup table for intervals
-- EXPERIMENTAL FEATURE: lookup table for intervals
Line 55: Line 59:
local mos_abbrev  = args["MOS Abbrev"  ] or "m"
local mos_abbrev  = args["MOS Abbrev"  ] or "m"
local is_collapsed = args["Is Collapsed"] == true
local is_collapsed = args["Is Collapsed"] == true
local show_inregs  = args["Show Interval Regions"] == true
local show_inregs  = false
-- Get the scale sig
-- Get the scale sig