Content deleted Content added
No edit summary |
HouseBlaster (talk | contribs) more accessible and simple markup |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 24:
return ret
end
-- Turns an array of CIDR ranges into its string representation.
local function stringifyRanges(ranges, bitLength, separator)
Line 45:
local rangeSeparator = options.rangeseparator or ', '
local showNotes = yesno(options.notes)
-- Get the entity data
Line 55 ⟶ 54:
-- Make the table root
local root = mw.html.create('table')
root:addClass('sensitive-ip-addresses')
if options.class then
root:addClass(options.class)
Line 64:
-- Add main header
if options.mainheader then
root:tag('
▲ end
-- Add column headers
|