Module:Data tables/common: Difference between revisions
Jump to navigation
Jump to search
give common cells their own page |
(No difference)
|
Revision as of 05:51, 1 February 2025
Documentation for this module may be created at Module:Data tables/common/doc
local p = {}
function p.commonCells(partJson)
local commonCells = "|-\n" ..
"|".."[[File:"..partJson["file"].."|80px|center]]\n" ..
"|".."[["..partJson["name"].."]]\n" ..
"|".."{{Size|Size="..partJson["size"].."}}\n" ..
"|"..partJson["mass"].."\n" ..
"|"..partJson["max_temp"].."\n" ..
"|"..partJson["imp_tol"].."\n"
return commonCells
end
return p