Template:DplvarUpdate


Example 1

edit
The following
{{dplvarUpdate}}
Gives


  • The initial value of {{#dplvar:varName}} is: My Value
  • If the first param is not empty {{#dplvar:varName}} is: n/a


Example 2

edit
The following
{{dplvarUpdate|true}}
Gives


  • The initial value of {{#dplvar:varName}} is: My Value
  • If the first param is not empty {{#dplvar:varName}} is: My Value2