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 default value that will be returning if the called functions return nothing or called variable contains nothing.

Example

Assuming that we have function GetEnglishDescription that returns the description on English.

<#GetEnglishDescription default="Contact us to get the details!">

Output if we have some description (example):

Lovely villa with the stunning views. Fully furnished.

Output if we don't have description on English:

Contact us to get the details!
en/public/developer/template_system/tags/parameters/default.1354002608.txt.gz · Last modified: 2012/11/27 11:50 by igor