Use action=expandtemplates instead. Expand templates in revision content (requires $1prop=content).
Link to this page:
https://wiki.pastlives.space/MediaWiki:Apihelp-query%2Brevisions%2Bbase-param-expandtemplates