Jump to content

Module:Sandbox/Nemd57

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Nemd57 (talk | contribs) at 22:40, 2 September 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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('IC') output = frame:preprocess(IC.main("Tst")) return output  end	
return p