Module:Test

From Official Gamemode 4 Wiki
Revision as of 06:48, 2 March 2021 by JP12 (talk | contribs) (testing part 3)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

p = {}

function p.test( f )
	local args = f.args
	if #args == 0 then
		args = f:getParent().args or {""}
	end
	local c = require([[Module:Crafting]])
	return mw.html.create("span"):wikitext('[[Chairs|'):node(c.Item(f)):wikitext(']]')
end

return p