Module:Sandbox: Difference between revisions
Mastergalen (talk | contribs) No edit summary |
Mastergalen (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
function p.bananas( f ) | function p.bananas( f ) | ||
data = f:callParserFunction( '#dpl', { | data = f:callParserFunction( '#dpl', { | ||
category = 'Recipe using Bundled_Cable', | "category=" .. 'Recipe using Bundled_Cable', | ||
-- include = '{Crafting}:' .. table.concat( argList, ':' ), | -- include = '{Crafting}:' .. table.concat( argList, ':' ), | ||
mode = 'userformat', | --mode = 'userformat', | ||
secseparators = '====', | --secseparators = '====', | ||
multisecseparators = '====' | --multisecseparators = '====' | ||
}) | }) | ||
return data; | return data; | ||
end | end | ||
function p.test() | |||
return "Hello" | |||
end | |||
return p |
Latest revision as of 15:04, 10 July 2015
Documentation for this module may be created at Module:Sandbox/doc
local p = {}
function p.bananas( f )
data = f:callParserFunction( '#dpl', {
"category=" .. 'Recipe using Bundled_Cable',
-- include = '{Crafting}:' .. table.concat( argList, ':' ),
--mode = 'userformat',
--secseparators = '====',
--multisecseparators = '===='
})
return data;
end
function p.test()
return "Hello"
end
return p