Module:Sensitive IP addresses/summary: Difference between revisions

Content deleted Content added
don't use yesno with the mainheader option
use a more specific name than "separator"
Line 10:
-- Set up options
options = options or {}
local separatorrangeSeparator = options.separatorrangeseparator or ', '
local showNotes = yesno(options.notes)
local nColumns = showNotes and 3 or 4
Line 59:
:tag('td')
:wikitext(entityData.ipv4Ranges
and table.concat(entityData.ipv4Ranges, separatorrangeSeparator)
or nil
)
Line 65:
:tag('td')
:wikitext(entityData.ipv6Ranges
and table.concat(entityData.ipv6Ranges, separatorrangeSeparator)
or nil
)