• 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
no edit summary
Line 325: Line 325:  
end
 
end
 
--Prinz/Graf/Teste check (for ship names that are 2 or more words)
 
--Prinz/Graf/Teste check (for ship names that are 2 or more words)
if mw.text.split(shipname, '%s')[2] ~= nil and mw.text.split(shipname, '%s')[2] ~= "Kai" then
+
if mw.text.split(shipname, '%s')[2] ~= nil and not (mw.text.split(shipname, '%s')[2] == "Kai" or
shipbasename = shipbasename .. mw.text.split(shipname, '%s')[2]
+
mw.text.split(shipname, '%s')[2] == "A" or mw.text.split(shipname, '%s')[2] == "zwei" or
 +
mw.text.split(shipname, '%s')[2] == "drei" or mw.text.split(shipname, '%s')[2] == "Due") then
 +
shipbasename = shipbasename .. ' ' .. mw.text.split(shipname, '%s')[2]
 
end
 
end
 
pagename = shipbasename
 
pagename = shipbasename
5,421

edits

Navigation menu