Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 358:
end
return mw.dumpObject(actual_values)
-- if should_hide and #actual_values > 0 then
-- return self
-- end
-- local _row = self.infobox:tag('tr')
-- for i,v in ipairs(argt) do
-- local _cell = _row:tag(tagmap[v.tag] or 'td')
-- :attr('colspan', 30 / #argt)
-- if v.attr then
-- _cell:attr(v.attr)
-- end
-- if v.colspan then
-- _cell:attr('colspan', v.colspan)
-- end
-- if v.rowspan then
-- _cell:attr('rowspan', v.rowspan)
-- end
-- if v.css then
-- _cell:css(v.css)
-- end
-- if v.tag == 'th' or v.tag == 'td' then
-- _cell:wikitext(v.content)
-- elseif v.tag == 'argth' or v.tag == 'argtd' then
-- _cell:wikitext(self:getContent(v.content))
-- end
-- end
-- return self
end
 
439

edits