Module:Infobox regtemp: Difference between revisions

Lériendil (talk | contribs)
No edit summary
Lériendil (talk | contribs)
throdd limit moment
Line 136: Line 136:
-- error and stuff
-- error and stuff
local string1 = "(" .. limit1 .. "-[[odd limit]]) " .. acc1 .. "c"
local oddlim
local string2 = "(" .. limit1 .. "-[[odd limit]]) " .. comp1 .. " notes"
if equave_letter == "o" then
oddlim = "-[[odd limit]]) "
elseif equave_letter == "t" then
oddlim = "-[[throdd limit]]) "
else
oddlim = "-[[integer limit]]) "
end
local string1 = "(" .. limit1 .. oddlim .. acc1 .. "c"
local string2 = "(" .. limit1 .. oddlim .. comp1 .. " notes"
if limit2 ~= "0" then
if limit2 ~= "0" then
string1 = string1 .. "; <br> (" .. limit2 .. "-[[odd limit]]) " .. acc2 .. "c"
string1 = string1 .. "; <br> (" .. limit2 .. oddlim .. acc2 .. "c"
string2 = string2 .. "; <br> (" .. limit2 .. "-[[odd limit]]) " .. comp2 .. " notes"
string2 = string2 .. "; <br> (" .. limit2 .. oddlim .. comp2 .. " notes"
end
end