1. Make the delimiter any character chosen by the user (or if it needs be a fixed one, not something we use in sentences, like the comma it is now). TMG uses "|" as a fixed delimiter; that could work.
2. I expect this feature (when people start using it) to become really popular. So, why not make it easy for the user and parameterize the {role} code with the TextPart parameters. Something like {role[1]} and {role[2,3]} would be nice.
As a small extra: it is (in general) I think a good idea to be able to enter some lines of documentation/explanation of what to enter at a fact. This can then show up when entering the fact as a reminder on how or what.
Examples of usage:
- in Birth: [1] time of birth, [2] end of sentence text
- in Death: [1] time of death, [2] end of sentence text
- in Marriage: [1] religion, [2] relation of witnesses to groom and bride, [3] end of sentence text
- in Baptism (or Christening): [1] religion, [2] relation of witnesses to child, [3] end of sentence text