setTableImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Conversion script moved page SetTableImage to setTableImage: Converting page titles to lowercase) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
Sets the image for a specified image table. Returns {{true}} if update successful and {{false}} if not. | Sets the image for a specified image table. Returns {{true}} if update successful and {{false}} if not. | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
setTableImage(tableName, asset) | |||
</ | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
{{param|tableName|A string containing the name of the table.}} | {{param|tableName|A string containing the name of the table.}} |
Latest revision as of 23:59, 9 February 2023
setTableImage() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.4.0.1
Sets the image for a specified image table. Returns
true
(1
) if update successful and false
(0
) if not.Usage
setTableImage(tableName, asset)
Parameters
tableName
- A string containing the name of the table.asset
- An asset id represented as a string.