Module:Coins image

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Module documentation
This documentation is transcluded from Module:Coins image/doc. [edit] [history] [purge]
Module:Coins image requires Module:Currency Image.

This module is a helper module to be used by other modules; it may not designed to be invoked directly. See RuneScape:Lua/Helper modules for a full list and more information. For a full list of modules using this helper click here

FunctionTypeUseExample
( num )number/stringReturns a string with the correct coins image name for the absolute value of num. If num is a comma separated string, the highest value in the list will be used for the image.

-- Like Module:Coins, but only for the image

return function(q) return require('Module:Currency Image')('coins', q) end