Module:Test: Difference between revisions
Jump to navigation
Jump to search
(I am testing things) |
m (testing part 3) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
mw.html.create("span"):wikitext('[[Chairs]]') | 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 |
Latest revision as of 06:48, 2 March 2021
Documentation for this module may be created at Module:Test/doc