Jump to content
Wikipedia The Free Encyclopedia

Module:User:Doc Taxon/Hello

From Wikipedia, the free encyclopedia
Module documentation[create] [purge]
You might want to create a documentation page for this Scribunto module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
 local p = {} 
 function p.hello(frame)
 local name = frame.args[1]
 if not name then 
 name = 'World' 
 end
 local u = ""
 for i = 1, 5 do
 	u = u .. '\n\n' .. i .. ': Hello ' .. name .. '! This is Lua!' 
	end
 return u
 end 
 return p

AltStyle によって変換されたページ (->オリジナル) /