1136
правок
Изменения
м
elseif head ~= '' then
ingredientsCell local mod = ( ingredients[v] or animatedIngredients[v] ).mod local name = ( ingredients[v] or animatedIngredients[v] ).name table.concatinsert( ingredientsCell, '<br>\n' prefixedLink( name, mod ) .. separator )
Нет описания правки
if multirow then
head = ''
multirow = 1
f:callParserFunction( '#dplvar:set', 'multirow', '1' )
else
ingredientsCell = {}
for k, v in ipairs{ ( ingredientKeys } ) do
local separator = ' +'
if k == 2 and next( ingredients ) #ingredientKeys then separator = ' +<br>\n' elseif animatedIngredients[v] and not animatedIngredients[v].final then separator = ' или' end local mod = ( ingredients[v] or animatedIngredients[v] ).mod local name = ( ingredients[v] or animatedIngredients[v] ).name table.insert( ingredientsCell, prefixedLink( name, mod ) .. separator )
end
end
ingredientsCell = table.concat( ingredientsCell, '<br>\n' )
end
-- Остальные аргументы