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 | ||
wikitext = wikitext .. '| | -- 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 | ||
wikitext = wikitext .. '| | |||
wikitext = wikitext .. '|&#lcub;&#lcub;UDnote|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '|fifth=' .. dual_flat_fifth .. '&#rcub;&#rcub;\n' | |||
wikitext = wikitext .. '|&#lcub;&#lcub;|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '|fifth=' .. dual_sharp_fifth .. '&#rcub;&#rcub;\n' | |||
else | else | ||
wikitext = wikitext .. '| | wikitext = wikitext .. '|&#lcub;&#lcub;UDnote|tuning=' .. ET.as_string(et) .. '|step=' .. i .. '&#rcub;&#rcub;\n' | ||
end | end | ||
end | end | ||