getLabel: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:getLabel moved to getLabel) |
Verisimilar (talk | contribs) m (Updated with recent version changes.) |
||
Line 1: | Line 1: | ||
{{stub|Examples of usage.}} | |||
{{MacroFunction | {{MacroFunction | ||
|name=getLabel | |name=getLabel | ||
|description=Returns the [[Token | |version=1.3b48 | ||
|description= | |||
Returns the [[Token Label]] for a specific [[Token]]. | |||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
getLabel() | |||
</source> | </source> | ||
<source lang="mtmacro" line> | |||
getLabel(id) | |||
</source> | |||
'''Parameter''' | |||
{{param|id|The token {{code|id}} of the token that has its [[Token Label]] returned, defaults to the [[Current Token]]. {{TrustedParameter}} }} | |||
|also= | |||
{{func|setLabel}} | |||
|changes= | |||
{{change|1.3b51|Added {{code|id}} parameter option.}} | |||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 05:09, 31 March 2009
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage.
getLabel() Function
• Introduced in version 1.3b48
Returns the Token Label for a specific Token.
Usage
getLabel()
getLabel(id)
Parameter
id
- The tokenid
of the token that has its Token Label returned, defaults to the Current Token.Note: This parameter can only be used in a Trusted Macro.
See Also
Version Changes
- 1.3b51 - Added
id
parameter option.