Cambios

Saltar a: navegación, buscar

Módulo:Crafting

446 bytes añadidos, 12:14 14 jun 2014
sin resumen de edición
local description = ''
if args.showname == '1' or multirow and args.showname ~= '0' then
name = 'Name Nombre !! '
f:callParserFunction( '#dplvar:set', 'craftingname', '1' )
end
header = table.concat( {
' {| class="wikitable ' .. class .. '"',
'! ' .. name .. 'Ingredients Ingredientes !! ' .. recipeClass .. ' Receta de [[CraftingFabricación]] recipe' .. description,
'|-'
}, '\n' )
end
nameCell = table.concat( links, '&nbsp;oro<br>' )
end
end
separator = ''
elseif animatedIngredients[v] and not animatedIngredients[v].final then
separator = '&nbsp;oro'
end
local mod = ( ingredients[v] or animatedIngredients[v] ).mod
if args.upcoming then
table.insert( categories, '[[Category:UpcomingProximamente]]' )
end
if args.type then
table.insert( categories, '[[Category:' .. args.type .. ' recipe]]' )
end
if args.ignoreusage ~= '1' then
v = v:sub( 2 )
if not v:find( ':' ) then
if v == 'Any DyeTintes' then for _, dye tinte in ipairs( { 'Orange DyeTinte Naranja', 'Tinte Magenta Dye', 'Light Blue DyeTinte Azul Claro', 'Dandelion YellowTinte Amarillo', 'Lime DyeTinte Verde Lima', 'Pink DyeTinte Rosa', 'Gray DyeTinte Gris', 'Light Gray DyeTinte Gris Claro', 'Cyan DyeTinte Cian', 'Purple DyeTinte Morado', 'Lapis LazuliLapislázuli', 'Cocoa BeansSemillas de Cacao', 'Cactus GreenTinte Verde', 'Rose RedTinte Rojo', 'Ink SacSaco de Tinta'
} ) do
table.insert( categories, '[[CategoryCategoría:Recipe using Recetas que usan ' .. dye tinte .. ']]' )
end
else
if v == 'Sticky PistonPistón Adhesivo' then v = 'PistonPistón' elseif v == 'Red MushroomChampiñón Rojo' or v == 'Brown MushroomChampiñón Marrón' then v = 'MushroomChampiñón' elseif v == 'Red SandArena Rojiza' then v = 'SandArena' elseif v == 'CharcoalCarbón Vegetal' then v = 'CoalCarbón' elseif v:find( ' WoodTronco de Madera$' ) then v = 'WoodMadera' elseif v:find( ' Wood PlanksTablas de Madera$' ) then v = 'Wood PlanksTablas de Madera' elseif v:find( ' Materiales$' ) then v = 'Materiales para Herramientas' elseif v:find( ' Stained GlassCristal Tintado$' ) then v = 'Stained GlassCristal Tintado' elseif v:find( ' Stained Glass PanePanel de Cristal Tintado$' ) then v = 'Stained Glass PanePanel de Cristal Tintado' elseif v:find( ' WoolLana$' ) then v = 'WoolLana' elseif v:find( ' SandstoneArenisca$' ) then v = 'SandstoneArenisca' elseif v:find( ' StairsEscaleras de Madera$' ) then v = 'StairsEscaleras' elseif v:find( ' SlabLosa de Madera$' ) then v = 'SlabLosas' elseif v:find( ' Pressure PlatePlaca de Presión$' ) then v = 'Pressure PlatePlaca de Presión' elseif v:find( ' TulipTulipán$' ) then v = 'TulipTulipán' elseif v:find( ' Firework StarEstrella de Fuegos Artificiales$' ) then v = 'Firework StarEstrella de Fuegos Artificiales' elseif v:find( ' Stone BricksLadrillos de Piedra$' ) then v = 'Stone BricksLadrillos de Piedra' elseif v:find( ' Quartz BlockBloques de Cuarzo$' ) then v = 'Block of QuartzBloque de Cuarzo' elseif v:find( ' AndesiteAndesita$' ) then v = 'Andesite' elseif v:find( ' DioriteDiorita$' ) then v = 'Diorite' elseif v:find( ' GraniteGranito$' ) then v = 'Granite'
end
table.insert( categories, '[[CategoryCategoría:Recipe using Recetas que usan ' .. v .. ']]' )
end
end
2712
ediciones

Menú de navegación