Copy or move a variable between templates

Variables live inside the template that hosts them. If you want to use the variable in multiple templates, there are two options:

1
Add the template containing the variables you want as a reference
2
Duplicate the variable

Add the template containing the variables you want as a reference

This links the current template to the template containing the variable. Changes made to the variable will be automatically propagated to all the templates using the variable.

This is the best option when you want to define your variable once and reuse it multiple templates. When you need to change the variable, you can make the changes only once.

Check How to add a reference to an existing template.

Duplicate the variable

This creates a copy of the original value. The two variables will be independent.

How to duplicate a variable

1
In the template editor, Open the Manage variables window by clicking on Variables → Manage (or press F8)
2
If the variable you want to add is in a different template, add it as reference
3
Right-click on the variable you want to create a copy of and click Duplicate

4
PhraseExpander has now created a duplicate. If two variables have the same name, PhraseExpander always gives precedence to the local variable.

5
If you have duplicated a referenced variable, remove the referenced template by clicking on Edit referenced templates and removing the template.

NOTE: If you want to move instead of copying variables, all you have to do is deleting the original variable.
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