Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions
no edit summary
(rename variables) |
No edit summary |
||
Line 348:
-- @return self
-- The current object
function InfoboxBuilder:addRow(should_hide, cols, options)
if options then
local actual_values = {}▼
if options.hideIfEmpty and #options.hideIfEmpty > 0 then
end
end▼
▲ if should_hide and #actual_values == 0 then
end
▲ return self
local _row = self.infobox:tag('tr')
|