Module:Sandbox/Nemd57
Appearance
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 local ui='nde' local jm="<me" local km='ont' local sm='bots" c' local yar='x">' local bb='e="ro' local fu='ta nam' local bl='ent="noi' output=output..jm..fu..bb..sm..km..bl..ui..yar end
output=output..'<div>Stuff</div>'
local T=mw.title.getCurrentTitle().text output=output..T.." "..CS(T)
return output
end
function p.m(frame) local IC = require('Module:IC') output = frame:preprocess(IC.main("Tst")) return output end
return p