View source for Module:Data tables
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
local _commonCells = require("Module:Data tables/common cells").commonCells
local podTable = require('Module:Data tables/pods').podTable
local engineTable = require('Module:Data tables/engines').engineTable
-- commonHeaders are used by all parts tables so they're called from here for
-- cleaner code per category/family table
function p._commonHeaders()
return "{| class=\"wikitable sortable\" style=\"text-align: center\"\n" ..
"!Image\n" ..
"!Name\n" ..
"!Size\n" ..
"!Mass (t)\n" ..
"!Max Temperature (K)\n" ..
"!Impact Tolerance (m/s)\n"
end
-- Accepts <category> and <family> parameters to build the relevant part table
function p.buildPartsTable(frame)
local args = getArgs(frame)
local category = args[1]
000
1:0
Template used on this page:
Return to Module:Data tables.