getImage: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:getImage moved to getImage) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getImage | |name=getImage | ||
|version=1.3b48 | |||
|description=Returns the [[asset id]] for the image of an [[Token:Image Token]]. | |description=Returns the [[asset id]] for the image of an [[Token:Image Token]]. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
getImage(name) | |||
</source> | </source> | ||
Revision as of 13:39, 10 March 2009
getImage() Function
• Introduced in version 1.3b48
Returns the asset id for the image of an Token:Image Token.
Usage
getImage(name)
Example
To display the image from an image token called "image:Map" you can do the following
<img src="[r: getImage('image:Map')]"></img>