Module:Sandbox/A ka es: Difference between revisions

Content deleted Content added
A ka es (talk | contribs)
No edit summary
A ka es (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 13:
end
--task3
function p.temperaturetemperature_one(frame)
cel = frame.args.celsius
fah = cel * 9 / 5 + 32
Line 19:
end
--task4
function p.temperaturetemperature_two(frame)
cel = frame.args.celsius
fah = cel * 9 / 5 + 32
return "The temperature in Fahrenheit is " .. fah .. ".<br>"
end
--task5
function p.temperature_three(frame)
cel = frame.args.celsius2
fah = cel * 9 / 5 + 32
if cel > 10 then
msg = " it is warm."
else
msg = " it is not warm."
end -- "if" needs an "end" too
return "The temperature is " .. fah .. ", " .. msg
end