User Tools

Site Tools


en:public:developer:template_system:tags:parameters:default

This is an old revision of the document!


Default

Parameter “default” specifies the value that will be returning when we call some variable without explicit declaration.

Example

<#Var name="Price" default="0">
// do something, we suggest Price was not modified here
The total price: <#Price>

Output:

The total price: 0
en/public/developer/template_system/tags/parameters/default.1353929194.txt.gz · Last modified: 2012/11/26 15:26 by igor