def query_parse_page(pagetitle: int, to_parse: list) -> dict:
    """query to parse a wiki page by page title.
    options for what to parse can be found here:
    https://www.mediawiki.org/wiki/API:Parsing_wikitext"""

    query = {
        "format": "json",
        "action": "parse",
        "page": "{}".format(pagetitle),
        "prop": "{}".format("|".join(to_parse)),
    }
    return query