Module:Interval table: Difference between revisions

CompactStar (talk | contribs)
No edit summary
CompactStar (talk | contribs)
No edit summary
Line 32: Line 32:
if rat.eq(et.equave, 2) then
if rat.eq(et.equave, 2) then
if dual_fifth then
if dual_fifth then
-- For some reason, mediawiki freaks out when I use curly brackets in the wikitext directly (I cannot fix this), so using HTML entity of it instead
-- For some reason, mediawiki freaks out when I use curly brackets in the wikitext directly (I have tried and failed to fix this)
-- So using HTML entity of the curly braces instead
wikitext = wikitext .. '|{{UDnote|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '|fifth=' .. dual_flat_fifth .. '}}\n'
wikitext = wikitext .. '|{{UDnote|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '|fifth=' .. dual_flat_fifth .. '||\n'
wikitext = wikitext .. '|{{|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '|fifth=' .. dual_sharp_fifth .. '}}\n'
wikitext = wikitext .. '|{{|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '|fifth=' .. dual_sharp_fifth .. '||\n'
else
else
wikitext = wikitext .. '|{{UDnote|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '}}\n'
wikitext = wikitext .. '|{{UDnote|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '||\n'
end
end
end
end