Module:TAMNAMS: Difference between revisions

Undo revision 179333 by ArrowHead294 (talk). Broken
Tag: Undo
ArrowHead294 (talk | contribs)
m Trying to see what was broken; will either fix it or revert it back soon
Tag: Undo
Line 826: Line 826:
end
end
if periods == 1 then
if periods == 1 then
return string.format("%s|%s", gens_up_per_period, gens_down_per_period) .. alterations_as_string
return string.format("%s{{pipe}}%s", gens_up_per_period, gens_down_per_period) .. alterations_as_string
else
else
return string.format("%s|%s(%s)", gens_up_per_period * periods, gens_down_per_period * periods, periods) .. alterations_as_string
return string.format("%s{{pipe}}%s(%s)", gens_up_per_period * periods, gens_down_per_period * periods, periods) .. alterations_as_string
end
end
end
end