Specify a custom post template for a collection

Looking through the docs, it’s unclear what is possible in terms of specifying a post template for a collection.

The template property in routes.yml applies to the list page. But it’s not apparent how one specifies the post template.

Is this possible, or is the recommended procedure to add a custom template and specify it when publishing?