View source for Module:Infobox parts
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local getArgs = require('Module:Arguments').getArgs
function p._buildInfobox(frame)
-- load the full parts list to iterate per given category and family
--json = mw.loadJsonData("Data:Collections/parts")
-- each applicable part's data is appended to the table cells
--for k, v in pairs(json[category][family]) do
-- local partJson = mw.loadJsonData("Data:"..k)
-- local tempCell = p._commonCells(partJson)
-- cells = tempCell..cells
--end
-- append the cells to the headers and cap off the table wiki text
--local tempTable = header..cells.."|}"
return frame:getTitle()
end
return p
000
1:0
Template used on this page:
Return to Module:Infobox parts.