Math and String Operations:
Reference another property (blueprint property):
{{propertyname}}
Reference a property and modify it:
{{propertyname | upcase}}
If/then w/a property:
{% if propertyname =='a' or anotherpropername =='b' or propertyname ==''}firstvalue{%elseif propertyvalue == 'b' %}secondvalue{% else%}notfound{% endif %}
Example operations:
capitalize
downcase
endraw
replace: '.','' | substring: 0,2
slice: 0,3
slice: -3,3
substring: 0,1
upcase
Misc:
Use | to pass/pipe through, like Linux OS.
Use SovLabs Template Tester to test the if/then logic.
previous page
|