Content deleted Content added
now odd_even, which I don't see a trivial way of shuffling that off to config |
rm noisy comments |
||
Line 1:
local p = {}
local navbar = require('Module:Navbar')._navbar
Line 75 ⟶ 71:
local function renderNavBar(titleCell)
if args[cfg.arg.navbar] ~= cfg.keyword.navbar_off and args[cfg.arg.navbar] ~= cfg.keyword.navbar_plain and not
(not args[cfg.arg.name] and mw.getCurrentFrame():getParent():getTitle():gsub(cfg.pattern.sandbox, '') == cfg.pattern.navbox) then
Line 87 ⟶ 82:
end
local function renderTitleRow(tbl)
if not args[cfg.arg.title] then return end
Line 137 ⟶ 129:
:wikitext(processItem(args[cfg.arg.title]))
end
local function getAboveBelowColspan()
Line 179 ⟶ 167:
end
local function renderListRow(tbl, index, listnum, listnums_size)
local row = tbl:tag('tr')
Line 282 ⟶ 267:
end
end
local function needsHorizontalLists(border)
Line 350 ⟶ 330:
end
local function renderMainTable(border, listnums)
local tbl = mw.html.create('table')
|