function output = displayOtherNamesList(topic, list, emptyListID, shouldHotlink, command)
    narginchk(3,5);

    if nargin < 4
        shouldHotlink = matlab.internal.display.isHot;
    end
    
    if nargin < 5
        command = 'help'; 
    end
        
    if ~isempty(list) 
        text = matlab.internal.language.introspective.overloads.formatOverloads(list);
        if shouldHotlink
            text = regexprep(text,'(\S*)',['${helpUtils.createMatlabLink(''', command, ''',$0,$0)}']);
        end
    else
        text = ['    ', getString(message(emptyListID, topic))];
    end
    
    if nargout > 0
        output = text;
    else
        disp(text);
    end
end
