Diferencia entre revisiones de «Módulo:Crafting usage»

Xstela (discusión | contribs.)
Página creada con «local p = {} function p.dpl( f ) local args = f:getParent().args local grid = require( 'Module:Grid' ) local ingredients = args[1] and mw.text.split( args[1], ',' ) or {...»
 
MinedNugget (discusión | contribs.)
Sin resumen de edición
Línea 16: Línea 16:
local data = f:callParserFunction( '#dpl', {
local data = f:callParserFunction( '#dpl', {
category = args.category or 'Recipe using ' .. table.concat( ingredients, '|Recipe using ' ),
category = args.category or 'Recetas que usan ' .. table.concat( ingredients, '|Recipe using ' ),
nottitleregexp = args.ignore,
nottitleregexp = args.ignore,
include = '{Crafting}:' .. table.concat( argList, ':' ),
include = '{Crafting}:' .. table.concat( argList, ':' ),
Línea 215: Línea 215:
end
end
if #templates == 0 then
if #templates == 0 then
return '[[Category:Empty crafting usage]]'
return '[[Category:Uso de fabricación vacío]]'
end
end