Search results
Results from the WOW.Com Content Network
Function get() returns a table containing: source = the source code (without <syntaxhighlight> wrappers, characters substituted with html entities) output = the execution result of the source. frame = the frame from which this template took the parameter. By default, get() takes the first parameter of frame.
A table is a sequence, optionally supplemented by named keys: digit["two"]="2". Several table functions like table.concat will only work with the numbered values and ignore named keys. The metatable offers a large, optional set of methods for altering table behavior. For example, you can define a table to be callable like a function.
This Lua module is used in MediaWiki:Wantedpages-summary, and on approximately 1,180,000 pages, or roughly 2% of all pages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module ...
Lua provides functions to push and pop most simple C data types (integers, floats, etc.) to and from the stack, and functions to manipulate tables through the stack. The Lua stack is somewhat different from a traditional stack; the stack can be indexed directly, for example. Negative indices indicate offsets from the top of the stack.
Parameters: value: The value to convert to a string.This can be any Lua value. This parameter is optional, and defaults to nil.; options: A table of options.This parameter is optional.
This Lua module is used in MediaWiki:Gadget-libSensitiveIPs.js. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox.
This style for Lua-based Module:Sports table is meant to build group and league tables for competitions with a volleyball format. Note that this module is used extensively, so test potential changes rigorously in the sandbox and please ensure consensus exists before implementing major changes.
This style for Lua-based Module:Sports table is meant to build group and league tables for competitions with a win-draw-loss format. Note that this module is used extensively, so test potential changes rigorously in the sandbox and please ensure consensus exists before implementing major changes.