Module:MOS intervals: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
Reverting changes (footnotes didn't work)
Line 8: Line 8:


-- TODO:
-- TODO:
-- - Convert abbr tooltips to footnotes
-- - Convert tooltips to footnotes... somehow


-- Main function; to be called by wrapper
-- Main function; to be called by wrapper
Line 36: Line 36:
result = result .. '|+ Intervals of ' .. scale_sig .. '\n'
result = result .. '|+ Intervals of ' .. scale_sig .. '\n'
result = result .. '! colspan="3" | Intervals\n'
result = result .. '! colspan="3" | Intervals\n'
result = result .. '! rowspan="2" | Steps subtended<ref group="intervals">The number of large and small steps spanned by the interval.</ref>\n'
result = result .. '! rowspan="2" | <abbr title="The number of large and small steps the interval spans.">Steps subtended</abbr>\n'
result = result .. '! rowspan="2" | Range in cents\n'
result = result .. '! rowspan="2" | Range in cents\n'
result = result .. '|-\n'
result = result .. '|-\n'
result = result .. '! Generic<ref group="intervals">A generic interval denotes how many mossteps an interval spans.</ref>\n'
result = result .. '! <abbr title="A mos interval denoted solely by the number of steps it subtends.">Generic</abbr>\n'
result = result .. '! Specific<ref group="intervals">A specific interval denotes the quality of the interval based on how many large and small steps it has.</ref>\n'
result = result .. '! <abbr title="A mos interval denoted by the large and small steps it subtends. More large steps makes it major or augmented; more small steps makes it minor or diminished.">Specific</abbr>\n'
result = result .. '! Abbrev.<ref group="intervals">Abbreviations can be further shortened to &#39;ms&#39; if context allows.</ref>\n'
result = result .. '! <abbr title="The abbreviated form of the interval. The abbreviation can be further shortened to &#39;ms&#39; if context allows.">Abbrev.</abbr>\n'
-- Write each row
-- Write each row
Line 92: Line 92:
result = result .. "|}"
result = result .. "|}"
result = result .. '<references group="intervals"/>'
return result
return result