def update_template(template, pardict):
    """Makes variable substitution in a template.

    Args:
        template (str): Template with old style Python format strings.
        pardict (dict): Dictionary of parameters to substitute.

    Returns:
        str: String with substituted content.
    """
    return template % pardict