Lists of Items
Lists are useful for collecting information, storing it, and then calling on it if you need to present that information. For example, you could create a list and store the children of a client in the list: Tom, Joe, and Sally. Then you can filter the list by age, gender, etc., and show the list by that filter.
To learn how to create a list, view the Lists lesson.
Here are some examples with formatting:
Bulleted Lists
In some instances, you may need to add a simple bullet list to keep your documents organized.
{[list Children]}
- My {[Relationship]} {[FullName]}
{[endlist]}
Lists in a Sentence
Lists in a sentence are useful when presenting information in a certain way. Here are a few different ways to formulate sentence lists:
My children {[list Children|punc: “1, 2 and 3”]}{[Relationship]} {[FullName]}{[endlist]} My children {[list Children|punc: “1, 2, and 3”]}{[Relationship]} {[FullName]}{[endlist]} My children {[list Children|punc: “1, 2”]}{[Relationship]} {[FullName]}{[endlist]} My children {[list Children|punc: “1 and 2”]}{[Relationship]} {[FullName]}{[endlist]}
Lists in a Sentence with Additional Formatting
In some cases, you may want to present a list in a sentence like this: (1) Tom, (2) Joe, and (3) Sally. You use an index to do this.
{[list Children |punc:"1, 2, and 3"]}({[_index]}) {[Name]}{[endlist]}
Specific Items
You can present one item from a list as well. Instead of listing Tom, Joe, and Sally, perhaps you only want Tom.
{[Children[0].Name]}