Module:Sandbox/Nemd57

local p = {} local function CS( ThisString) local S=0 for i=1,#ThisString do		local ThisChar = string.byte(ThisString,i) S=S+(i*ThisChar) end return S end

function p.helloworld( frame ) local args=frame.args output="Hello world" if CS(mw.title.getCurrentTitle.text)==1 then output=output..'' end output=output..' Stuff ' local T=mw.title.getCurrentTitle.text output=output..T.." "..CS(T) return output end

function p.m(frame)   local divstring1='' output=divstring1..divstring2..'       '  output=frame:preprocess(output)  return output  end return p