getPropertyDefault: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Verisimilar (talk | contribs) (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=getPropertyDefault | |||
Returns the [[Campaign:property default value| default value]] of a [[Token:property| token property]] for the [[Token:Current Token|Current Token]]. If the [[Campaign:property default value| default value]] contains nothing then an empty string ("") is returned. | |description= | ||
Returns the [[Campaign:property default value| default value]] of a [[Token:property| token property]] for the [[Token:Current Token|Current Token]]. If the [[Campaign:property default value| default value]] contains nothing then an empty string ({{code|""}}) is returned. | |||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: val = getPropertyDefault(name)] | [h: val = getPropertyDefault(name)] | ||
</source> | </source> | ||
}} | |||
[[Category:Token Function]] |
Revision as of 03:28, 8 March 2009
getPropertyDefault() Function
Returns the default value of a token property for the Current Token. If the default value contains nothing then an empty string (
""
) is returned.Usage
[h: val = getPropertyDefault(name)]