getTokenImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getTokenImage | |name=getTokenImage | ||
|description=Returns the [[Asset ID|asset id]] of the image for the for the [[Current Token]]. | |description= | ||
Returns the [[Asset ID|asset id]] of the image for the for the [[Current Token]]. | |||
|usage= | |usage= | ||
Line 8: | Line 9: | ||
</source> | </source> | ||
| | |examples= | ||
To display the image for the current [[Token:token|token]]. | To display the image for the current [[Token:token|token]]. | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
Line 17: | Line 18: | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h, token(tokenId): imgAsset = getTokenImage()] | [h, token(tokenId): imgAsset = getTokenImage()] | ||
</source> | |||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 09:32, 4 May 2010
getTokenImage() Function
Returns the asset id of the image for the for the Current Token.
Usage
[h: assetId = getTokenImage(size)]