Module:Infobox MOS: Difference between revisions
Added generator size in mossteps (with tooltip) |
mNo edit summary |
||
| Line 164: | Line 164: | ||
local mossteps_per_dark_gen = mossteps_per_period - mossteps_per_bright_gen | local mossteps_per_dark_gen = mossteps_per_period - mossteps_per_bright_gen | ||
local section_header | local section_header = "Generator size" | ||
local section_entries = { | local section_entries = { | ||
{string.format("<b>%s</b>", section_header)}, | {string.format("<b>%s</b>", section_header)}, | ||
{"Bright", string.format("%d | {"Bright", string.format('<abbr title="Number of steps (either L\'s or s\'s) that make up the bright generator.">%d mosstep%s</abbr>', mossteps_per_bright_gen, (mossteps_per_bright_gen > 1 and "s" or ""))}, | ||
{"Dark" , string.format("%d | {"Dark" , string.format('<abbr title="Number of steps (either L\'s or s\'s) that make up the dark generator.">%d mosstep%s</abbr>' , mossteps_per_dark_gen , (mossteps_per_dark_gen > 1 and "s" or ""))}, | ||
} | } | ||