Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:KanmusuModule
(view source)
Revision as of 21:52, 11 March 2017
200 bytes added
,
7 years ago
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
IbarakiIbuki
5,421
edits