1136
правок
Изменения
м
elseelseif mod == '' or vanilla[mw.ustring.lower(mod)] then parts.mod = nil
if parts.mod == '' or vanilla[mw.ustring.lower(parts.mod)] then
parts.mod = nil
else
end
Тест
if mod then
link = mod .. '/' .. name
link = nil
end
local vanilla = {v = 1, vanilla = 1, mc = 1, minecraft = 1}
if p.modAliases[parts.mod] then
parts.mod = p.modAliases[parts.mod]
end
parts.mod = mw.ustring.gsub(parts.mod,'_',' ')
local _, nameStartV = mw.ustring.find( frame, '^%[[^%]]*%]' )
local nameStart = ( ({mw.ustring.find( frame, modPattern )})[2] or nameStartV or 0 ) + 1