Diferencia entre revisiones de «Módulo:Brewing»
Sin resumen de edición |
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 = '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 .. '"', | ||
'! ' .. | '! ' .. 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 | 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>( | 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 = '[[Categoría:Próximamente]]' | ||
end | end | ||