getPropertyDefault: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
'''Parameter'''
'''Parameter'''
{{param|name|The name of the property to get the default value of.
{{param|name|The name of the property to get the default value of.
{{param|propType|The token type to get the property from. Defaults to the token type of the [[Current Token]]}}
{{param|propType|The token type to get the property from. Defaults to the token type of the [[Current Token]].




}}
}}
[[Category:Token Function]][[Category:Property Function]]
[[Category:Token Function]][[Category:Property Function]]

Revision as of 06:17, 16 August 2019

{{MacroFunction |name=getPropertyDefault |version=1.3b48 |description= 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)

Parameter {{param|name|The name of the property to get the default value of.

  • propType - The token type to get the property from. Defaults to the token type of the Current Token.