Module:CoinsGE/doc

From RuneRealm Wiki
Jump to navigation Jump to search

This is the documentation page for Module:CoinsGE

This is a documentation subpage for Module:CoinsGE.
It contains usage information, categories, and other content that is not part of the original module page.
Module:CoinsGE's function main is invoked by Template:CoinsGE.
Module:CoinsGE requires Module:Coins.
Module:CoinsGE requires Module:Exchange.

This is a wrapper around the Module:Coins module and inspired by the Template:GEP. It combines their functionality to both show the appopriate coins symbol and grab the GE price for the given item.

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.

FunctionTypeUse
_main(item)StringReturns a formatted string with a coins icon and the amount of coins the item is worth in GE. See Template:CoinsGE for examples.