Updated with several examples including an option that supports {if}
{in} and {each}.  Not fully functional/tested.