Jump to content

Module:Sandbox/BigGreenCahuna

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BigGreenCahuna (talk | contribs) at 22:00, 21 August 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}
 
function p.hello( frame )
	 
	 
	local args=frame.args
	
	output =  "Bob "
	  
	
    --  
    local done = 0  
    local i = 1
    while done == 0 do
		if args[i] == nil	then 
			output =  output.." End."  
			done = 1
	    else  
			output =  output.." "..args[i]
			i=i+1
		end
	end

	--output=output..frame:preprocess(" <ref>Ref 1</ref><P>==Notes==<BR>{{Reflist|group=N}}")
	local parent = frame:getParent(frame)
	output=output.." "..tableToString(parent.args)
    return output   
    
end  
 
return p