Diferencia entre revisiones de «Módulo:Brewing»

Xstela (discusión | contribs.)
Sin resumen de edición
Leynaf (discusión | contribs.)
Sin resumen de edición
 
(No se muestran 4 ediciones intermedias de 2 usuarios)
Línea 42: Línea 42:
local description = ''
local description = ''
                 if args.showname == '1' or multirow and args.showname ~= '0' then
                 if args.showname == '1' or multirow and args.showname ~= '0' then
name = 'Name !! '
name = 'Nombre !! '
f:callParserFunction( '#dplvar:set', 'brewingname', '1' )
f:callParserFunction( '#dplvar:set', 'brewingname', '1' )
end
end
Línea 57: Línea 57:
header = table.concat( {
header = table.concat( {
'{| class="wikitable ' .. class .. '"',
'{| class="wikitable ' .. class .. '"',
'! ' .. Nombre .. 'Ingredientes !! ' .. recipeClass .. ' [[Brewing]] receta' .. description,
'! ' .. name .. 'Ingredientes !! ' .. recipeClass .. ' Receta de [[Alquimia]]' .. description,
'|-'
'|-'
}, '\n' )
}, '\n' )
Línea 66: Línea 66:
     local base = args.base or ''
     local base = args.base or ''
if base == '' then
if base == '' then
base = 'Poción Rara'
base = 'Poción rara'
end
end
Línea 97: Línea 97:
if nameCell and args.upcoming == '1' then
if nameCell and args.upcoming == '1' then
nameCell = nameCell .. '<br>(upcoming)'
nameCell = nameCell .. '<br>(próximamente)'
end
end


Línea 184: Línea 184:
local category = ''
local category = ''
if mw.title.getCurrentTitle().namespace == 0 and args.nocat ~= '1' and args.upcoming == '1' then
if mw.title.getCurrentTitle().namespace == 0 and args.nocat ~= '1' and args.upcoming == '1' then
category = '[[Category:Upcoming]]'
category = '[[Categoría:Próximamente]]'
end
end