Module:MOS mode degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Adopt yesno module
Ganaram inukshuk (talk | contribs)
m comments; cleared todo
Line 4: Line 4:
local yesno = require("Module:Yesno")
local yesno = require("Module:Yesno")
local p = {}
local p = {}
-- TODO
-- Add an option to collapse the table, and have the table collapsed by default


-- Global variables for cell colors
-- Global variables for cell colors
-- Colors are as follows:
-- Colors are as follows:
-- Large intervals are yellow, small intervals are blue, augmented intervals are dark yellow, and diminished intervals are dark blue
-- - Orange and blue for small and large sizes, respectively
-- - Darker colors for altered scale degrees
-- - No color for period intervals
p.cell_color_none = "NONE" -- For cells that don't have a color (default cell color applies)
p.cell_color_none = "NONE" -- For cells that don't have a color (default cell color applies)
p.cell_color_perfect_size = "NONE" -- Only applies for periods, including the root and equave
p.cell_color_perfect_size = "NONE" -- Only applies for periods, including the root and equave