getTokenPortrait: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function getTokenPortrait== Returns the asset id of the portrait image for the for the Current Token. ===Usage=== <source lang="mtmacro" line> [h: assetId =...) |
m (→Examples) |
||
Line 12: | Line 12: | ||
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> | ||
<img src='[r: | <img src='[r:getTokenPortrait()]'></img> | ||
</source> | </source> |
Revision as of 23:38, 17 February 2009
Function getTokenPortrait
Returns the asset id of the portrait image for the for the Current Token.
Usage
[h: assetId = getTokenPortrait()]
Examples
To display the image for the current token.
<img src='[r:getTokenPortrait()]'></img>