Module:Infobox ET: Difference between revisions
m Gave up on using {{cent}} for now |
m Display fifth size in decimal |
||
Line 31: | Line 31: | ||
'|-\n' .. | '|-\n' .. | ||
'| style="text-align:right; padding-right: 0.25em" | Fifth\n' .. | '| style="text-align:right; padding-right: 0.25em" | Fifth\n' .. | ||
'| style="background-color: white; padding-left: 0.25em; font-weight: bold" | ' .. fifth .. '\\' .. tuning .. ' (' .. i._to_cents(i._backslash_ratio(fifth .. '\\' .. tuning), 6) .. '¢)\n' .. | '| style="background-color: white; padding-left: 0.25em; font-weight: bold" | ' .. string.format("%d", fifth) .. '\\' .. tuning .. ' (' .. i._to_cents(i._backslash_ratio(fifth .. '\\' .. tuning), 6) .. '¢)\n' .. | ||
'|}</div>' | '|}</div>' | ||
end | end | ||
return p | return p |