• 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
no edit summary
Line 18: Line 18:  
             local title = string.format('Teaser-%s-%s-%s-%s.png', year, _.pad(month, 2, '0'), _.pad(day, 2, '0'), label)
 
             local title = string.format('Teaser-%s-%s-%s-%s.png', year, _.pad(month, 2, '0'), _.pad(day, 2, '0'), label)
 
             if mw.title.makeTitle('File', title).exists then
 
             if mw.title.makeTitle('File', title).exists then
                 table.insert(teasers, title)
+
                 table.insert(teasers, string.format('[[File:%s]]', title))
                mw.log(title)
   
             else
 
             else
 
                 break
 
                 break
Line 25: Line 24:  
         end
 
         end
 
     end
 
     end
 +
    return table.concat(teasers, '<br>')
 
end
 
end
    
return { render = render }
 
return { render = render }
cssedit, gkautomate
7,064

edits

Navigation menu