Module:Infobox chord: Difference between revisions
Undo introducing unacceptably confusing notation Tag: Undo |
Use CSS markup instead of special whitespaces |
||
| Line 199: | Line 199: | ||
table.insert(infobox_data, {"Subharmonics", "1/(" .. table.concat(subharmonics, ":") .. ")"}) | table.insert(infobox_data, {"Subharmonics", "1/(" .. table.concat(subharmonics, ":") .. ")"}) | ||
end | end | ||
table.insert(infobox_data, {"Intervals from root", table.concat(root_interval_links, " | table.insert(infobox_data, {"Intervals from root", | ||
table.insert(infobox_data, {"Cents from root", table.concat(root_cents_steps, "& | table.concat(root_interval_links, "<span style=\"padding-left: 0.1em; padding-right: 0.1em; white-space: nowrap;\">–</span>")}) | ||
table.insert(infobox_data, {"Cents from root", | |||
table.concat(root_cents_steps, "<span style=\"padding-left: 0.1em; padding-right: 0.1em; white-space: nowrap;\">–</span>")}) | |||
table.insert(infobox_data, {"Step intervals", table.concat(step_interval_links, ", ")}) | table.insert(infobox_data, {"Step intervals", table.concat(step_interval_links, ", ")}) | ||
table.insert(infobox_data, {"Step cents", table.concat(step_cents, ", ")}) | table.insert(infobox_data, {"Step cents", table.concat(step_cents, ", ")}) | ||