p =
local yesno = require('Module:Yesno')local getArgs = require('Module:Arguments').getArgs
function p.nihongo(frame) local args = getArgs(frame) local ret local ret_temp
-- Parameter if args[2] ~= nil then if yesno(args.lead) then ret = ret .. '日语:' else ret = end ret = ret .. '
--' else ret = end -- Parameter if args.romaji ~= nil then if yesno(args.lead) then ret_temp = ret_temp .. '罗马字:' end ret_temp = ret_temp .. '' .. args.romaji .. '' else ret_temp = end if ret ~= and ret_temp ~= then ret = ret .. ',' .. ret_temp else ret_temp = ret .. ret_temp ret = end -- Parameter if args[3] ~= nil then ret_temp = ret .. ',' .. args[3] end if ret ~= and ret_temp ~= then ret_temp = ret .. ',' .. ret_temp else ret_temp = ret .. ret_temp ret = end -- Parameter if args[4] ~= nil then ret_temp = ret_temp .. ',' .. args[4] end if ret ~= and ret_temp ~= then ret_temp = ret .. ',' .. ret_temp else ret_temp = ret .. ret_temp ret = end if ret_temp ~= then ret_temp = '(' .. ret_temp .. ')' end -- Parameter if args[5] ~= nil then ret_temp = ret_temp .. ' ' .. args[5] end-- Parameter
if args[1] ~= nil then ret = args[1] else ret = end ret = ret .. ret_temp return retend
return p