이 모듈에 대한 설명문서는 모듈:연습장/설명문서에서 만들 수 있습니다
p = {}
function tr(th, td)
return "\n|-\n! " .. th .. "\n| " .. td
end
function p.main(frame)
result = ""
for s in frame.args[1]:gmatch("[^\r\n]+") do
result = result .. tr(s, frame:getParent().args[s])
end
return "{| class='infobox'" .. result .. "\n|}"
end
return p