• 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 5: Line 5:     
local NanaminFleet = {
 
local NanaminFleet = {
     _template = [[
+
     _template = [[{| class="wikitable"
 
     | style="background: lightskyblue;" |Ship
 
     | style="background: lightskyblue;" |Ship
 
     | style="background: lightskyblue;" |Equipment
 
     | style="background: lightskyblue;" |Equipment
Line 31: Line 31:  
     ]]
 
     ]]
 
}
 
}
 +
 +
function NanaminFleet:Table(args)
 +
    return self{
 +
        _args = args
 +
    }:create_table()
 +
end
    
function NanaminFleet:ship_card(ship)
 
function NanaminFleet:ship_card(ship)
Line 67: Line 73:  
end
 
end
   −
function NanaminFleet:Infobox(args)
+
function NanaminFleet:create_table(args)
 
     local ships = {}
 
     local ships = {}
 
     local vars = {}
 
     local vars = {}
Line 83: Line 89:  
     end
 
     end
    +
    mw.log(format(self._template, vars))
 
     return format(self._template, vars)
 
     return format(self._template, vars)
 
end
 
end
    
return NanaminFleet
 
return NanaminFleet
48

edits

Navigation menu