Unless you want something specific, it sounds like you just need a basic template placed in the templates container. If so, all you need is something like:
<p>Page numbers: ^value(Pages)^</p>
- The ^value(attribute name)^ places the attribute value.
- I’ve included a heading in front of each value to identify it.
<p></p> puts each attribute value on it’s own line.
- The ^text^ inserts your notes.
If you assign this template to your prototype, then it will inherit down. Then you can export the notes you want or simply copy/paste from Preview in the Text Pane.
If you want specific formatting you can use HTML tags in the template to do this. In my current project file, I have the following template assigned to notes for book chapters to create a roughly formatted bibliographic entry followed by my notes:
edited by ^value(Editors)^.