Module:MOS intervals: Difference between revisions

Ganaram inukshuk (talk | contribs)
Converted abbr tooltips to footnotes
Ganaram inukshuk (talk | contribs)
mNo edit summary
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 name="mos-intervals-subtension">The number of large and small steps spanned by the interval.</ref>\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" | Range in cents\n'
result = result .. '! rowspan="2" | Range in cents\n'
result = result .. '|-\n'
result = result .. '|-\n'
result = result .. '! Generic<ref name="mos-intervals-generic">A generic interval denotes how many mossteps an interval spans.</ref>\n'
result = result .. '! Generic<ref group="intervals">A generic interval denotes how many mossteps an interval spans.</ref>\n'
result = result .. '! Specific<ref name="mos-intervals-specific">A specific interval denotes the quality of the interval based on how many large and small steps it has.</ref>\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 .. '! Abbrev.<ref name="mos-intervals-abbr">Abbreviations can be further shortened to &#39;ms&#39; if context allows.</ref>\n'
result = result .. '! Abbrev.<ref group="intervals">Abbreviations can be further shortened to &#39;ms&#39; if context allows.</ref>\n'
-- Write each row
-- Write each row
Line 92: Line 92:
result = result .. "|}"
result = result .. "|}"
result = result .. "<references />"
result = result .. '<references group="intervals"/>'
return result
return result