Module:MOS tunings: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
mNo edit summary |
||
| Line 183: | Line 183: | ||
-- Headers for JI ratios; this spans two rows | -- Headers for JI ratios; this spans two rows | ||
if #ji_ratios ~= 0 then | if #ji_ratios ~= 0 then | ||
result = result .. "! rowspan=\"2\" class=\"unsortable\" | Approx. | result = result .. "! rowspan=\"2\" class=\"unsortable\" | Approx. ratios*\n" | ||
end | end | ||
result = result .. "|-\n" | result = result .. "|-\n" | ||
| Line 190: | Line 190: | ||
for i = 1, #step_ratios do | for i = 1, #step_ratios do | ||
result = result .. "! style=\"border-right:none;\" class=\"unsortable\" | Steps\n" | result = result .. "! style=\"border-right:none;\" class=\"unsortable\" | Steps\n" | ||
result = result .. "! style=\"border-left:none;\" | | result = result .. "! style=\"border-left:none;\" | ¢\n" | ||
end | end | ||
| Line 228: | Line 228: | ||
-- End of table, plus footnotes | -- End of table, plus footnotes | ||
result = result | result = result .. "|}\n" | ||
.. string.format("<span style=\"font-size: 0.75em;\">* - %s</span>", footnotes) | if #ji_ratios ~= 0 then | ||
result = result .. string.format("<span style=\"font-size: 0.75em;\">* - %s</span>", footnotes) | |||
end | |||
return result | return result | ||