def data_for_template(number, username, reply_count, msg_time, msg_pretext, msg_text, file_permalink, file_name, is_msg_parent):
    """
    Prepare the dictionary of substitution values for jinja template
    :param number
    :param username:
    :param reply_count:
    :param msg_time:
    :param msg_pretext:
    :param msg_text:
    :param file_permalink:
    :param file_name:
    :param is_msg_parent:
    :return: data
    """
    data = {
        "number": number,
        "username": username,
        "reply_count": reply_count,
        "msg_time": msg_time,
        "msg_pretext": msg_pretext,
        "msg_text": msg_text,
        "file_permalink": file_permalink,
        "file_name": file_name,
        "is_msg_parent": is_msg_parent
    }
    return data