• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Quick fix that removes '/' from asset names. Prevents needing to make file redirects for every applicable equip.
Line 94: Line 94:  
end
 
end
 
local function getAsset(name, size)
 
local function getAsset(name, size)
return string.format("[[File:%s %s.png|%s|link=%s]]", assetType[types[name]] or '??', name, assetSize[size or types[name]] or '??', name)
+
local fname = name:gsub('/', ' ')
 +
return string.format("[[File:%s %s.png|%s|link=%s]]", assetType[types[name]] or '??', fname, assetSize[size or types[name]] or '??', name)
 
end
 
end
 
setData('Hard')
 
setData('Hard')
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,398

edits

Navigation menu