Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 266: Line 266:
local xenpaper_links = {}
local xenpaper_links = {}
for i = 1, #step_ratios do
for i = 1, #step_ratios do
local link = string.format("[%s %s]", xp.mosstep_pattern_to_xenpaper_link(pattern, step_ratios[i], mos.equave), step_ratio_names[i])
local link = "[" .. xp.mosstep_pattern_to_xenpaper_link(pattern, step_ratios[i], mos.equave) .. " " .. step_ratio_names[i] .. "]"
table.insert(xenpaper_links, link)
table.insert(xenpaper_links, link)
end
end
Line 290: Line 290:
local result = p._infobox_MOS(tuning, other_names)
local result = p._infobox_MOS(tuning, other_names)
if not debug_mode then
-- Force categories
result = result .. p.categorize(tuning)
result = result .. "\n\n\n" .. p.categorize(tuning)
end
return result
return result