I wanted to do this in such a way that template authors could have access to the contents of the creature's attacks within the creature's field, to make it easier for integration with fantasy statblocks. That's why this commit chain is so long - there's a lot of set up for adding a concept of a 'self-renderable' template - eg a Qute object with a render() method that handles it's own rendering. I toyed with a few different ways of doing this and am open if you've got a better alternative for how to accomplish this.
The other thing I've tried to do is let template authors choose whether or not the inline representation should be wrapped in an admonishment.
I wanted to do this in such a way that template authors could have access to the contents of the creature's attacks within the creature's field, to make it easier for integration with fantasy statblocks. That's why this commit chain is so long - there's a lot of set up for adding a concept of a 'self-renderable' template - eg a Qute object with a render() method that handles it's own rendering. I toyed with a few different ways of doing this and am open if you've got a better alternative for how to accomplish this.
The other thing I've tried to do is let template authors choose whether or not the inline representation should be wrapped in an admonishment.