def sort_summoner_name(name, name2, name3):
    """Adds spacebar formatting for names
    """
    if name2 == "":
        return name
    else:
        concat_name = name + "%20" + name2
        if name3 != "":
            concat_name += "%20" + name3
        return concat_name