• 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
m
ru lang html
Line 51: Line 51:  
form = mw.ustring.sub(shipmodule.data[shipNum]["name"][1], formNum , -1)
 
form = mw.ustring.sub(shipmodule.data[shipNum]["name"][1], formNum , -1)
 
end
 
end
local JaName = frame:expandTemplate{ title = 'ruby-ja', args = { kanji , shipmodule.data[shipNum]["name"][2] } } .. form
+
 +
local JaName = ""
 +
if shipNum == 147 or shipNum == 311 or shipNum == 312 or shipNum == 316  then --Russian ship (Verniy and Gangut) markup
 +
JaName = '<ruby lang="ru" xml:lang="ru"><rb>' .. kanji .. '</rb><rp> (</rp><rt>' .. shipmodule.data[shipNum]["name"][2] .. '</rt><rp>) </rp></ruby>' .. frame:expandTemplate{ title = 'lang', args = { ru , form } }
 +
else
 +
JaName = frame:expandTemplate{ title = 'ruby-ja', args = { kanji , shipmodule.data[shipNum]["name"][2] } } .. form
 +
end
    
     local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. shipmodule.data[shipNum]["name"][3] .. '</th></tr>'
 
     local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. shipmodule.data[shipNum]["name"][3] .. '</th></tr>'
5,421

edits

Navigation menu