Module:Infobox interval: Difference between revisions

Squib (talk | contribs)
m maybe i should discuss this before editing a template lol.
Tags: Undo Mobile edit Mobile web edit Advanced mobile edit
+ space between number and cent symbol
 
(One intermediate revision by the same user not shown)
Line 91: Line 91:
prime_limit = rat.max_prime(ratio)
prime_limit = rat.max_prime(ratio)
end
end
cats = cats .. "[[Category:Rational intervals]]" .. "[[Category:" .. prime_limit .. "-limit intervals]]"
cats = cats .. "[[Category:" .. prime_limit .. "-limit intervals]]"
else
else
cats = cats .. "[[Category:Irrational intervals]]"
cats = cats .. "[[Category:Irrational intervals]]"
Line 183: Line 183:
table.insert(infobox_data, {
table.insert(infobox_data, {
"Size in [[cent]]s",
"Size in [[cent]]s",
utils._round(cents, 7) .. "¢",
utils._round(cents, 7) .. " ¢",
})
})
end
end