모듈:rojo
이 모듈에 대한 설명문서는 모듈:rojo/설명문서에서 만들 수 있습니다
local p = {}
function p.main(frame)
local num_bananas = frame.args['바나나']
local num_apples = frame.args['사과']
return '저는 바나나 ' .. num_bananas .. '개와 사과 ' .. num_apples .. '개를 가지고 있습니다.'
end
function p.replace(frame)
local replaceText = frame.args[1]
if replaceText ~= nil then
retText = string.gsub(replaceText, "*", "")
retText = string.gsub(replaceText, ":", "=")
else
retText = replaceText
end
return retText
end
return p