def get_filter_cardborder(*cardborder_type):
    """Returns game cards URL filter for a given cardborder
    type (TAG_CARDBORDER_NORMAL / TAG_CARDBORDER_FOIL).

    To be used in URL_GAMECARDS.

    :param str|unicode cardborder_type:
    :rtype: str|unicode
    """
    filter_ = []

    for type_ in cardborder_type:
        if not type_:
            continue
        filter_.append('category_' + APPID_CARDS + '_cardborder[]=tag_' + type_)

    return '&'.join(filter_)