When you generate a Slides document, some variables may not have a value for every project. This can leave behind labels, empty lines, or table rows that no longer make sense.
Modifiers allow you to control what happens to these elements when the information associated with a variable is missing.
Slides support three modifiers:
Modifier | What it does |
| Hides static text associated with an empty variable |
| Adds a line break only when the following variable has a value |
| Removes an entire table row when a variable has no value |
⚠️These modifiers are specific to Slides templates. Do not use them in HTML templates.
1. Hide static text with && ... &&
Use && ... && when a variable is accompanied by static text that should only appear when the variable has a value.
For example, imagine your template contains:
Day 6: $$days.6.title$$
If the project only has five days, $$days.6.title$$ has no value. However, the static text “Day 6:” could remain visible.
To prevent this, place the complete content inside &&:
&&Day 6: $$days.6.title$$&&
If Day 6 exists, the generated document displays, for example:
Day 6: Departure
If Day 6 does not exist, the content between && is hidden. So if this is the only variable in the slide, like in the example, the slide won't generate.
⚠️ All content inside && ... && must use the same font, font size, and font color as the variable for the modifier to work correctly.
💡 Use && ... && for labels, prefixes, punctuation, or other fixed wording that only makes sense when the associated variable contains information.
2. Avoid unnecessary line breaks with @@
Use @@ when you want a new line to appear only if the following variable contains information.
Place @@ immediately before the variable.
For example:
@@$$steps.1.description$$
⚠️ The @@ must use the same font, font size, and font color as the variable which we want it to work on
If $$steps.1.description$$ has a value, Ezus adds the line break and displays the description.
If the variable has no value, the unnecessary line break is not added.
This is useful when several optional pieces of information are displayed in the same text area and you want to avoid empty lines in the generated document.
💡 Use @@ when optional information appears on separate lines, such as descriptions or additional details that may not be completed for every project.
3. Remove an empty table row with #--#
Use #--# when a variable is placed inside a table and you want the entire row to disappear if that variable has no value.
Place #--# before the variable that determines whether the row should be displayed.
For example:
#--#$$days.6.title$$
If $$days.6.title$$ has a value, the row remains in the generated document.
If the variable has no value, Ezus removes the entire table row.
This prevents tables from containing empty rows when optional information is not available.
💡Use #--# when the entire row depends on one piece of information. Choose the variable that best determines whether that row should exist.
4. Which modifier should I use?
Choose the modifier according to the element you want to control:
If you want to... | Use |
Hide a label or other static text when its variable is empty |
|
Avoid an unnecessary line break when optional information is empty |
|
Remove an entire table row when information is empty |
|
5. Test your modifiers
After adding a modifier, generate the document to check its behavior.
For the most reliable test, use:
A project where the variable has a value.
A project where the same variable has no value.
Check that the content appears correctly when information exists and disappears cleanly when it does not.
⚠️ Testing only with a project where all fields are completed does not confirm that a modifier is working correctly. You also need to test what happens when the relevant information is missing.
💡 If a modifier does not behave as expected, first check whether the associated variable actually has a value in the project. For && ... && and @@, also check that the content and variable use the same formatting.







