Module:Sensitive IP addresses/summary: Difference between revisions

Content deleted Content added
add a class to the table
more accessible and simple markup
 
Line 45:
local rangeSeparator = options.rangeseparator or ', '
local showNotes = yesno(options.notes)
local nColumns = showNotes and 3 or 4
 
-- Get the entity data
Line 65 ⟶ 64:
-- Add main header
if options.mainheader then
root:tag('trcaption'):tagwikitext('td'options.mainheader)
:attr('colspan', nColumns)
:cssText(options.cellstyle)
:wikitext(options.mainheader)
end