Module:HW

local p = {}

-- print ("Hello World!")

--	+ − 	   Very very very very looooonggggggggg textttttttttttttttttttttttttttttttttt	+ 	print ("Hello World!")

function p.hello( frame ) return "Hello, world!" end

function p.world( frame ) return "Hello, Kotonoha!" end

function p.argexist( frame ) return frame.args[2] == frame.args[1] or frame.args[3] == frame.args[1] or frame.args[4] == frame.args[1] end

function p.echo( frame ) return frame.args[1] end

function p.mingo( frame ) if( tonumber( frame.args[1], 10 ) ~= nil ) then return 1911 + frame.args[1] end return " Error: not vaild decmical number " end

-- I want => 2048 function p.withparam( args ) return args --if args.detext == nil or args.detext == '' then --	return 'Error: No args' --end -- return args.detext end

-- https://stackoverflow.com/questions/4990990/check-if-a-file-exists-with-lua function p.file_exists(frame) local filemname = frame.args[1] return frame:preprocess( "" ) end return p