Module:Infobox regtemp: Difference between revisions

m Bugfix
Xenllium (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 33: Line 33:
local comp2 = frame.args["comp2"]
local comp2 = frame.args["comp2"]
local acc2 = frame.args["acc2"]
local acc2 = frame.args["acc2"]
local limit3 = frame.args["lim3"]
local comp3 = frame.args["comp3"]
local acc3 = frame.args["acc3"]
local limit4 = frame.args["lim4"]
local comp4 = frame.args["comp4"]
local acc4 = frame.args["acc4"]
local debugg = frame.args["debug"]
local debugg = frame.args["debug"]
Line 244: Line 250:
string1 = string1 .. "; <br>" .. limit2 .. limit_text .. ": " .. acc2 .. "{{c}}"
string1 = string1 .. "; <br>" .. limit2 .. limit_text .. ": " .. acc2 .. "{{c}}"
string2 = string2 .. "; <br>" .. limit2 .. limit_text .. ": " .. comp2 .. " notes"
string2 = string2 .. "; <br>" .. limit2 .. limit_text .. ": " .. comp2 .. " notes"
end
if u.value_provided (limit3) then
string1 = string1 .. "; <br>" .. limit3 .. limit_text .. ": " .. acc3 .. "{{c}}"
string2 = string2 .. "; <br>" .. limit3 .. limit_text .. ": " .. comp3 .. " notes"
end
if u.value_provided (limit4) then
string1 = string1 .. "; <br>" .. limit4 .. limit_text .. ": " .. acc4 .. "{{c}}"
string2 = string2 .. "; <br>" .. limit4 .. limit_text .. ": " .. comp4 .. " notes"
end
end


Line 484: Line 498:
elseif wart_prefix == "i" then
elseif wart_prefix == "i" then
et_eq = "23"
et_eq = "23"
elseif wart_prefix == "j" then
et_eq = "29"
elseif wart_prefix == "k" then
et_eq = "31"
end
end
return et_eq, et_num
return et_eq, et_num