getPropertyDefault: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:getPropertyDefault moved to getPropertyDefault) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getPropertyDefault | |name=getPropertyDefault | ||
|version=1.3b48 | |||
|description= | |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. | 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. | ||
Line 6: | Line 7: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
getPropertyDefault(name) | |||
</source> | </source> | ||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 12:23, 10 March 2009
getPropertyDefault() Function
• Introduced in version 1.3b48
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
getPropertyDefault(name)