Module:Items/ComparisonTables: Difference between revisions

m
no edit summary
(getTableForList: Revise method of obtaining args from template)
mNo edit summary
Line 355: Line 355:


function p.getTableForList(frame)
function p.getTableForList(frame)
local pFrame = frame.getParent()
local pFrame = frame:getParent()
local frameArgs = pFrame.args ~= nil and pFrame.args or frame
local frameArgs = pFrame.args ~= nil and pFrame.args or frame
local includeModifiers = frame.includeModifiers ~= nil and string.upper(frame.includeModifiers) == 'TRUE' or false
local includeModifiers = frame.includeModifiers ~= nil and string.upper(frame.includeModifiers) == 'TRUE' or false