Diferencia entre revisiones de «Módulo:Crafting usage»
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 {...» |
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 ' | 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: | return '[[Category:Uso de fabricación vacío]]' | ||
end | end | ||