Module:Infobox chord: Difference between revisions
CSS +1 |
There's no whitespaces in use |
||
| Line 198: | Line 198: | ||
end | end | ||
table.insert(infobox_data, {"Intervals from root", table.concat(root_interval_links, | table.insert(infobox_data, {"Intervals from root", table.concat(root_interval_links, | ||
"<span style=\"padding-left: 0.1em; padding-right: 0.1em | "<span style=\"padding-left: 0.1em; padding-right: 0.1em;\">–</span>")}) | ||
table.insert(infobox_data, {"Cents from root", table.concat(root_cents_steps, | table.insert(infobox_data, {"Cents from root", table.concat(root_cents_steps, | ||
"<span style=\"padding-left: 0.1em; padding-right: 0.1em | "<span style=\"padding-left: 0.1em; padding-right: 0.1em;\">–</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, ", ")}) | ||
| Line 223: | Line 223: | ||
local genus_data = table.concat(genus_terms, | local genus_data = table.concat(genus_terms, | ||
"<span style=\"padding-left: 0.1em; padding-right: 0.1em | "<span style=\"padding-left: 0.1em; padding-right: 0.1em;\">⋅</span>") | ||
-- append the actual product if it's (arbitrarily) 9 digits or fewer | -- append the actual product if it's (arbitrarily) 9 digits or fewer | ||
if genus_product < 1000000000 then | if genus_product < 1000000000 then | ||