Module:Infobox regtemp: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Fewer parentheses
Line 162: Line 162:
-- error and stuff
-- error and stuff
local oddlim
local limit_text
if equave_letter == "o" then
if equave_letter == "o" then
oddlim = "-[[odd limit]]) "
limit_text = "-odd-limit"
elseif equave_letter == "t" then
elseif equave_letter == "t" then
oddlim = "-[[throdd limit]]) "
limit_text = "-throdd-limit"
else
else
oddlim = "-[[integer limit]]) "
limit_text = "-integer-limit"
end
end
local string1 = "(" .. limit1 .. oddlim .. acc1 .. "{{c}}"
local string1 = limit1 .. limit_text .. ": " .. acc1 .. "{{c}}"
local string2 = "(" .. limit1 .. oddlim .. comp1 .. " notes"
local string2 = limit1 .. limit_text .. ": " .. comp1 .. " notes"
if limit2 ~= "0" then
if limit2 ~= "0" then
string1 = string1 .. ";<br />(" .. limit2 .. oddlim .. acc2 .. "{{c}}"
string1 = string1 .. "; <br>" .. limit2 .. limit_text .. ": " .. acc2 .. "{{c}}"
string2 = string2 .. ";<br />(" .. limit2 .. oddlim .. comp2 .. " notes"
string2 = string2 .. "; <br>" .. limit2 .. limit_text .. ": " .. comp2 .. " notes"
end
end