Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Simplified code, adjusted heading names
Ganaram inukshuk (talk | contribs)
Added darkest mode and step pattern tooltips
Line 142: Line 142:
local section_entries = {
local section_entries = {
{string.format("<b>%s</b>", section_header)},
{string.format("<b>%s</b>", section_header)},
{"[[Step pattern]]", brightest_mode},
-- {"[[Step pattern]]", brightest_mode},
{"[[Step pattern]] examples", string.format('<abbr title="Brightest mode">%s</abbr><br><abbr title="Darkest mode">%s</abbr>', brightest_mode, string.reverse(brightest_mode))},
{"[[Equave]]", string.format("%s (%.1f¢)", equave_as_string, equave_in_cents)},
{"[[Equave]]", string.format("%s (%.1f¢)", equave_as_string, equave_in_cents)},
{"[[Period]]", string.format("%s (%.1f¢)", period_as_string, period_in_cents)}
{"[[Period]]", string.format("%s (%.1f¢)", period_as_string, period_in_cents)}