Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
Separating generator size into two lines each, with annotations
Ganaram inukshuk (talk | contribs)
m forgot a string
Line 305: Line 305:
local section_entries = {
local section_entries = {
{string.format("<b>%s</b>", section_header)},
{string.format("<b>%s</b>", section_header)},
{"[[Step pattern | Large]]", string.format("Steps%s: %s to %s<br>Cents: %.1f¢ to %.1f¢", large_step_min_in_steps, large_step_max_in_steps, large_step_min_in_cents, large_step_max_in_cents)},
{"[[Step pattern | Large]]", string.format("Steps%s: %s to %s<br>Cents: %.1f¢ to %.1f¢", ed_annotation, large_step_min_in_steps, large_step_max_in_steps, large_step_min_in_cents, large_step_max_in_cents)},
{"[[Step pattern | Small]]", string.format("Steps%s: %s to %s<br>Cents: %.1f¢ to %.1f¢)", small_step_min_in_steps, large_step_min_in_steps, small_step_min_in_cents, large_step_min_in_cents)}
{"[[Step pattern | Small]]", string.format("Steps%s: %s to %s<br>Cents: %.1f¢ to %.1f¢", ed_annotation, small_step_min_in_steps, large_step_min_in_steps, small_step_min_in_cents, large_step_min_in_cents)}
}
}