To add a User Variable to a post format follow the following procedure:
Edit the file /usr/weber/post_formats/post_name/user_variables
The new variables section is at the bottom of the file.
Insert the new variable in the variable list in the desired location.
If the variable is not to be visible on the variable menu place an "I" as the first character.
Make sure that there are spaces between the "I" and the variable.
For example, to add the variable Widget and assign it a default value of 7.25 we add the following line to the "user_variables" file:
Widget= 7.25;
or if the variable is not visible on the menu:
I Widget= 7.25;
Once the "user_variables" file is stored with the change the variable may be used.
The assignment of the default value may have a calculation.
For example:
Widget= Whatsthat+ 0.5*Whatgamacallit;
assuming the other variables have been defined earlier in the file.
NOTE: When creating a user_variable, try to use underbars between important words in the variable.
Examples of this are:
Widget_1
Z_feed1
Finish_depth2
No_tool_change
By doing this you decrease the likeliness of interfering with System Variables or other User Variables that may already exist in TurboPost.