---- This module implements --
local p =
local navbar = require('Module:Sandbox/Matt Fitzpatrick/Navbar')._navbarlocal getArgs -- lazily initialized
local argslocal tableRowAdded = falselocal borderlocal listnums =
local function trim(s) return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1"))end
local function addNewline(s) if s:match('^[*:;#]') or s:match('^