Module:Storm categories: Difference between revisions

Content deleted Content added
nil checks
parent frame args
Line 375:
 
function p.color(frame)
return p._color(frame.args[1] or frame:getParent().args[1])
end
 
function p.name(frame)
return p._name(frame.args[1], frame.args[2])
frame:getParent().args[1] or frame:getParent().args[1],
frame:getParent().args[2] or frame:getParent().args[2]
)
end
 
function p.sortkey(frame)
return p._sortkey(frame:getParent().args[1] or frame:getParent().args[1])
end