Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Test: Difference between revisions

From MassiveCraft Wiki
No edit summary
No edit summary
Line 1: Line 1:
local p = {}
local p = {}


name = "dfsdg"
function p.info(frame)
 
function p.hello(frame)
name=frame.args.CharacterName
name=frame.args.name
age=frame.args.Age
return name
gender=frame.args.Gender
race=frame.args.Race
full = name .. " is a " .. age .. " year old " .. gender .. " " .. race .. "."
print(full)
end
end
 
return p
return p

Revision as of 23:45, 25 August 2015

Documentation for this module may be created at Module:Test/doc

local p = {}

function p.info(frame)
 
	name=frame.args.CharacterName
	age=frame.args.Age
	gender=frame.args.Gender
	race=frame.args.Race
	
	full = name .. " is a " .. age .. " year old " .. gender .. " " .. race .. "."
	print(full)
	
end
 
return p