NR:LUA: Difference between revisions

9 bytes added ,  19:12, 3 October 2022
no edit summary
(Created page with "{{External|rs|rsc}} '''Lua''' is a programming language that is integrated into ''{{SITENAME}}'' with Scribunto. Lua source code is run from Modules in their own namespace, and invoked with <code><nowiki>{{#invoke:Module|function}}</nowiki></code>; this should done with a wrapper template. For example, if we have a module named "foo", then we should have a template called "Template:Foo" consisting of <code><nowiki>{{#invoke:Foo|main}}</nowiki><...")
 
No edit summary
 
Line 92: Line 92:
* [[mw:Extension:Scribunto/Lua reference manual]], for the documentation of Lua as used by the Scribunto extension
* [[mw:Extension:Scribunto/Lua reference manual]], for the documentation of Lua as used by the Scribunto extension
* [{{fullurl:Special:AllPages|namespace=828&hideredirects=1}} Special:AllPages (namespace:Module)], for a list of all current modules
* [{{fullurl:Special:AllPages|namespace=828&hideredirects=1}} Special:AllPages (namespace:Module)], for a list of all current modules
* [[RuneScape:Lua/Modules]], for a list of all modules, excluding Exchange and miscellaneous data pages
* [[Near-Reality:Lua/Modules]], for a list of all modules, excluding Exchange and miscellaneous data pages
* [[RuneScape:Lua/Helper modules]], for a table of modules designed to facilitate writing other modules
* [[Near-Reality:Lua/Helper modules]], for a table of modules designed to facilitate writing other modules
* [[:Category:Lua-based templates]], for an index of templates that directly invoke Lua
* [[:Category:Lua-based templates]], for an index of templates that directly invoke Lua


[[Category:Old School RuneScape Wiki community]]
[[Category:Old School Near-Reality Wiki community]]
[[Category:Lua-based templates| ]]
[[Category:Lua-based templates| ]]
[[Category:Modules]]
[[Category:Modules]]