Content deleted Content added
remove listnums from globals |
move markers inline |
||
Line 4:
local p = {}
local navbar = require('Module:Navbar')._navbar
local getArgs -- lazily initialized
local args
local function striped(wikitext, border)
Line 51 ⟶ 46:
end
local regex = orphanCat:gsub('([%[%]])', '%%%1')
return (wikitext:gsub(regex, ''):gsub(
end
Line 246 ⟶ 241:
local listText = args['list' .. listnum]
local oddEven =
if listText:sub(1, 12) == '</div><table' then
-- Assume list text is for a subgroup navbox so no automatic striping for this row.
oddEven = listText:find('<th[^>]*"navbox%-title"') and
end
listCell
|