Module:Top icons/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{documentation}} This module is used in Template:External to generate the top icons. It can also be called from other modules using its helper function. {{Helper module |name=Top icons |fname1 = _main(args) |ftype1 = String |fuse1 = Returns a string that adds top icons to the page. <code>args</code> must be a table of arguments. Numbered arguments must have values of <code>rs</code>, <code>rsc</code>, <code>meta</code> or <code>wp</code>. To provide a specific pag...") |
(No difference)
|
Latest revision as of 22:25, 11 October 2024
Module:Top icons's function main is invoked by Template:External.
This module is used in Template:External to generate the top icons. It can also be called from other modules using its helper function.
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.
Function | Type | Use |
---|---|---|
_main(args) | String | Returns a string that adds top icons to the page. args must be a table of arguments. Numbered arguments must have values of rs , rsc , meta or wp . To provide a specific page name on the top icon link, specify the wiki name as the param and the external page name as the value. |