rthompson - Thanks for posting your question on the forum!
The guide below goes over the syntax of creating a template and has an example template on the last page:
You may also find the following thread helpful: Re: Optional/multiple elements in AOS Config Templates
Let us know if you have any questions.
I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post and unmark it, and select another in its place, with the applicable buttons.