Module:Fighter

From Wavu Wiki, the 🌊 wavy Tekken wiki
Revision as of 13:29, 24 January 2021 by RogerDodger (talk | contribs) (Created page with "local p = {}; p.class = function(frame) local name = frame.args[1] return p._class(name) end p._class = function(name) return name:lower():gsub("%s+","-") end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

local p = {};

p.class = function(frame)
	local name = frame.args[1]
	return p._class(name)
end

p._class = function(name)
	return name:lower():gsub("%s+","-")
end

return p