Using the Section macro

The section macro lets you create optional sections in your template that you can manually activate or deactivate by clicking on a checkbox.

To insert a section

  1. In the template editor, right-click and choose Flow → Section
  2. PhraseExpander will show the Insert section dialog
  3. Type or paste the text in the Text or expression to include in the section field (you can right-click in the field to insert macros as well)
  4. Click OK to confirm

You can set a value to the Label to show and to 💬Additional instructions to display a title and a custom text in the Input form

💡TIP: If you want to display the section as collapsed, make sure the option Start as hidden is checked

Editing the contents of a section

  1. Double-click on the {#section#} tag to open the section editing macro, make the changes, and click OK to confirm.

    Double-click on the seciton macro to edit

    or

  2. Modify the contents of the template contained between the {#section#} and {#endsection#} tags directly

NOTE: If you are using formatting inside a section, you need to do the editing manually (without opening the editing dialog) by changing the text between the {#section#} and {#endsection#} tags, or the formatting will be lost.

Creating multiple sections

If you need to create multiple sections, you can arrange them one after the other (each {#section#} tag going on a new line).

If you want to add a new line to separate each section, make sure you add it at the end of each section (and not between them).

Doing this will ensure proper spacing (without generating extra spaces for collapsed sections).

Avoid adding new lines between sections to prevent ghost lines from displaying when sections are collapsed

💡TIP: You can also create sections one inside the other.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us