Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Temporarily removed equave from adjacent links
Ganaram inukshuk (talk | contribs)
m Fixed (hopefully) rounding issue with cent values for generators
Line 8: Line 8:


-- TODO:
-- TODO:
-- Fix tamnams info section (it's not showing up at all)
-- Add back xenpaper links somehow
-- Add back xenpaper links somehow


Line 169: Line 168:
local section_entries = {
local section_entries = {
{"[[Bright]]", string.format("%s to %s (%.1d¢ to %.1d¢)", bright_min_in_steps, bright_max_in_steps, bright_min_in_cents, bright_max_in_cents)},
{"[[Bright]]", string.format("%s to %s (%.1f¢ to %.1f¢)", bright_min_in_steps, bright_max_in_steps, bright_min_in_cents, bright_max_in_cents)},
{"[[Dark]]", string.format("%s to %s (%.1d¢ to %.1d¢)", dark_min_in_steps, dark_max_in_steps, dark_min_in_cents, dark_max_in_cents)},
{"[[Dark]]", string.format("%s to %s (%.1f¢ to %.1f¢)", dark_min_in_steps, dark_max_in_steps, dark_min_in_cents, dark_max_in_cents)},
}
}