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 01:57, 4 May 2017
588 bytes added
,
7 years ago
gangut addition
Line 36:
Line 36:
kanji = mw.ustring.sub(shipmodule.data[shipNum]["name"][1], 1, formNum - 1)
kanji = mw.ustring.sub(shipmodule.data[shipNum]["name"][1], 1, formNum - 1)
form = " due"
form = " due"
+
elseif mw.ustring.find(shipmodule.data[shipNum]["name"][1], "%sдва") ~= nil then
+
formNum = mw.ustring.find(shipmodule.data[shipNum]["name"][1], "%sдва")
+
kanji = mw.ustring.sub(shipmodule.data[shipNum]["name"][1], 1, formNum - 1)
+
form = " два"
+
elseif mw.ustring.find(shipmodule.data[shipNum]["name"][1], "%sреволюция") ~= nil then -- Gangut "Kai" exception
+
formNum = mw.ustring.find(shipmodule.data[shipNum]["name"][1], "%sреволюция")
+
kanji = mw.ustring.sub(shipmodule.data[shipNum]["name"][1], 1, formNum - 1)
+
form = " революция"
else
else
kanji = shipmodule.data[shipNum]["name"][1]
kanji = shipmodule.data[shipNum]["name"][1]
IbarakiIbuki
5,421
edits