Module:Sandbox/Zaenon/LogEntry

-- test of a log entry local p = {} function p.logentry(f) local args = f:getParent.args local logdate = args[1] local logtype = args[2] local user = args[3] local target1 = args[4] local target2 = args[5] local details1 = args[6] local details2 = args[7] local summary = args[8] if logtype == "block" then returnstr = (logdate.." "..user.." (talk &#124; contribs) ("..details2..") ("..summary..")") end return returnstr end return p