Module:Top icons/doc

From Old School Near-Reality Wiki
< Module:Top icons
Revision as of 20:32, 3 October 2022 by Jacmob (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Top icons

Information icon-grey.png
This is a documentation subpage for Module:Top icons.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Top icons's function main is invoked by Template:External.
Module:Top icons is required by Module:Update.

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 be designed to be invoked directly. See Near-Reality:Lua/Helper modules for a full list and more information.

ModuleFunctionTypeUse
Top icons_main(args)StringReturns 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 pagename on the top icon link, specify named arguments with those same indices, with the value being the external pagename.