Module:Infobox chord: Difference between revisions

Bcmills (talk | contribs)
No edit summary
Bcmills (talk | contribs)
No edit summary
Line 41: Line 41:
local i = 0
local i = 0
for hs in string.gmatch(frame.args["Harmonics"], "[^:]+") do
for hs in string.gmatch(frame.args["Harmonics"], "[^:]+") do
debug_data = debug_data .. "hs:" .. hs .. "<br/>"
h = tonumber(hs)  -- TODO: support rational entries?
h = tonumber(hs)  -- TODO: support rational entries?
if h == nil or h < 1 then
if h == nil or h < 1 then