Changes

m
no edit summary
Line 65: Line 65:  
!S]=],
 
!S]=],
   −
     _row_start = [=[
+
     _row_start = [=[| style="text-align:left;" rowspan="${rowspan}" id="${id}" | ${link}
| style="text-align:left;" rowspan="${rowspan}" id="${id}" | ${link}]=],
+
]=],
   −
     _row = [=[|-${row_start}
+
     _row = [=[|-
| 0
+
${row_start}| 0
 
| nowrap | ${devmats0}/${devmats0_x}
 
| nowrap | ${devmats0}/${devmats0_x}
 
| nowrap | ${impmats0}/${impmats0_x}
 
| nowrap | ${impmats0}/${impmats0_x}
Line 304: Line 304:  
local getArgs = require("Module:GetArgs")
 
local getArgs = require("Module:GetArgs")
   −
function ImprovementTable.Main(frame)
+
function ImprovementTable.Main(frame, args)
     local args = getArgs{frame = frame:getParent()}
+
     args = args or getArgs{frame = frame:getParent()}
 
     return ImprovementTable:Table(args)
 
     return ImprovementTable:Table(args)
end
+
end
 +
 
 +
--[[
 +
ImprovementTable.test1 = ImprovementTable.Main(nil, {
 +
    "12.7cm Twin Gun Mount",
 +
    "12.7cm Twin Gun Mount Model B Kai 2",
 +
})
 +
--print(p.test1)
 +
]]--
    
return ImprovementTable
 
return ImprovementTable
cssedit, gkautomate
7,064

edits