A Templates Overview outlines the entire template process.
Microsoft Word allows you to create conditions that control which text to display when a specified condition is met. Conditions can be applied to merge fields within a template.
Video Overview
This short video, Conditional Formatting Example, walks through how to build a condition.
If your conditions are not displaying or you see Error, Missing Test Condition, press Alt + F9 at the same time. Pressing this combination toggles condition view on and off.
Conditions
= equals
<> does not equal
< less than
> greater than
Basic Structure
A basic condition is structured like the following:
When this condition is true, display this text. Otherwise display this text.
- "" is equal to nothing.
Examples
- In the example above, if tribute name is not equal to BLANK, then display This gift was given {{tribute_name}}, and if BLANK display nothing which is indicated by the last "".
- In the example above, if org contact label is equal to blank, then display nothing; and if not blank, then display org contact label on the next line because there is a carriage break (where the arrow is).
- In the fund statement example above, if donations total is greater than 0, then display this donations detail table; otherwise, display No donations for the statement period.