• 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 51: Line 51:  
if(idsList) then
 
if(idsList) then
 
for j, qid in ipairs(idsList) do
 
for j, qid in ipairs(idsList) do
if(q.label == qid) then
+
for k, label in ipairs(mw.text.split(q.label,',')) do
proceed = true
+
if(label == qid) then
table.remove(idsList, j)
+
proceed = true
break
+
table.remove(idsList, j)
 +
break
 +
end
 
end
 
end
 +
if proceed then break end
 
end
 
end
 
end
 
end
Line 72: Line 75:  
table.insert(result, frame:expandTemplate{title='ProtoQuests', args={
 
table.insert(result, frame:expandTemplate{title='ProtoQuests', args={
 
type = q.type or mapLetterType[q.label:sub(1,1)],
 
type = q.type or mapLetterType[q.label:sub(1,1)],
listnum = q.label,
+
listnum = q.label:gsub(',','<br>'),
 
reqQuest = reqQuests[1],
 
reqQuest = reqQuests[1],
 
reqQuest2 = reqQuests[2],
 
reqQuest2 = reqQuests[2],
6,015

edits

Navigation menu