getPropertyDisplayName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{stub}} {{MacroFunction |name=getPropertyDisplayName |version=1.14.0 |description= Returns the Display Name of a token property Introduction_to_Tokens. |usage= <syntaxhighlight lang="mtmacro" line> getPropertyDisplayName(propertyType, propertyName) </syntaxhighlight> '''Parameters''' {{param|propertyType|The Property Type as defined under Token Type in Campaign Properties}} {{param|propertyName|The na...")
 
(No difference)

Latest revision as of 18:27, 14 December 2023

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

getPropertyDisplayName() Function

Introduced in version 1.14.0
Returns the Display Name of a token property Introduction_to_Tokens.

Usage

getPropertyDisplayName(propertyType, propertyName)

Parameters

  • propertyType - The Property Type as defined under Token Type in Campaign Properties
  • propertyName - The name of the Property.


Note: Both are case sensitive

Example

[r:getPropertyDisplayName("Basic", "Strength")]