switchToken: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:switchToken moved to switchToken) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 2: | Line 2: | ||
|name=switchToken | |name=switchToken | ||
|trusted=true | |trusted=true | ||
|version=1.3b48 | |||
|description= | |description= | ||
Changes the [[Token:Current Token|Current Token]] for the remainder of the [[Macro:Macro|Macro]]. | Changes the [[Token:Current Token|Current Token]] for the remainder of the [[Macro:Macro|Macro]]. | ||
Line 7: | Line 8: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
switchToken(tokenId) | |||
</source> | </source> | ||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 12:50, 10 March 2009
switchToken() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.3b48
Changes the Current Token for the remainder of the Macro.
Usage
switchToken(tokenId)