Module:Infobox chord: Difference between revisions

Bcmills (talk | contribs)
m simplify, maybe?
Bcmills (talk | contribs)
m don't link the genus — most of the time, one will use the chord in a larger genus anyway
Line 199: Line 199:
-- 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
genus_data = genus_data .. " ([[genus " .. genus_product .. "|" .. genus_product .. "]])"
genus_data = genus_data .. " (" .. genus_product .. ")"
end
end
table.insert(infobox_data, {"[[Genus]]", genus_data})
table.insert(infobox_data, {"[[Genus]]", genus_data})