Changes
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
 
    
    
    
        if v == '' then            -- ParserFunctions considers the empty string to be false, so to preserve the previous             -- behavior of {{navbox}}, change any empty arguments to nil, so Lua will consider            -- them false too.            args[k] = nil        else            local listnum = ('' .. k):match('^list(%d+)$')                    if listnum then table.insert(listnums, tonumber(listnum)) end        end
 
 
		
		
		
		
		
		
		
	
correct fix for empty args
    return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1"))
end
function addTableRow(tbl)
    -- If any other rows have already been added, then we add a 2px gutter row.
--
function renderTrackingCategories(builder)
    local frame = mw.getCurrentFrame()
    if not frame then return end
    for k, v in pairs(args) do
    end
    table.sort(listnums)
end
function p.navbox(frmframe)    frame -- ParserFunctions considers the empty string to be false, so to preserve the previous     -- behavior of {{navbox}}, change any empty arguments to nil, so Lua will consider    -- them false too.    local args = frm{}    return p._navboxfor k, v in pairs(frame:getParent().args) do        if v ~= '' then            args[k] = v        end    end    return p._navbox(args)
end
return p