Search Results: Module:Lua set

Sorry, the article you're looking for isn't specifically available. Here are related topics:


Module:Lua call
Rabu, 2025-07-30 11:17:19

according to --- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#string.format --- this will not stop us from trying...

Click to read more »
Module:Lua call/sandbox
Rabu, 2025-07-30 08:59:45

according to --- http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#string.format --- this will not stop us from trying...

Click to read more »
Module:Lua call/doc
Minggu, 2025-12-14 21:53:19

Shortcut Module:LuaCallModule:LuaCall This module allows you to call any one single preinstalled Lua function, so that you don't need to write a module...

Click to read more »
Module:Lua call/testcases
Rabu, 2025-07-30 08:56:39

[=[{{#invoke:Lua call|main|a=test&nbsp;|b=7|string.rep(a,b)}}]=], "<code>"..mw.text.nowiki([=[{{#invoke:Lua call|main|a=test&nbsp;|b=7|string...

Click to read more »
Module:Lua banner/doc
Minggu, 2022-11-13 13:29:34

Lua modules, first load the module. local mLuaBanner = require('Module:Lua banner') You can then generate a side box using the _main function. mLuaBanner...

Click to read more »
Module:Lua banner
Jumat, 2024-04-05 09:45:24

-- This module implements the {{lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools =...

Click to read more »
Module:Lua banner/sandbox
Jumat, 2025-11-28 13:29:11

uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList end end boxArgs.type = 'notice' boxArgs.small = true boxArgs.image = '[[File:Lua-Logo.svg|30px|alt=|link=]]'...

Click to read more »
Module:Sandbox/Lesser Cartographies/lua
Selasa, 2024-03-26 14:49:53

-- Taking lua for a spin. local p = {} local b2s = require( "Module:BibTeX2Cite" ) function p.test(frame) local s = [[ @book {MR0161818, AUTHOR...

Click to read more »
Module:Lua-mock/doc
Senin, 2019-10-14 08:28:06

This is the lua-mock library, used to create mock objects for use in unit testing. URL: https://henry4k.github.io/lua-mock/ Author: Henry Kielmann Licence:...

Click to read more »
Module:Lua-mock
Sabtu, 2021-05-29 19:40:23

details. local ProgrammableFn = require 'Module:Lua-mock/ProgrammableFn' local Spy = require 'Module:Lua-mock/Spy' local Mock = {} Mock.__index = Mock...

Click to read more »
Module:Adjacent stations/Luas
Kamis, 2023-03-16 14:39:28

local p = { ["system title"] = "[[Luas]]", ["system icon"] = "[[File:Luas simple logo.svg|10px|link=Luas|alt=Luas]]", ["system color"] = "", ["name...

Click to read more »
Module:Lua class/doc
Minggu, 2023-04-23 01:36:20

This module provides utilities for declaring classes in Lua code. It creates global variables, so must be called before require('strict') if that is used...

Click to read more »
Module:Lua lexer/doc
Jumat, 2025-07-11 18:34:59

Lua error in Module:Docbunto/infobox at line 10: attempt to index field 'info' (a nil value)....

Click to read more »
Module:Example of lua debugging/doc
Jumat, 2024-08-30 04:16:52

Used as an example in Help:Lua debugging#To see the value of a variable without changing the code...

Click to read more »
Module:Sandbox/Liam925/Lua
Kamis, 2018-12-06 08:36:09

-- Liam925: Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Lua lexer
Jumat, 2025-10-31 11:00:43

USE OR OTHER DEALINGS IN THE -- SOFTWARE. --- Lexer for Lua source code written in pure Lua. -- @script lexer -- @license MIT...

Click to read more »
Module:Sandbox/Raph Williams65/HelloLua
Jumat, 2025-04-04 01:01:08

[[Wikipedia:Lua|Lua]]!" end p.hi = function(frame) strName = frame.args.name or "Jimmy" return "Hello from Lua to " .. strName...

Click to read more »
Module:Sandbox/Most2dot0/lua
Selasa, 2024-07-23 15:47:15

-- Introduction to Lua in Wikipedia local p = {} -- Function to convert JSON data to a Lua table function p.jsonToTable(jsonPage) -- Check if jsonPage...

Click to read more »
Module:Sandbox/minhducsun2002/gci-lua-introduction
Senin, 2019-12-16 17:59:06

--minhducsun2002 - Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Noor Hasan Shaik/GCI Lua
Kamis, 2018-11-08 21:20:08

--Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Ita140188/chartsvg/doc
Senin, 2018-07-30 16:16:48

Lua error in package.lua at line 80: module 'Module:Plotter/DefaultColors' not found. Lua error in package.lua at line 80: module 'Module:Plotter/DefaultColors'...

Click to read more »
Module:User:Od1n/If empty (enwiki Lua)
Minggu, 2025-11-23 10:59:44

require('Module:Arguments').getArgs(frame, {wrappers = 'User:Od1n/Template:If empty (enwiki Lua)', removeBlanks = false}) for k,v in ipairs(args) do if v ~= '' then...

Click to read more »
Module:String
Selasa, 2025-08-12 06:48:56

error. For information on constructing Lua patterns, a form of [regular expression], see: * http://www.lua.org/manual/5.1/manual.html#5.4.1 * http://www...

Click to read more »
Module:Sandbox/Nathan fraignt/GCI Lua Task 1 Sandbox
Senin, 2018-11-05 02:04:59

-- Nathan Fraignt Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:String/sandbox
Selasa, 2025-08-12 06:46:44

error. For information on constructing Lua patterns, a form of [regular expression], see: * http://www.lua.org/manual/5.1/manual.html#5.4.1 * http://www...

Click to read more »
Module:Redirect/doc
Jumat, 2026-02-06 12:11:39

creation. If you want to use the main function from another Lua module, you may want to use the luaMain function. This provides the same functionality as the...

Click to read more »
Module:Arguments
Rabu, 2020-04-01 13:12:40

arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil...

Click to read more »
Module:Formatnum/doc
Jumat, 2024-08-30 04:29:57

formatting function. This function can be used from #invoke or from other Lua modules. This module is used by Module:Complex date To use the module from...

Click to read more »
Module:Sandbox/Jeblad/LuaDoc/doc
Rabu, 2023-05-03 05:16:23

replacement for the usual documentation page, would be like this {{#invoke:LuaDoc|build|{{FULLPAGENAME}}}} In the actual code there will be specially formatted...

Click to read more »
Module:Jf-JSON/doc
Jumat, 2026-01-16 17:36:41

This is Jeffrey Friedl's JSON.lua library, copied from http://regex.info/blog/lua/json (source code). It is licensed under CC-BY 3.0. The suggested loading...

Click to read more »
Module:Lua-mock/ProgrammableFn
Rabu, 2019-05-01 21:48:28

the programmed -- return values. local ValueMatcher = require 'Module:Lua-mock/ValueMatcher' local ProgrammableFn = {} ProgrammableFn.__index = ProgrammableFn...

Click to read more »
Module:Yesno/doc
Senin, 2025-09-29 16:46:33

consistent interface for processing boolean or boolean-style string input. While Lua allows the true and false boolean values, wikicode templates can only express...

Click to read more »
Module:Math/doc
Senin, 2026-04-06 23:54:17

from other Lua modules. To use the module from normal wiki pages, no special preparation is needed. If you are using the module from another Lua module,...

Click to read more »
Module:ParameterCount/doc
Selasa, 2024-10-01 20:17:14

specific names. There are two ways of specifying parameters: by name, and using Lua patterns. By name {{#invoke:ParameterCount|main|1|2|3|abc|def}} To specify...

Click to read more »
Module:Sandbox/பொதுஉதவி/doc
Senin, 2024-11-11 00:54:00

"File:" image1 = [[:File:Lua error in package.lua at line 80: module 'Module:Location map/data/doc' not found.|Lua error in package.lua at line 80: module 'Module:Location...

Click to read more »
Module:Database report/facade
Kamis, 2026-01-15 20:24:20

title.getCurrentTitle() local lua_config, lua_err = invoke_lua_source(args, frame) local headContent = lua_config and lua_config.head_content or '' local...

Click to read more »
Module:Docbunto/references
Rabu, 2024-09-25 13:37:59

{ types = { -- Lua types available to Scribunto. ["nil"] = { link = "mw:Extension:Scribunto/Lua reference manual#nil", name...

Click to read more »
Module:Template test case/doc
Kamis, 2026-05-14 19:42:33

produce a template test case. While test cases can be made manually, using Lua-based templates such as the ones provided by this module has the advantage...

Click to read more »
Module:Arguments/sandbox
Rabu, 2021-04-21 16:30:15

arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil...

Click to read more »
Module:Sandbox/Erutuon/doc
Minggu, 2018-07-08 12:31:07

Lua error in package.lua at line 80: module 'Module:Language/name/data' not found. Lua error in package.lua at line 80: module 'Module:Language/name/data'...

Click to read more »
Module:CountryData/doc
Jumat, 2024-08-30 03:58:17

parameters from a data template and returns them as a Lua table. This function is only usable from other Lua modules; invoke it using require('Module:CountryData')...

Click to read more »
Module:Sandbox/Srflp
Rabu, 2017-12-27 02:27:14

-- srflp Google Code-in 2017, Introduction to Lua in Wikipedia -- [Lua task #03] Create your own Lua module on English Wikipedia local p = {} function...

Click to read more »
Module:Database reports/Long pages by namespace/doc
Sabtu, 2025-09-20 01:48:30

| lua_source = Module:Database reports/Long pages by namespace | lua_function = main | lua_arg_ns_name = File <!-- Name of the namspace --> | lua_arg_ns_number...

Click to read more »
Module:Userbox/doc
Minggu, 2021-01-31 09:29:09

documentation. To generate userboxes directly from Lua, read on. To generate a userbox directly from Lua, first load the module. local userbox = require('Module:Userbox')...

Click to read more »
Module:TableTools/doc
Sabtu, 2026-04-04 00:57:34

includes a number of functions for dealing with Lua tables. It is a meta-module, meant to be called from other Lua modules, and should not be called directly...

Click to read more »
Module:Sandbox/cheddarooz/luaBox
Kamis, 2018-12-06 09:03:47

-- cheddarooz Google Code-in, Introduction to Lua in Wikipedia. (-- 2 hyphens starts a comment) -- cheddarooz Google Code-in, Working with modules. local...

Click to read more »
Module:Sandbox/Module:Location map/data/Karpathia/doc
Kamis, 2025-07-17 10:34:02

to overlay markers and labels on an equirectangular projection map of [[Lua error in Module:Location_map at line 42: Unable to find the specified location...

Click to read more »
Module:Database report/facade/sandbox
Jumat, 2025-09-19 03:38:16

local lua_config, lua_err = invoke_lua_source(args, frame) local headContent = lua_config and lua_config.head_content or '' local tailContent = lua_config...

Click to read more »
Module:Sandbox/Rafidaslam
Jumat, 2017-12-15 21:36:47

Rafidaslam Google Code-in 2017, Introduction to Lua in Wikipedia -- Create your own Lua module on English Wikipedia [Lua step 3 of 3] local p = {} function p...

Click to read more »
Module:Database reports/Hot articles/doc
Minggu, 2025-11-16 20:27:28

created by User:HotArticlesBot. {{Database report | lua_source = Module:Database reports/Hot articles | lua_arg_project = <!-- Name of the WikiProject or task...

Click to read more »
Module:Strip to numbers/testcases
Kamis, 2026-02-05 22:32:56

characters: -12em, 34px, 57%, "-8.9", 0 Result: -12 Input: inherit Result: Lua error in Module:Strip_to_numbers at line 8: Input did not contain valid numeric...

Click to read more »
Module:Sandbox/Smadhav02
Rabu, 2018-01-03 23:58:15

Introduction to Lua in Wikipedia. -- [Lua task #03] Create your own Lua module on English Wikipedia . -- [Lua task #04] Pass information to your Lua module local...

Click to read more »
Module:Sandbox/Gabrielchihonglee
Jumat, 2018-01-12 06:50:17

-- Lua task 1 -- Google Code-in 2017, Introduction to Lua in Wikipedia local p = {} -- p stands for package -- Lua task 3 function p.hello( frame...

Click to read more »
Module:Sandbox/brown121407
Selasa, 2018-11-06 21:08:25

-- brown121407 Google Code-in, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} -- p stands for package function p...

Click to read more »
Module:Lua class
Senin, 2025-08-11 23:03:29

key:find('^%d') then warn(("AttributeWarning: index '%s' should be a valid Lua name"):format(key), 2) end local cls = _classes[cls_private] local...

Click to read more »
Module:Documentation/doc
Rabu, 2026-06-03 22:28:00

This module displays a green box containing documentation for templates, Lua modules, or other pages. The {{documentation}} template invokes it. For most...

Click to read more »
Module:Unstrip/doc
Jumat, 2021-10-08 15:51:14

mw:Extension:Scribunto/Lua reference manual#mw.text.unstrip mw:Extension:Scribunto/Lua reference manual#mw.text.unstripNoWiki mw:Extension:Scribunto/Lua reference...

Click to read more »
Module:Sensitive IP addresses/API/doc
Selasa, 2020-07-07 20:26:21

sensitive. The intention is that this one API can be used for templates, Lua modules, and software using the MediaWiki Action API such as JavaScript gadgets...

Click to read more »
Module:DecodeEncode/doc
Selasa, 2025-04-22 15:11:39

Implements Lua functions mw.text.decode, mw.text.encode in a module. {{#invoke:decodeEncode|decode|s=Source&nbsp;text&copy;}} → Source text© See List...

Click to read more »
Module:Sandbox/Sathuheb
Selasa, 2018-01-16 20:00:22

Introduction to Lua in Wikipedia -- Task: Create your own Lua module on English Wikipedia. Google Code-in 2017, Introduction to Lua in Wikipedia --...

Click to read more »
Module:Carousel/testcases
Kamis, 2023-10-26 08:33:13

→ Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil). {{#invoke:carousel | main | switchsecs = 10}} → Lua error...

Click to read more »
Module:RadioGatun32/doc
Jumat, 2022-09-16 01:17:57

environment like Linux, with Git and a version of Lua above 5.1 and below 5.4 (Lua 5.4 dropped bit32; a Lua 5.1 implementation with bit32 support will also...

Click to read more »
Module:Database reports/Hot articles by category/doc
Minggu, 2025-11-16 20:12:39

{{Database report | lua_source = Module:Database reports/Hot articles by category | lua_arg_category = <!-- Name of the talk page category --> | lua_arg_articles...

Click to read more »
Module:Docbunto/infobox/doc
Jumat, 2025-03-14 20:44:18

Infobox for Lua modules. infobox( data, codepage, frame, options ) (function) Infobox for Lua modules. Parameters: data Taglet documentation data. (table)...

Click to read more »
Module:Random
Rabu, 2015-11-11 23:32:54

-- For functions available from other Lua modules. local l = {} -- For functions not available from other Lua modules, but that need to be accessed using...

Click to read more »
Module:Docbunto/doc
Minggu, 2026-02-08 03:55:32

automatic documentation generator for Scribunto modules. The module is based on LuaDoc and LDoc. It produces documentation in the form of MediaWiki markup, using...

Click to read more »
Module:Sandbox/doc
Minggu, 2025-10-26 20:25:15

This is not an actual Lua module. It exists to provide a convenient pseudo-namespace for code testing, hopefully preventing the main Module: namespace...

Click to read more »
Module:Region topic/doc
Senin, 2025-02-24 00:49:32

This module contains the main code for Lua-based continent-/region-topic navboxes. To create a customizable navbox based on this module, create a wrapper...

Click to read more »
Module:Mapframe/doc
Selasa, 2026-02-10 02:02:36

this module's main function as default. If a page has a rendering time by Lua of between 5 seconds and 10 seconds using {{Maplink}} the use of the direct...

Click to read more »
Module:TwitterSnowflake/doc
Jumat, 2025-11-21 10:03:05

This is a Lua module to translate snowflakes from platforms such as Twitter and Discord to timestamps. This can be used for automatically generating dates...

Click to read more »
Module:Sandbox/Methodsolver18561
Kamis, 2019-12-05 00:16:01

-- Methodsolver18561, Google Code-in 2019, Introduction to Lua in Wikipedia -- Lua Task 2, Working with modules local p = {} function p.hello( frame...

Click to read more »
Module:Sandbox/Erutuon/Temperature arrays/mw.html/doc
Selasa, 2016-09-27 05:44:28

little more time. Lua error in Module:Sandbox/Erutuon/Temperature_arrays/mw.html at line 230: variable 'temperature_CSS' is not declared. Lua error in...

Click to read more »
Module:Hatnote/doc
Kamis, 2024-12-26 03:59:22

of pages. It also contains a number of helper functions for use in other Lua hatnote modules. The functions in this module cannot be used directly from...

Click to read more »
Module:Sandbox/Gechy/ogechi
Jumat, 2020-12-04 20:35:00

-- ogechi Outreachy Introduction to Lua in Wikipedia local p = {} function p.hello( frame ) return "Hello, world!" end p.Hi = function(frame) local...

Click to read more »
Module:Lua-mock/Spy
Sabtu, 2021-05-29 19:44:19

arguments and return values are saved. local ValueMatcher = require 'Module:Lua-mock/ValueMatcher' local Spy = {} Spy.__index = Spy function Spy:__call(...

Click to read more »
Module:Sandbox/Erutuon/scripts/doc
Jumat, 2018-04-13 02:32:15

Lua error in package.lua at line 80: module 'Module:Language/scripts' not found....

Click to read more »
Module:Sandbox/ActiveTech11
Sabtu, 2019-12-21 21:00:28

--ActiveTech11 Google Code-In 2019, Introduction to Lua in Wikipedia --Lua Task 2-Working with Modules-Wikimedia local p = {} function p.hello( frame...

Click to read more »
Module:Sandbox/OliverCWY
Minggu, 2018-01-07 20:23:53

--OliverCWY Google Code-in 2017, Introduction to Lua in Wikipedia --[Lua task #03] Create your own Lua module on English Wikipedia local p = {} -- p stands...

Click to read more »
Module:Sandbox/Aayush dev/sometest
Kamis, 2019-12-19 23:29:34

--Aayush dev Google Code-in 2019, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules - Wikimedia local p = {} function p.hello( frame...

Click to read more »
Module:Sandbox/RexxS/GCI09/doc
Jumat, 2017-12-15 22:26:58

Lua has a number of libraries, collections of useful built-in functions, and you can read about them at Standard Libraries, which use many of the standard...

Click to read more »
Module:Shortcut/doc
Kamis, 2024-12-05 06:16:07

the syntax {{#invoke:shortcut|main|arguments}}. To use this module from Lua, first load it. local mShortcut = require('Module:Shortcut') Then you can...

Click to read more »
Module:Sandbox/Abdnegm
Selasa, 2020-01-21 21:56:49

--Abdnegm Google Code-in 2019, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return "Hello...

Click to read more »
Module:Sandbox/Jooannaa/
Senin, 2020-01-13 00:33:50

--Jooannaa Google Code-in 2019, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return "Hello...

Click to read more »
Module:Sandbox/ohmomar
Rabu, 2017-12-27 22:34:14

--ohmomarGoogle Code-in 2017, Introduction to Lua in Wikipedia -- [Lua task #3] Create your own Lua module on English Wikipedia local p = {}-- p stands...

Click to read more »
Module:Sandbox/Pokkpol
Kamis, 2018-01-11 22:22:49

--Pokkpol Google Code-in 2017, Introduction to Lua in Wikipedia. --[Lua task #03] Create your own Lua module on English Wikipedia local p = {} function...

Click to read more »
Module:Warning
Senin, 2025-08-11 23:03:58

wrapper = "%s" -- wikitext formatting local msg_loc = "Lua warning in %s at line %d: %s." local msg = "Lua warning: %s." return function (message, level) ...

Click to read more »
Module:User:Cscott/llpeg/doc
Kamis, 2023-12-14 20:45:53

This is a port to Scribunto lua of lpeglabel, which itself is a minor extension of the lua lpeg parser generator. The API should be identical to that of...

Click to read more »
Module:Jf-JSON
Kamis, 2016-12-08 10:48:33

decoding in pure Lua. -- -- Copyright 2010-2016 Jeffrey Friedl -- http://regex.info/blog/ -- Latest version: http://regex.info/blog/lua/json -- -- This...

Click to read more »
Module:Sandbox/Piotrbar321
Rabu, 2020-01-22 02:44:45

-- Piotrbar321 Gogle Code-in 2019, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Sandbox/Kid 116
Selasa, 2017-12-26 22:41:08

2017, Introduction to Lua in Wikipedia --Google Code-in 2017, Introduction to Lua in Wikipedia --[Lua task #3] Create your own Lua module on English Wikipedia...

Click to read more »
Module:Sandbox/TheAmazingness
Minggu, 2018-11-04 07:36:20

-- TheAmazingness Google Code-in, Introduction to Lua in Wikipedia -- Lua Task 2: Working with Modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Text/doc
Jumat, 2025-04-25 22:36:11

table.concat() in Lua. From a template: 1 First element; missing and empty elements are ignored. 2 3 4 5 6 … Further list elements From Lua args table (sequence)...

Click to read more »
Module:Sandbox/Pomkonto456
Selasa, 2020-01-21 05:20:21

-- Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return "Hello, world!" end p.Hi = function(frame) strName = frame.args...

Click to read more »
Module:Sandbox/MD Abu Siyam
Rabu, 2018-11-07 11:55:22

--MD Abu Siyam, Google code-in, Introduction to lua in wikipedia --Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Sandbox/Mynarco
Jumat, 2018-12-07 09:08:10

--Mynarco Google Code-in, Introduction to Lua in Wikipedia --Mynarco Google Code-in, Lua Task 2 - Working with modules local p = {} -- p stands for package...

Click to read more »
Module:Database reports/WikiProject edit count/doc
Minggu, 2025-09-07 09:01:15

a daily basis. Sample usage can be seen on User:StefenTower/WPKYEditcountLua. DEVELOPMENT VERSION NOT YET READY FOR REGULAR USE. PLEASE STAND BY. The...

Click to read more »
Module:Sandbox/koru1130
Sabtu, 2018-01-13 14:01:59

-- koru1130 Google Code-in 2017, Introduction to Lua in Wikipedia. -- Lua task #03 local p = {} -- p stands for package function p.hello( frame ) ...

Click to read more »
Module:Unindent/doc
Jumat, 2025-07-11 18:36:40

parsing. Lua supports multiline strings in the format [[\n...\n]]. In general, Lua does not outdent indented multiline strings out of the box. Though Lua supports...

Click to read more »
Module:Sandbox/sirenci/sometest
Jumat, 2019-12-20 18:18:03

--SIRENCI Google Code-in 2019, Introduction to Lua in Wikipedia --SIRENCI Google Code-in 2019, Introduction to Lua in Wikipedia local p = {} function p.hello(...

Click to read more »
Module:Sandbox/Yupik
Rabu, 2019-08-14 22:32:16

datatype in Lua; when we're calling things from outside the module, use frame return "Dearvva máilbmi!" end --end marks the end of a block in Lua p.Hi...

Click to read more »
Module:Sandbox/Onehsot
Senin, 2019-12-23 02:10:38

-- Onehsot Google Code-in 2019, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Escape input/doc
Selasa, 2026-05-26 01:17:05

special Lua character sequences to be escaped and inserted as parameters in arguments. In addition to those listed on mw:Extension:Scribunto/Lua_reference_manual#string...

Click to read more »
Module:Sandbox/Shriya06
Kamis, 2019-12-12 05:07:10

-- Shriya06 Google Code-in 2019, Introduction to Lua in Wikipedia -- Working with modules in Wikipedia local p = {} p.Hello = function(frame) strName...

Click to read more »
Module:Citation/CS1/Configuration/doc
Jumat, 2024-08-30 03:41:05

that controls the functioning of Module:Citation/CS1 and hence the way that Lua-based citations are generated. It has several sections among which are: translation...

Click to read more »
Module:Sandbox/DM224b
Selasa, 2018-01-16 00:20:27

--Gammaburst_3000 Google Code-in 2017, Introduction to Lua in Wikipedia. --[Lua task #03] Create your own Lua module on English Wikipedia: Google code-in local...

Click to read more »
Module:Navbar/doc
Minggu, 2025-10-12 14:17:27

This is a Lua implementation of {{Navbar}}. It is used in Module:Navbox....

Click to read more »
Module:Redirect
Jumat, 2021-09-10 14:46:37

the luaMain function from wikitext. function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {frameOnly = true}) return p.luaMain(args[1]...

Click to read more »
Module:Sandbox/Vodnokon4e/Test/doc
Jumat, 2016-09-23 14:24:40

Това не е истински Lua модул. Пясъчниците съществуват, за да осигурят удобно псевдо именно пространство за тестване на код. Това би предпазило именното...

Click to read more »
Module:Footnotes/whitelist/doc
Senin, 2024-12-02 22:58:05

entry is a pair of lists: a list of templates that share the Lua pattern(s), and a list of Lua patterns that cover the CITEREFs generated by all of the template...

Click to read more »
Module:Sandbox/Aidan9382/RSP/doc
Jumat, 2025-10-17 02:04:34

of combatting the current PEIS issue on WP:RSN - see discussions at WT:LUA § Lua programmer needed for short project related to Perennial sources page...

Click to read more »
Module:Random/sandbox
Selasa, 2023-04-04 01:40:10

-- For functions available from other Lua modules. local l = {} -- For functions not available from other Lua modules, but that need to be accessed using...

Click to read more »
Module:Params/testcases/sandbox
Minggu, 2026-02-15 13:24:34

2: world foo: bar 1. Calling {{#invoke:Sandbox/Grufo2|foobar}} directly…: Lua error in Module:Sandbox/Grufo2 at line 8: variable 'foobar' is not declared...

Click to read more »
Module:Based on
Selasa, 2026-05-12 22:40:50

local p = {} function p.lua_main(frame) local s = frame.args[1] if frame.args[3] then local args = {} for i, v in ipairs(frame.args) do ...

Click to read more »
Module:Internet Archive/doc
Senin, 2026-04-27 01:51:06

module: {{Internet Archive author}}, {{Internet Archive SCOTUS URL}} If future Lua scripts for Internet Archive are created (books, film, audio, etc), this...

Click to read more »
Module:Jf-JSON/sandbox
Minggu, 2018-02-18 02:54:37

decoding in pure Lua. -- -- Copyright 2010-2016 Jeffrey Friedl -- http://regex.info/blog/ -- Latest version: http://regex.info/blog/lua/json -- -- This...

Click to read more »
Module:Sandbox/Librarian lena
Sabtu, 2020-05-23 03:57:20

--this is how you comment --Lua cares about case but not whitespace --function starts an action, p ends it --functions can be local or global (in front...

Click to read more »
Module:Road data/locations/testcases
Sabtu, 2024-08-24 04:49:05

ipairs(args) do out = out .. frame:preprocess('<syntaxhighlight lang="lua">' .. mw.dumpObject(arg) .. '</syntaxhighlight>') end return out end...

Click to read more »
Module:Repr/doc
Minggu, 2021-03-14 09:27:07

This module contains functions for generating string representations of Lua objects. It is inspired by Python's repr function. To use the module, first...

Click to read more »
Module:Sandbox/Ahmedo Semsurî/doc
Minggu, 2015-11-15 05:27:34

Lua error in package.lua at line 80: module 'Module:Sandbox/Ahmedo Semsurî' not found....

Click to read more »
Module:Sandbox/Kinkenan
Selasa, 2020-01-21 14:38:15

Kinkenan Google Code-In 2019, Introduction to Lua in Wikipedia -- Kinkenan Google Code-In 2019, Introduction to Lua in Wikipedia local p = {} function p.hello(...

Click to read more »
Module:Sandbox/Tary123
Sabtu, 2017-12-30 02:10:49

--Tary123 Google Code-in 2017, Introduction to Lua in Wikipedia --Lua task #3 - Create your own Lua module on English Wikipedia local p = {} function...

Click to read more »
Module:Sandbox/Ribhav2002
Sabtu, 2018-12-01 23:36:24

--Ribhav2002 Google Code-in, Introduction to Lua in Wikipedia -- this is my module sandbox and the name of this task is "Lua Task 2 - Working with modules" --below...

Click to read more »
Module:Math/testcases
Jumat, 2026-01-30 20:57:23

suite.getLuaResult(funcName, args) args = args or {} local result = mm['_' .. funcName](unpack(args)) return result end function suite:assertLuaEquals(expected...

Click to read more »
Module:Arguments/doc
Kamis, 2026-02-26 17:42:19

(More details below.) Arguments can be passed in directly from another Lua module or from the debug console. Most features can be customized. First...

Click to read more »
Module:Sandbox/hdinh77
Minggu, 2018-12-09 13:25:30

--Hdinh77 Google Code-in, Introduction to Lua in Wikipedia --Hdinh77 Google Code-in, Working with Lua Modules in Wikipedia local p = {} -- p stands for...

Click to read more »
Module:Sandbox/lizaamini
Kamis, 2018-01-11 07:10:19

-- lizaamini Google Code-in 2017, Introduction to Lua in Wikipedia. -- Task 3: Create your own Lua module on English Wikipedia local p = {} -- p stands...

Click to read more »
Module:Sandbox/SphericalPotatoInVacuum
Jumat, 2018-11-09 00:54:16

-- Google Code-in, Introduction to Lua in Wikipedia -- Google Code-in, Working with modules local p = {} -- p stands for package function p.hello( frame...

Click to read more »
Module:Sandbox/Laxya2002
Kamis, 2018-12-06 04:09:39

--task 1 --Laxya2002 Google Code-in, Introduction to Lua in Wikipedia --name of the task is 'lua task 2' --task 2 local p = {} -- p stands for package...

Click to read more »
Module:Adjacent stations/Luas/doc
Sabtu, 2022-05-07 00:02:10

This is a data module for Module:Adjacent stations. It supports services in Dublin operated by Luas....

Click to read more »
Module:Sandbox/Sherylleong
Jumat, 2020-01-17 17:10:20

-- Sherylleong Google Code-in 2019, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Sandbox/YANKAI04
Jumat, 2018-11-23 08:18:36

-- YAN-KAI Google Code-in, Introduction to Lua in Wikipedia. local p = {} -- p stands for package function p.hello( frame ) return "Hello, world...

Click to read more »
Module:Sandbox/DeepRushil/sandbox
Rabu, 2018-11-28 21:43:20

--DeepRushil Google Code-in, Introduction to Lua in Wikipedia --DeepRushil Google Code-in, Working with modules local p = {} -- p stands for package ...

Click to read more »
Module:Scripts
Senin, 2023-11-20 10:47:19

script. Example: {{code|lua|"Latn"}} for {{code|lua|"Latnx"}} and {{code|lua|"Arab"}} for {{code|lua|"fa-Arab"}}. It returns {{code|lua|"top"}} for scripts...

Click to read more »
Module:Unindent
Jumat, 2026-01-30 22:31:11

function for string parsing. -- -- Lua supports multiline strings in the format `[[\n...\n]]`. In general, -- Lua does not outdent indented multiline...

Click to read more »
Module:Sandbox/Luis150902/Test/doc
Minggu, 2022-05-08 03:25:00

This Lua module is a metamodule: it is not designed to be invoked directly from wikitext: it is to be imported by other Lua modules. First, import the...

Click to read more »
Module:Purge/doc
Rabu, 2023-06-14 14:34:33

via Template:Purge. Please see the template page for documentation. From Lua, first you need to load the module: local mPurge = require('Module:Purge')...

Click to read more »
Module:Sandbox/Subiloble
Sabtu, 2018-01-06 22:23:31

--Subiloble Google Code-in 2017, Introduction to Lua in Wikipedia. --[Lua task #03] Create your own Lua module on English Wikipedia local p = {} -- p stands...

Click to read more »
Module:Redirect hatnote/doc
Senin, 2025-08-18 05:44:33

{{redirect}} or {{redirect2}} templates instead. To use this module from Lua, first load the module. local mRedirectHatnote = require('Module:Redirect...

Click to read more »
Module:Sandbox/Retro/doc
Sabtu, 2019-05-25 17:00:30

back here. I've worked with LUA a bit more since I took my break, so hopefully I can jump right in (though I'm no expert LUA programmer). eπi (talk | contribs)...

Click to read more »
Module:Fallbacklist/doc
Rabu, 2024-11-20 08:06:00

Language fallback rules for other Lua modules. c:Module:Fallbacklist...

Click to read more »
Module:Page/doc
Senin, 2024-09-02 05:15:19

listed in mw:Extension:Scribunto/Lua reference manual § Title objects to be accessed by people who do not want to write a Lua module. Usage is:...

Click to read more »
Module:Syrian Civil War map/doc
Sabtu, 2020-05-02 00:44:13

Lua error in Module:Location_map/multi at line 235: bad argument #1 to 'ipairs' (table expected, got nil)....

Click to read more »
Module:Transclude DYK
Rabu, 2018-07-25 23:07:18

= v end for k, v in pairs(frame.args) do args[k] = v end -- args from a Lua call have priority over parent args from template -- Read the input page...

Click to read more »
Module:Sandbox/oliverysfx
Sabtu, 2018-11-10 13:05:41

--Oliverysfx Google Code-in, Introduction to Lua in Wikipedia --Oliverysfx Google Code-in, Working with modules local p = {} -- p stands for package ...

Click to read more »
Module:Sandbox/ycwei982
Selasa, 2018-10-30 12:19:45

-- Ycwei982 Google Code-in, Introduction to Lua in Wikipedia -- Ycwei982 Google Code-in, working with modules local p = {} function p.hello(frame) return...

Click to read more »
Module:Sandbox/Mmkaram/module
Jumat, 2021-07-09 08:44:44

-- ogechi Outreachy Introduction to Lua in Wikipedia local p = {} function p.hello( frame ) return "Hello, world!" end p.Hi = function(frame) local...

Click to read more »
Module:Sandbox/RexxS/SayHello
Rabu, 2022-04-13 16:39:32

THIS PAGE local p = {} p.Hi = function(frame) strName = frame.args.name return "Hello from Lua to my friend " .. strName .. ".<br>" end return p...

Click to read more »
Module:BronMeat/WordLinker/doc
Selasa, 2026-02-10 16:40:57

{{BronMeat/WordLinker|Lua is a programming language used in Wikipedia for modules, it's lightweight and embeddable...|exclude=...,embeddable}} Result: Lua is a programming...

Click to read more »
Module:Sandbox/JJPMaster/test
Minggu, 2021-03-14 22:58:18

{} function p.main( frame ) return "Hey look ma, I can program in Lua!" end function p.unmain( frame ) return "Hello mother, please look...

Click to read more »
Module:Based on/doc
Minggu, 2025-11-02 20:02:33

this module (all arguments except work name optional): {{#invoke:Based on|lua_main|Work name|Writer 1|Writer 2|...}} To call it from a template, passing...

Click to read more »
Module:Side box/doc
Jumat, 2023-11-10 13:36:17

Please see the template page for documentation. To use this module from other Lua modules, first load the module. local mSideBox = require('Module:Side box')...

Click to read more »
Module:Sandbox/AmeyaPurao
Rabu, 2020-01-01 03:48:49

--AmeyaPurao Google Code-in 2019, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Ns has subpages/doc
Sabtu, 2024-10-19 09:12:27

subpages}} template. Please see the template page for documentation. Usually Lua modules should use mw.site.namespaces[namespace].hasSubpages rather than...

Click to read more »
Module:Sandbox/OzanMirza1
Kamis, 2018-11-08 20:31:26

-- Google Code-in, Introduction to Lua in Wikipedia -- Google Code-in, Lua Task 2 - Working with modules local p = {} -- p stands for package function...

Click to read more »
Module:Sandbox/Witek1q2w3
Minggu, 2019-12-08 02:26:36

--Witek1q2w3 -- Witek1q2w3 Google Code-in 2019, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules local p = {} function p.hello( frame...

Click to read more »
Module:Sandbox/Janeccerek
Jumat, 2017-12-29 06:03:30

Nowosielski Google Code-in 2017, Introduction in Lua to Wikipedia --[Lua task #3] Create your own Lua module on English Wikipedia local p = {} -- p stands...

Click to read more »
Module:CountryData
Kamis, 2021-05-06 03:40:05

country,params) --Returns the parameters of a country data template as a Lua table --If not a valid data template, return empty table local bool,...

Click to read more »
Module:Sandbox/Robingan7
Senin, 2018-11-12 01:38:31

Google Code-in, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules Google Code-in, Introduction to Lua in Wikipedia local p = {}-- p...

Click to read more »
Module:Taxonbar/whitelist/doc
Minggu, 2026-05-24 14:14:25

This module returns strict, lax, or all acceptable instance of (P31)s as a Lua table for use in a module such as Module:Taxonbar. For use in documentation...

Click to read more »
Module:Sandbox/Html1110
Selasa, 2018-12-04 02:51:37

Code-in, Introduction to Lua in Wikipedia local p = {} p.Hi = function(frame) strName = frame.args.name return "Hello from Lua to my friend " .. strName...

Click to read more »
Module:Sandbox/AngC10
Selasa, 2018-11-20 12:18:26

--AngC10 Google Code-in, Introduction to Lua in Wikipedia --AngC10 Google Code-in, Working with Modules local p = {} -- p stands for package function...

Click to read more »
Module:SimpleDebug/doc
Minggu, 2021-10-17 20:29:05

functions to help debug the lua modules. It allows to collect and view the values of several variables and/or points in your lua program, from a module (which...

Click to read more »
Module:Redirect/sandbox
Senin, 2023-04-17 04:25:54

the luaMain function from wikitext. function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {frameOnly = true}) return p.luaMain(args[1]...

Click to read more »
Module:Docbunto/i18n
Rabu, 2026-05-27 00:43:43

["message-autogeneration"] = "Generated by [[w:c:dev:Global Lua Modules/Docbunto|Docbunto]].", ["no-content"] = "Lua source code not found in $1", ["no-markup"]...

Click to read more »
Module:Sandbox/TimurO
Kamis, 2018-01-11 15:27:53

TimurO Google Code-in 2017, Introduction to Lua in Wikipedia. -- TimurO Google Code-in 2017, Create your own Lua module on English Wikipedia local p = {}...

Click to read more »
Module:Sandbox/Andy M. Wang/Sandbox/sandbox
Sabtu, 2016-10-29 08:29:07

local p = {} function p.lua_main(frame) local s = frame.args[1] if frame.args[3] then local args = {} for i, v in ipairs(frame.args) do ...

Click to read more »
Module:Sandbox/Yajnvb
Selasa, 2018-01-09 08:36:45

--Yajnvb Google Code-in 2017, Introduction to Lua in Wikipedia. --[Lua task #03] Create your own Lua module on English Wikipedia ( Wikimedia ) local p...

Click to read more »
Module:US elections imagemap/doc
Rabu, 2021-01-20 03:53:43

this only generates state shapes and links. This is due to a limitation in Lua modules. For valid values of |cycle= and |extra_states=, see Module:US elections...

Click to read more »
Module:Subject bar/doc
Sabtu, 2023-07-22 17:07:37

use the {{Subject bar}} template instead. To use the module from another Lua module, read on. For test cases, see {{Subject bar/testcases}}. Load the...

Click to read more »
Module:String/doc
Minggu, 2026-05-24 13:57:35

not a Lua pattern, it is interpreted literally. "{{#invoke:String|endswith|xxxyyy|y}}" → "yes" "{{#invoke:String|endswith|xxxyyy|z}}" → "" In a Lua pattern...

Click to read more »
Module:Sandbox/Denis1245
Selasa, 2018-12-04 02:41:11

--Denis1245 Google Code-in, Introduction to Lua in Wikipedia --Denis1245 Google Code-in, Working with modules local p = {} -- p stands for package function...

Click to read more »
Module:Sandbox/minhducsun2002
Senin, 2019-12-23 20:23:58

Introduction to Lua in Wikipedia local p = {} p.Hi = function(frame) strName = frame.args.name or "Jimmy" return "Hello from Lua to my friend " ....

Click to read more »
Module:Sandbox/Yuxuan02
Kamis, 2018-12-06 18:35:55

-- Yuxuan02 Google Code-in, Introduction to Lua in Wikipedia local p = {} -- p stands for package function p.hello( frame ) return "Hello, world...

Click to read more »
Module:Sandbox/YH2003
Kamis, 2018-12-06 18:15:44

-- YH2003 Google Code-in, Introduction to Lua in Wikipedia local p = {} -- p stands for package function p.hello( frame ) return "Hello, world!"...

Click to read more »
Module:Sandbox/ShahJahanIshaq19
Kamis, 2020-01-16 18:22:39

--Shah Jahan Ishaq Google Code-in 2019, Introduction to Lua in Wikipedia --Working with modules local p = {} function p.hello( frame ) return "Hello...

Click to read more »
Module:Sandbox/Saaswath Sundaresan
Sabtu, 2018-12-08 18:13:38

-- methodsolver17821, Google Code-in, Introduction to Lua in Wikipedia --methodsolver17821, Google Code-In, Working with Modules local p = {} -- p...

Click to read more »
Module:Sandbox/UdayDatar7
Senin, 2019-12-09 16:53:41

--UdayDatar7 Google Code-in 2019, Introduction to Lua in Wikipedia local p = {} function p.hello( frame ) return "Hello, world!" end p.Hi = function(frame)...

Click to read more »
Module:Sandbox/Lea Lacroix (WMDE)
Rabu, 2019-08-14 22:16:27

--Sandbox created during the Lua workshop at Wikimania hackathon 2019 --task2 p={} function p.CleverName(frame) return 'Hello world' end p.Hi = function(frame)...

Click to read more »
Module:Adjacent stations/doc
Selasa, 2025-06-03 23:16:39

some knowledge of Lua helps prevent mistakes. If you have programmed or used Lua before, you may like to skip the next subsection. Lua has data types. The...

Click to read more »
Module:Sandbox/Qx.est
Senin, 2018-01-15 09:38:13

-- Google Code-in 2017, Introduction to Lua in Wikipedia. -- Creating Lua modules! local p = {}; function p.hello( frame ) return "Hello, world...

Click to read more »
Module:Sports table/testcases wikitext
Sabtu, 2025-07-19 04:26:19

head-to-head against team 3 EEE Source: Candidates Tournament 2024 Lua error in package.lua at line 80: module 'Module:Sports table/Chess/sandbox' not found...

Click to read more »
Module:DYK nompage links/doc
Jumat, 2024-08-30 04:03:31

Template:DYK nompage links for a list of arguments. To use this module from other Lua modules, first load the module: local mDYKlinks = require('Module:DYK nompage...

Click to read more »
Module:Sandbox/Lizehao2002
Jumat, 2018-12-07 22:15:34

-- Lizehao2002 Google Code-in, Introduction to Lua in Wikipedia -- Lizehao2002 Google Code-in, Working with modules local p = {} -- p stands for package...

Click to read more »
Module:Sandbox/Slashme
Rabu, 2019-08-14 22:20:00

--LUA test --Task 2 p = {} function p.sandbox1(frame) return "JMSP" end p.Hi = function(frame) strName = frame.args.name or "Dave" return "Hello...

Click to read more »
Module:Authority control/config/doc
Minggu, 2024-12-29 09:31:41

number to place the identifier. See #List of sections for details. pattern = Lua pattern of valid format for identifier. Note this is similar but not identical...

Click to read more »
Module:Sandbox/KAHXIAN2001
Jumat, 2018-12-07 07:27:36

-- KahXian Google Code-in, Introduction to Lua in Wikipedia local p = {} -- p stands for package function p.hello( frame ) return "Hello, world...

Click to read more »
Module:Sandbox/NikNabhan
Selasa, 2020-01-21 22:00:43

NikNabhan Google Code-in 2019, Introduction to Lua in Wikipedia -- NikNabhan Google Code-in 2019, Creating your own Lua module local p = {} function p.hello(...

Click to read more »
Module:Sandbox/Artbarte
Kamis, 2018-11-01 21:02:34

-- Artbarte Google Code-in, Introduction to Lua in Wikipedia -- Arbarte Google Code-in, Working with modules local p = {} -- p stands for package function...

Click to read more »
Module:In5/doc
Jumat, 2024-08-30 04:50:47

This is a Lua implementation of the {{in5}} template. Please see the template page for documentation....

Click to read more »
Module:Based on/sandbox
Rabu, 2026-05-13 16:45:57

local p = {} function p.lua_main(frame) local s = frame.args[1] local indent = frame.args['indent'] indent = indent and indent:lower() or "" local...

Click to read more »
Module:Clickable button/doc
Minggu, 2025-12-28 22:33:38

template page for a list of available parameters. To use this module from other Lua modules, first load the module. local mClickableButton = require('Module:Clickable...

Click to read more »
Module:Sandbox/Ohm100
Rabu, 2017-12-20 21:33:52

--ohmoma100 -- [Lua task #3] Create your own Lua module on English Wikipedia local p = {}-- p stands for package p.mum = function(frame) local family...

Click to read more »
Module:Sandbox/Shah Jahan Ishaq
Kamis, 2018-11-22 23:34:36

--Shah Jahan Ishaq Google Code-in, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules local p = {} -- p stands for package function...

Click to read more »
Module:Sandbox/PHansen/Param
Selasa, 2015-03-31 15:54:03

local p = {} and return p and local text = "" (avoid nil) <source lang="lua"> --]=] local p = {} -- added function p.main( frame ) local pFrame...

Click to read more »
Module:Icon/doc
Sabtu, 2026-03-28 05:02:44

may be used instead of {{Icon|icon name}}. To use this module from another Lua module, first load it: local mIcon = require('Module:Icon') Then you can...

Click to read more »
Module:Sandbox/Ttonyxx
Sabtu, 2018-11-24 09:56:18

-- Ttonyxx Google Code-in, Introduction to Lua in Wikipedia -- Ttonyxx Google Code-in, Working with modules local p = {} -- p stands for package function...

Click to read more »
Module:Sandbox/Mant08/IMDb name/doc
Kamis, 2026-03-26 08:13:30

This module implements the legacy Template:IMDb name logic, using Lua. It is supposed to be used through Template:X., by writing: {{#invoke:Sandbox/Mant08/IMDb...

Click to read more »
Module:Repr
Sabtu, 2022-10-22 05:05:04

the given value is a valid Lua identifier (i.e. whether it can be -- used as a variable name.) --]] local function isLuaIdentifier(str) return type(str)...

Click to read more »
Module:Sandbox/BrandonXLF/user space/doc
Kamis, 2021-09-23 10:15:13

This module contains Lua functions used in the User:BrandonXLF user space....

Click to read more »
Module:Sandbox/NicholasG04
Kamis, 2019-12-19 01:26:06

-- NicholasG04 - Google Code-in 2019, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello( frame ) ...

Click to read more »
Module:WikitextParser/doc
Kamis, 2026-03-12 19:08:15

is a general-purpose wikitext parser. It's designed to be used by other Lua modules and shouldn't be called directly by templates. First, require WikitextParser...

Click to read more »
Module:Detect singular/doc
Jumat, 2024-08-30 04:07:56

Lua to determine whether a string is singular or plural. Designed for use in infoboxes, to determine whether labels should be singular or plural based...

Click to read more »
Module:Road data/size/testcases
Selasa, 2024-08-27 01:14:42

function p:test_size_lua() self:equals('Basic call', sandbox._size{style='infobox'}, '72px') end function p:test_ignoreUpright_lua() self:equals('Do...

Click to read more »
Module:Error
Kamis, 2025-09-11 22:10:08

if the message parameter is present but blank, change it to nil so that Lua will -- consider it false. if args.message == "" then args...

Click to read more »
Module:Sandbox/Kamil Kras
Sabtu, 2018-11-10 01:28:30

-- Vemu Google Code-in, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} -- p stands for package function p.hello(...

Click to read more »
Module:Sandbox/Ppolca
Minggu, 2018-12-09 06:21:58

-- Ppolca Google Code-in, Introduction to Lua in Wikipedia -- Ppolca Google Code-in, Working with Modules local p = {} -- p stands for package function...

Click to read more »
Module:Sandbox/Clockery
Kamis, 2017-12-21 23:01:51

-- Google Code-in 2017, Introduction to Lua in Wikipedia. -- Google Code-in 2017, Create your own Lua module on English Wikipedia local p = {} function...

Click to read more »
Module:Sandbox/JaimePRE
Kamis, 2018-11-29 22:28:41

-- jaimeiji Google Code-in, Introduction to Lua in Wikipedia -- jaimeiji Google Code-in, Lua Task 2 - Working with modules local p = {} -- p stands for...

Click to read more »
Module:Sandbox/Arcayn
Kamis, 2018-10-25 04:32:24

-- Arcayn, Google Code In, Introduction to Lua in Wikipedia -- Task 02 local p = {} p.hello = function( frame ) return "Hello, world!" end p.Hi...

Click to read more »
Module:Dynkin
Sabtu, 2021-03-20 20:42:23

_Dynkin(args) end function p._Dynkin(args) -- For calling from other Lua modules. local body ='<span style="display:inline-block;">' -- create...

Click to read more »
Module:Sandbox/How222
Rabu, 2018-11-21 00:29:06

--How222 Google Code-in, Introduction to Lua in Wikipedia --How222 Lua Task 2 - Working with modules local p = {} -- p stands for package function p...

Click to read more »
Module:Other uses of/doc
Kamis, 2016-04-07 02:37:16

This module should neither be invoked directly nor used from Lua. Use the {{other uses of}} template instead....

Click to read more »
Module:Sandbox/PMP5728
Jumat, 2019-12-20 08:35:36

-- Google Code-in 2019, Introduction to Lua in Wikipedia -- Task 2: Working with modules local p = {} function p.hello( frame ) return "Hello, world...

Click to read more »
Module:Sandbox/Tarunkpal2
Sabtu, 2018-11-10 23:24:30

--Tarunkpal2 Google Code-in, Introduction to Lua in Wikipedia -- Tarunkpal2 Google Code-in,Working with modules local p = {} -- p stands for package ...

Click to read more »
Module:TableTools
Minggu, 2024-08-18 11:19:07

number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should not -- -- be called...

Click to read more »
Module:Sandbox/iantresman/sandbox/titlesubscripts
Jumat, 2013-12-13 08:08:05

emulates Lua's colon syntax. This syntax is often -- used in implementing Lua's version of object-oriented programming. Take a look at -- http://www.lua.org/pil/16...

Click to read more »
Module:Sandbox/Bjornskjald
Jumat, 2018-11-30 04:21:06

-- Bjornskjald, Google Code-in, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} -- p stands for package function...

Click to read more »
Module:Automated taxobox/testcases
Rabu, 2020-10-07 15:47:11

{{Automatic taxobox}}, {{Ichnobox}} and {{Oobox}} were fully implemented in Lua; only partial support was provided for {{Speciesbox}}. {{Automatic taxobox}}...

Click to read more »
Module:Asbox stubtree/doc
Jumat, 2024-08-30 03:18:51

the same function via {{Asbox/templatepage}} prior to being converted to Lua. In addition to the contributors listed in the contribution histories of...

Click to read more »
Module:User:Cscott/compat
Jumat, 2024-03-29 23:20:59

function(myrequire) -- Compatibility functions -- (Things present in Lua 5.3 that are missing in Lua 5.1) local compat = {} local string = myrequire('string')...

Click to read more »
Module:URL/doc
Rabu, 2025-09-24 04:18:30

documentation. The p._url(url, text, msg) function may be used by other Lua modules. It returns a formatted Wikitext for the given URL, made suitable...

Click to read more »
Module:CountryData/sandbox
Sabtu, 2023-07-22 13:11:06

country,params) --Returns the parameters of a country data template as a Lua table --If not a valid data template, return empty table local bool,...

Click to read more »
Module:Sandbox/banak/doc
Jumat, 2015-11-27 00:39:38

Lua error in Module:Location_map/multi at line 235: bad argument #1 to 'ipairs' (table expected, got nil)....

Click to read more »
Module:Documentation/config/sandbox
Selasa, 2026-05-26 23:45:15

cfg['module-autodoc-heading'] -- The heading shown in the module namespace, when a valid LuaDoc exists. cfg['module-autodoc-heading'] = 'Module autodoc' --...

Click to read more »
Module:Csdcheck/doc
Jumat, 2024-08-30 04:00:39

This is the Lua module called by {{csdcheck}}. Please see the main template page for documentation....

Click to read more »
Module:Sandbox/Justinc/First/testcases
Kamis, 2013-05-16 18:19:35

require('Module:UnitTests') function p:test_hello() self:preprocess_equals('{{#invoke:Sandbox/Justinc/First | hello}}', 'Hello from Lua') end return p...

Click to read more »
Module:Sandbox/Rprimus06/Second
Minggu, 2013-05-19 17:29:38

local n = { helloworld = function(frame) name = frame.args.name or 'unknown' return 'Hello from Lua ' .. name end } return n...

Click to read more »
Module:Pagelist/doc
Selasa, 2013-07-09 19:03:10

This is a Lua implementation of {{pagelist}}. Please see the template page for documentation....

Click to read more »
Module:Coxeter–Dynkin diagram/doc
Jumat, 2024-08-30 03:59:20

the template documentation for how that is used. For using this from other Lua modules, first load the module. local CDD = require('Module:Coxeter–Dynkin...

Click to read more »
Module:Indent/doc
Jumat, 2024-08-30 04:51:32

This is a Lua implementation of the {{indent}} template. Please see the template page for documentation....

Click to read more »
Module:Sandbox/hemal-55/second
Minggu, 2013-05-19 17:25:51

local m = { helloworld = function(frame) name = frame.args.name or "unknown" return "Hello from Lua " .. name end, } return m...

Click to read more »
Module:Sandbox/Sumit
Sabtu, 2019-12-28 22:57:42

-- Sumitkhan Google Code-in 2019, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Sandbox/DeepRushil
Senin, 2018-11-26 14:56:36

--DeepRushil Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Rhys420
Selasa, 2018-01-02 08:07:53

--Rhys420 Google Code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/Quixus123/2
Sabtu, 2019-12-28 11:42:09

--Quixus123 Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/dijolin/doc
Kamis, 2018-12-06 20:47:23

{{Module rating }} -- DIJOLIN Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Shah Jahan Ishaq/2
Kamis, 2018-12-27 09:04:34

--Shah Jahan Ishaq Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Natkabrown/1
Minggu, 2013-05-19 17:33:30

local m = { helloworld = function(frame) name = frame.args.name or "unknown" return "Hello from Lua" .. name end, } return m...

Click to read more »
Module:Table row counter/doc
Selasa, 2020-07-07 20:28:57

counter | main}} in place of {{table row counter}}. To use this module from other Lua modules, first load the module. local mTRC = require('Module:Table row counter')...

Click to read more »
Module:Sandbox/Xinbenlv/LuaHelloWorld/doc
Senin, 2019-03-25 04:12:03

Do it like this: {{#invoke:Sandbox/Xinbenlv/LuaHelloWorld|sayhello|name=John}} And it looks like this Hello John!...

Click to read more »
Module:Sandbox/Wikiasus1/wikiasus1module
Senin, 2018-12-10 07:25:10

--Google Code-in, Introduction to Lua in Wikipedi...

Click to read more »
Module:User:Doc Taxon/Hello
Selasa, 2015-10-13 09:18:21

'World' end local u = "" for i = 1, 5 do u = u .. '\n\n' .. i .. ': Hello ' .. name .. '! This is Lua!' end return u end return p...

Click to read more »
Module:Sandbox/Rprimus06/Second/testcases
Minggu, 2013-05-19 18:06:37

function p:test_hello() self:preprocess_equals("{{#invoke:Sandbox/Rprimus06/Second | helloworld}}" , 'Hello from Lua unknown') end return p...

Click to read more »
Module:Sandbox/StoppedGalaxy
Selasa, 2018-11-27 10:27:25

--StoppedGalaxy Google Code-in Task 1, Introduction to Lua in Wikipedia --StoppedGalaxy Google Code-in Task 2, Working with modules local p = {} -- p...

Click to read more »
Module:Sandbox/yajnvb
Selasa, 2017-12-26 05:50:55

--yajnvb Google Code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/Quixus123/TEST
Sabtu, 2019-12-28 11:42:20

--Quixus123 Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Spyirate
Selasa, 2020-01-07 14:22:48

--Spyirate's Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Aidan9382/DocInteraction/doc
Senin, 2023-10-30 10:27:23

Testing page for firing specific parts of Documentation with tables (only reasonably doable from lua) testCurrent: testSandbox:...

Click to read more »
Module:Sandbox/Tambe-Ekong
Kamis, 2020-01-02 22:30:20

--Tambe-Ekong Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Yummypasta
Rabu, 2018-10-24 22:09:49

-- yummypasta / Sir Yoonicorn --Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Jikat2
Rabu, 2018-01-03 08:45:31

--Google Code-in 2017, Introduction to Lua in Wikipedia. --Google Code-in 2017, Create your own Lua module on English Wikipedia local p = {} -- p stands...

Click to read more »
Module:Set/doc
Selasa, 2021-11-16 10:03:12

This module includes a number of set operations for Lua tables. It currently has union, intersection and complement functions for both key/value pairs...

Click to read more »
Module:Sandbox/Da07tar
Rabu, 2019-12-04 09:39:58

-- TheJanitor(UDAY DATAR) Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/xiaowan108
Kamis, 2018-11-22 21:59:22

--Google Code-in, Introduction to Lua in Wikipedia--...

Click to read more »
Module:TNT
Minggu, 2020-08-30 14:28:25

id, params, lang) end -- Identical to p.msg() above, but used from other lua modules -- Parameters: name of dataset, message key, optional arguments...

Click to read more »
Module:Sandbox/Yu Chenbo
Minggu, 2018-01-07 11:13:48

--Google Code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:About/doc
Sabtu, 2026-02-14 00:59:17

probably only be used in {{about}}. The _about function can be used from Lua to supply a custom arguments list (its first argument) and/or an options...

Click to read more »
Module:Category handler/blacklist
Sabtu, 2020-04-18 15:48:05

contains the blacklist used by [[Module:Category handler]]. -- Pages that match Lua patterns in this list will not be categorised unless -- categorisation is...

Click to read more »
Module:WP
Sabtu, 2022-10-22 05:02:57

R S >---------------------------------- Returns a string where all of lua's magic characters have been escaped. This is important because functions...

Click to read more »
Module:Sandbox/Ajuanca/main Module
Senin, 2019-12-09 05:02:36

-- Ajuanca, Google Code-in 2019, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/MBafna19
Kamis, 2017-12-21 23:39:29

-- MBafna Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/wanderlust2003
Selasa, 2018-01-09 23:19:18

-- wanderlust2003 Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/sarikaramniklal/second
Minggu, 2013-05-19 18:37:32

local m = { function1 = function(frame) name = frame.args.name or "unknown" return "Hello from Lua " .. name end, } return m...

Click to read more »
Module:US elections imagemap/utils/doc
Rabu, 2021-05-26 12:50:31

many other string utilities on Wikipedia, these are designed to be called from another Lua script easily — not to be called directly with {{#invoke}}....

Click to read more »
Module:Road data/parser/doc
Senin, 2024-08-26 22:10:50

This module exports the parser function, which can be used from within Lua to fetch an entry from the appropriate string module. See the comment for the...

Click to read more »
Module:Submit an edit request/doc
Senin, 2024-12-16 22:34:00

pages for a list of available parameters. To use this module from other Lua modules, first load the module. local mEditRequest = require('Module:Submit...

Click to read more »
Module:Sandbox/kaaro01/testlua
Sabtu, 2016-09-24 03:44:08

local p={} function p.testFn( frame) return 'Lua Script run' end return p...

Click to read more »
Module:Sandbox/daarhlong
Kamis, 2018-01-11 22:33:30

--Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/theliewasacake
Sabtu, 2018-12-08 12:22:39

--theliewasacake Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Citation/CS1/COinS
Sabtu, 2025-04-12 20:48:47

-- no more URLs pattern = escape_lua_magic_chars (pattern); -- pattern is not a literal string; escape Lua's magic pattern characters pages =...

Click to read more »
Module:Sandbox/bleed.tech
Senin, 2023-05-29 15:04:18

-- bleed.tech Google Code-in, Introduction to Lua in Wikipedia -- name of this task is 'Lua Task #2' local p = {} -- p stands for package function p...

Click to read more »
Module:Sandbox/Quixus123
Kamis, 2020-01-16 19:34:21

--Quixus123 Google Code-in 2019, Introduction to Lua in Wikipedia --Task 2: Working with modules local p = {} function p.hello( frame ) return "Hello...

Click to read more »
Module:Unicode data/scripts/make
Kamis, 2020-03-12 02:28:30

p.highlight(lua_code) return mw.getCurrentFrame():extensionTag{ name = "syntaxhighlight", content = lua_code, args = { lang = "lua" } } end function...

Click to read more »
Module:Sandbox/Crutishnyk
Sabtu, 2019-12-21 00:56:51

-- Crutishnyk. Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Denis1245/2
Senin, 2019-12-09 05:16:40

--Denis1245 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/KuboF Hromoslav
Kamis, 2019-08-15 01:59:33

-- komento -- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual -- tasko 2 p = {} function p.Nomo (frame) return "Hallo, world...

Click to read more »
Module:Sandbox/Sricharan V/Module1
Senin, 2020-01-20 20:10:22

-- Sricharan V, Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Arazzell
Selasa, 2020-01-21 09:49:58

--Arazzell Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Nimaex
Selasa, 2019-12-03 02:00:52

-- Nimaex, Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Angr pukhlya
Minggu, 2019-10-13 20:20:52

--angr_pukhlya, Google Code-in, Introduction to Lua in Wikipedia --GCI, Lua Task 2 - Working with modules local p = {} -- p stands for package function...

Click to read more »
Module:Sandbox/hussamsi
Selasa, 2022-03-22 17:17:49

-- hussamsi Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Gitgit123hub/test/doc
Minggu, 2017-11-12 17:12:12

Lua error in Module:Sandbox/Gitgit123hub/test at line 3: attempt to call field 'tmpname' (a nil value)....

Click to read more »
Module:Sandbox/FishyPower
Minggu, 2018-01-14 16:26:49

-- FishyPower Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Wade
Jumat, 2018-01-12 22:44:26

--Wade,Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Agent-008
Sabtu, 2017-12-30 02:36:27

-- Agent-008 Google Code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:Flag list
Selasa, 2025-11-04 05:08:56

specified image size local p = {} function p.luawidth(size) --For use within Lua local w if string.find(size,"^%d+x%d+px$") then -- width and height (eg...

Click to read more »
Module:Sandbox/Erutuon/random/doc
Senin, 2017-11-27 09:22:00

Lua error in Module:Sandbox/Erutuon/random at line 33: attempt to index field 'code_to_name' (a nil value)....

Click to read more »
Module:Listen/doc
Jumat, 2024-08-30 05:10:04

Please see the template page for documentation. To use this module from other Lua modules, first load the module. local mListen = require('Module:Listen')...

Click to read more »
Module:Listeria
Rabu, 2025-07-30 06:59:24

to Lua local wiki = mw.wikibase.getGlobalSiteId() or "enwiki" -- This should be generated automatically, but I don't know how it is exposed to Lua local...

Click to read more »
Module:Signpost/index/2013/doc
Minggu, 2024-04-28 03:56:32

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/hakanist
Kamis, 2019-08-15 21:09:20

Training at Wikimania 2019 -- this is a comment p = {} -- I think this is a Lua "table" -- we could have seveal functions, each of which is an entry in...

Click to read more »
Module:Sandbox/Awesome Aasim/Personal Sandbox/doc
Sabtu, 2025-03-01 00:11:28

Lua error in Module:I18n at line 386: i18n for Sandbox/Awesome Aasim/Personal Sandbox is missing. {{#invoke:Sandbox/Awesome Aasim/Personal Sandbox|function_name}}...

Click to read more »
Module:Sandbox/Denis
Sabtu, 2018-12-01 23:00:50

--Denis Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/shreyasminocha/test
Selasa, 2018-10-30 13:02:33

-- shreyasminocha — Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Spellnum per MOS/doc
Jumat, 2021-06-11 23:41:28

MOS|main|number to format|if second arg equals 1, prefer numerals}} For use by other Lua modules: local spellnum = require('Module:Spellnum per MOS').spellnum spellnum{...

Click to read more »
Module:TFA title/doc
Kamis, 2023-02-16 10:38:35

Lua wrapper around the data in Template:TFA title/data.json, primarily to be used in Template:Editnotices/Namespace/Main. {{#invoke:TFA...

Click to read more »
Module:Sandbox/Mrjohncummings/Second
Minggu, 2013-05-19 17:26:35

local m = { helloworld = function(frame) name = frame.args.name or "unknown" return "Hello from Lua " .. name end, } return m...

Click to read more »
Module:Sandbox/JeremyNguyenGCI
Minggu, 2020-01-19 07:56:08

--JeremyNguyenGCI Google Code-in 2019, Introduction to Lua in Wikipedia -- Task 2 local p = {} function p.hello(frame) return "Hello, world!" end function...

Click to read more »
Module:Su/doc
Kamis, 2023-12-28 20:00:16

Please see the template page for documentation. To use this module from other Lua modules, first load the module. local mSu = require('Module:Su') You can...

Click to read more »
Module:Sandbox/Cragios
Rabu, 2018-01-10 20:57:07

--Cragios Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/econterms
Rabu, 2019-08-14 22:29:09

Training at Wikimania 2019 -- this is a comment p = {} -- I think this is a Lua "table" -- we could have seveal functions, each of which is an entry in...

Click to read more »
Module:Sandbox/AdamHusain
Minggu, 2017-12-24 00:25:13

--AdamHusain Google Code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/ruwina/second
Minggu, 2013-05-19 18:00:56

local m = { function1 = function(frame) name = frame.args.name or "unknown" return "Hello from Lua " .. name end, } return m...

Click to read more »
Module:Sandbox/PHansen/a
Sabtu, 2014-12-13 16:10:23

--https://en.wikipedia.org/wiki/Help:Lua_for_beginners --testes via: User:PHansen/a local p = {} -- defines a variable p as an empty table, but *not*...

Click to read more »
Module:Sandbox/Wade/sandbox
Jumat, 2018-01-12 23:45:02

--[[ --Wade,Google Code-in 2017, Introduction to Lua in Wikipedia --]] local p = require('Module:UnitTests') function p:test_hello() ...

Click to read more »
Module:Sandbox/Rprimus06/Second/doc
Minggu, 2013-05-19 17:31:34

of creating a Scibunto Module. The modules is called 'Second' and simply returns a string 'Hello from Lua ' with the argument passed to the function....

Click to read more »
Module:ScribuntoUnit/doc
Jumat, 2026-01-30 21:43:03

This module provides unit tests for other Lua modules. To test a module, you must create a separate test module, usually located at Module:Module name/testcases...

Click to read more »
Module:Sandbox/GCIzub
Minggu, 2018-10-28 02:20:27

-- GCIzub Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Dashora7/Test
Selasa, 2018-10-30 07:10:44

--Dashora7 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Lizehao2002/2
Sabtu, 2019-12-28 11:45:03

-- Lizehao2002 Google Code-in, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/PinkBlob1
Sabtu, 2018-12-08 09:22:17

-- PinkBlob1 Google Code-in, Introduction to Lua in Wikipedia -- PinkBlob1 Google Code-in, Working with Modules in Wikipedia local p = {} -- p stands...

Click to read more »
Module:Sandbox/HouseBlaster/doc
Sabtu, 2025-09-06 08:39:48

This is the Lua sandbox of HouseBlaster (talk · contribs · blocks · protections · deletions · page moves · rights · RfA). 12345678910...

Click to read more »
Module:Sandbox/Matchafrap47
Sabtu, 2018-10-27 12:32:25

--Google Code-in, Introduction to Lua in Wikipedia--...

Click to read more »
Module:Example/sandbox
Senin, 2025-02-24 12:31:25

Module:Example -- Demonstration of a Lua Module for Wikipedia -- -- This module serves as an example and guide for creating Lua modules on -- Wikipedia. It defines...

Click to read more »
Module:Based on2
Jumat, 2026-04-24 07:14:36

local p = {} function p.lua_main(frame) local s = frame.args[1] if frame.args[3] then local args = {} for i, v in ipairs(frame.args) do ...

Click to read more »
Module:Sandbox/Bluecode23
Selasa, 2019-12-10 10:31:26

-- Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Arnav2710
Sabtu, 2018-12-08 01:28:03

--Arnav2710 Google Code-in,Introduction to Lua in Wikipedia...

Click to read more »
Module:Signpost/index/2010/doc
Minggu, 2024-04-28 03:56:35

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/Wwdjbox
Senin, 2018-11-12 18:16:39

--Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Liscth
Sabtu, 2017-12-16 19:32:47

--lcst Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Check for unknown parameters/doc
Rabu, 2026-06-03 19:56:33

class="error">Sorry, I don't recognize _VALUE_</span>|arg1|arg2|...|argN}} To use Lua patterns, use: {{#invoke:Check for unknown parameters|check|unknown=[[Category:Some...

Click to read more »
Module:Sandbox/Smsingh34/2
Sabtu, 2019-12-28 11:44:09

--smsingh Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Documentation/config
Selasa, 2025-10-14 01:10:40

= 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' --------------------------------------------------...

Click to read more »
Module:Sandbox/Pulkit Coder
Minggu, 2020-01-19 23:26:33

-- Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Sabreen1968
Jumat, 2018-11-16 21:10:46

-- Sabreen1968 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Yeohyuyong
Senin, 2018-01-15 15:55:51

--Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Tarunkpal2/2
Sabtu, 2019-12-28 11:43:54

--Tarunkpal2,Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Signpost/index/2023/doc
Minggu, 2024-04-28 03:56:21

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/Justinc/Second
Minggu, 2013-05-19 18:52:58

function(frame) name = frame.args.name or "unknown" return "Hello from Lua " .. name end, kafka = function(frame) local s = frame:callParserFunction{...

Click to read more »
Module:Sandbox/GKFX
Minggu, 2023-01-22 22:59:37

require("strict") require("Module:Lua class") return {}...

Click to read more »
Module:Roman
Kamis, 2023-02-09 03:14:10

are being passed directly in from the debug console -- or from another Lua module. local origArgs if frame == mw.getCurrentFrame() then ...

Click to read more »
Module:Sandbox/Ichauster
Selasa, 2018-01-02 00:29:16

-- ichauster, Google Code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/MAXPETHEL13
Kamis, 2018-11-29 09:26:07

--Max Pethel Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/TenNewtons/sometest
Selasa, 2018-11-20 03:46:54

-- TenNewtons Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Boboquack
Kamis, 2018-11-01 08:28:22

-- Boboquack Google Code-in, Introduction to Lua in Wikipedia -- Boboquack Google Code-in, Working with modules local p = {} -- p stands for package...

Click to read more »
Module:Sandbox/Retro
Sabtu, 2019-05-25 16:36:31

-- A LUA comment, unlike the comments of C++ and Java (which use "//" and "/* */"); and html (which uses "<!-- -->") local p = {} -- p stands for package...

Click to read more »
Module:Sandbox/Spadi0
Sabtu, 2017-12-16 21:42:53

--Spadi0 - Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Gforero12
Rabu, 2019-12-04 09:14:49

-- Gforero12 Google Code-In 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Signpost/index/2021/doc
Minggu, 2024-04-28 03:56:23

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/Barreeeiroo
Senin, 2018-11-19 05:22:35

-- Barreeeiroo Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Heather Dinh
Jumat, 2018-11-23 03:17:51

--Hdinh77 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Rux2
Kamis, 2018-12-06 04:26:10

--Rux2 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Wikiasus1/Wikiasus1module
Senin, 2018-12-10 06:42:15

--Wikiasus1 Google Code-in,introduction to Lua in Wikipedia...

Click to read more »
Module:String2/doc
Kamis, 2026-02-05 22:33:45

whole list if the separator is not found. One potential issue is that using Lua special pattern characters (^$()%.[]*+-?) as the separator will probably...

Click to read more »
Module:User:Mr. Stradivarius/String count
Minggu, 2015-02-22 10:44:32

escapePattern(s) -- Escape punctuation in a string so it can be used in a Lua pattern. s = s:gsub('%p', '%%%0') return s end function p.count(frame)...

Click to read more »
Module:Sandbox/Nshell22
Sabtu, 2018-11-24 23:42:04

--Nshell22 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/KinderDragon11
Minggu, 2018-11-11 01:43:21

-- KinderDragon11 Google Code-In, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Methodsolver18561/2
Senin, 2019-12-09 05:01:57

-- Methodsolver18561, Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/minhducsun2002/
Selasa, 2019-12-17 15:20:54

--minhducsun2002 - Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/usernamesAnnoyMe
Kamis, 2018-11-01 20:42:53

--usernamesAnnoyMe Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Luluev 45
Senin, 2018-11-19 00:01:24

print (hello) --Luluev_45 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Ustring/doc
Sabtu, 2026-01-31 05:42:56

actual newline character to match '\n'-->%s%s%send |tag=syntaxhighlight|lang=lua}} produces: if not fargs.tag then return (what(unpack(args))) -- Outside...

Click to read more »
Module:Database reports
Kamis, 2025-09-04 15:45:32

-- The subpages of this module are used for storing Lua database report configurations...

Click to read more »
Module:Sandbox/Asienwald
Minggu, 2018-12-02 20:59:33

--Asienwald, Google Code In, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Aneendya
Senin, 2018-12-03 16:43:24

--Aneendya,Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Insomniaic
Rabu, 2018-10-24 23:37:06

-- Insomniaic Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Mass notification/doc
Selasa, 2020-07-07 23:27:08

documentation for details about group names. To use this module from other Lua modules, first load the module. local mMassNotification = require('Module:Mass...

Click to read more »
Module:Sandbox/UnladenSwallow/test/testcases
Rabu, 2019-10-09 03:14:23

require('Module:UnitTests') function p:test_test1() self:preprocess_equals('{{#invoke:Sandbox/UnladenSwallow/test |test1}}', 'Hello from Lua 5.1.') end return p...

Click to read more »
Module:Sandbox/shaunlxw
Senin, 2018-01-15 09:36:28

-- shaunlxw Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/keerthivass
Senin, 2018-01-15 04:37:11

--Crkeerthivass Google code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/Spyirate/2
Rabu, 2020-01-08 08:36:47

--Spyirate's Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Raph Williams65/HelloLua/doc
Jumat, 2025-04-04 01:06:17

{{#invoke:Sandbox/Raph Williams65/HelloLua|function_name}} functions |hello |hi|name= default: Jimmy...

Click to read more »
Module:Sandbox/OliverCWY/SayHello
Jumat, 2018-01-12 13:39:40

local p = {} p.Hi = function(frame) strName = frame.args.name or "Jimbo" return "Hello from Lua to my friend " .. strName .. ".<br>" end return p...

Click to read more »
Module:Sandbox/Evad37/randomInCat
Sabtu, 2018-04-28 13:29:52

local p = {} -- Entry point for Lua callers function p._test(frame) local text = frame:preprocess("{{Special:WhatLinksHere/Category:Australia|names...

Click to read more »
Module:Sandbox/One cookie
Minggu, 2024-02-11 00:22:17

-- One Cookie Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/zhantongz/China Expwy Name
Sabtu, 2014-11-29 14:38:31

------------------------------------------- -- Module:China Expwy Name - Lua module for China Expwy Name template -----------------------------------...

Click to read more »
Module:Signpost/index/2012/doc
Minggu, 2024-04-28 03:56:33

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2017/doc
Minggu, 2024-04-28 03:56:27

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2008/doc
Minggu, 2024-04-28 03:56:37

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/Immogmog123
Minggu, 2018-11-11 00:33:55

-- Immogmog123 Google Code-in, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Log globals/doc
Sabtu, 2023-03-18 10:53:55

This module finds nil global variable use and adds the to the Lua log along with where they were read/written. This module is different from require('strict')...

Click to read more »
Module:Sandbox/Tonydipo/ogechi
Sabtu, 2024-05-25 10:22:29

--Tonydipo - Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Dashora7
Selasa, 2018-10-30 07:19:56

--Dashora7 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/ZORLAX5002
Sabtu, 2019-12-28 11:43:19

-- ZORLAX Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Shubham2607
Senin, 2018-12-03 20:39:15

--Shubham2607 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Shreeniket987/2
Sabtu, 2019-12-28 11:44:23

--Shreeniket987 Google Code-in, Introduction to Lua in Wikipedia--...

Click to read more »
Module:Sandbox/Crutishnyk/sometest
Sabtu, 2019-12-21 00:50:00

-- Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/SqugSCX
Senin, 2018-12-10 09:32:12

-- SqugSCX Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/ligaydima
Kamis, 2018-11-01 02:07:08

--ligaydima Google Code-in, Introduction to Lua in Wikipedia li = {}...

Click to read more »
Module:Sandbox/Was a bee/tree/doc
Senin, 2019-08-26 14:40:50

bee/tree - Lua code which generates following trees User:Was a bee/Tree - wrapper template mw:Extension:Scribunto/Lua reference manual - Lua help mw:Extension:Wikibase...

Click to read more »
Module:Sandbox/ComputerGuy101
Jumat, 2019-12-13 19:48:39

--ComputerGuy101 Google Code-in 2019, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules local p = {} function p.hello( frame ) return...

Click to read more »
Module:Sandbox/Thilakarrajaa/MyModule
Senin, 2018-11-26 12:11:39

--Thilakarrajaa Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/patrykst45
Senin, 2018-01-15 23:04:41

-- patrykst45 Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Zoranzoki21
Sabtu, 2019-12-07 04:37:10

-- Zoranzoki21 Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/SIRENCI/sometest
Jumat, 2019-12-20 19:25:34

--Aayush Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Immogmog123/GCI
Selasa, 2018-11-06 20:57:08

-- Immogmog123 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Elzatch4219
Rabu, 2018-11-07 06:43:23

--Elzatch4219 Google Code-in, Introduction to Lua in Wikipedia....

Click to read more »
Module:Sandbox/pulkit coder/gci
Sabtu, 2020-01-18 22:16:26

-- Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Xhadowxx
Rabu, 2018-11-21 11:29:40

-- Xhadowxx Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Sunny Lan
Senin, 2018-10-29 07:15:03

--sunnylan1 Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/OverHash
Minggu, 2019-12-08 03:03:25

-- OverHash: Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Michael Young
Senin, 2018-11-19 05:27:49

--Young.m.20 Google Code-in, Introduction to Lua in Wikipedia --Young.m.20 Google Code-in, Working with modules local p = {} -- p stands for package...

Click to read more »
Module:Sandbox/Stibba0/GCI
Sabtu, 2018-11-10 00:29:41

-- Stibba: Google Code-in, Introduction to Lua in Wikipedia -- Stibba: Google Code-in, Lua Task 2 - Working with modules local p = {} -- p stands for...

Click to read more »
Module:Signpost/index/2007/doc
Minggu, 2024-04-28 03:56:38

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2015/doc
Minggu, 2024-04-28 03:56:30

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/roguxivlo1101/2
Selasa, 2020-01-07 11:15:05

--roguxivlo1101 Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Daylen
Jumat, 2020-01-10 14:24:39

-- Daylen Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Dwu1011/2
Rabu, 2019-12-11 06:32:25

--dwu1011 Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Signpost/index/2020/doc
Minggu, 2024-04-28 03:56:24

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2005/doc
Minggu, 2024-04-28 03:55:29

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/MarvelousHacker
Kamis, 2018-10-25 01:45:14

--MarvelousHacker Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Kyliecho
Senin, 2018-01-15 23:46:35

-- Kyliecho, Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Amey Karan
Selasa, 2019-12-03 01:30:24

-- Ameykaran Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/DavNvro
Selasa, 2019-12-31 04:41:48

-- DavNvro, Google Code-in 2019, Introduction to Lua in Wikipedia -- Task #2: Working with modules local p = {} function p.hello(frame) return "Hello...

Click to read more »
Module:Sandbox/Maria211
Selasa, 2019-12-17 06:49:42

-- Maria211 Google Code-in 2019, Introduction to Lua in Wikipedia -- Working with modules local p = {} function p.hello( frame ) return "Hello, world...

Click to read more »
Module:Sandbox/SphericalPotatoInVacuum/GCI module
Senin, 2018-11-05 01:12:59

-- SphericalPotatoInVacuum Google Code-in, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/HalfTau
Jumat, 2017-12-29 08:39:27

-- HalfTau -- Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Deskana
Minggu, 2013-05-19 17:50:55

local p = { helloworld = function(frame) name = frame.args.name or "unknown" return "Hello from Lua " .. name end, } return p...

Click to read more »
Module:ISO 3166/data/AO
Sabtu, 2020-11-28 10:31:52

{name="Huíla"}, ["LNO"] = {name="Lunda-Norte"}, ["LSU"] = {name="Lunda-Sul"}, ["LUA"] = {name="Luanda"}, ["MAL"] = {name="Malanje",isoname="Malange"}, ["MOX"]...

Click to read more »
Module:Sandbox/Tonina Zhelyazkova (WMDE)
Kamis, 2019-08-15 03:03:09

--practicng lua p = {} function p.test(frame) return 'hello world' end function p.Hi(frame) strName = frame.args.name or "Jimbo" return "Hello from Lua to...

Click to read more »
Module:Minor planet list link
Rabu, 2025-01-29 17:05:16

end function p._LoMP(args) local link, result -- For calling from other Lua modules. local num = tonumber(args[1]) if not num then local cat...

Click to read more »
Module:Sandbox/Wnt/FindAndReplace
Rabu, 2018-05-09 07:38:08

page. Add "|pattern=yes" to enjoy all the wild and wooly ---- features of Lua pattern strings. This should deliver back all the text, ---- as modified...

Click to read more »
Module:Uses TemplateStyles/config
Minggu, 2024-07-07 08:05:12

extendedconfirmed = 2, templateeditor = 3, sysop = 4 } -- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil -- to disable padlock...

Click to read more »
Module:Signpost/index/2011/doc
Minggu, 2024-04-28 03:56:34

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/AbyAll19
Minggu, 2017-12-10 08:18:50

--Google Code-in 2017, Introduction to Lua in Wikipedia my_object = {} my_object.hello = function(frame) local str = "Hello World!" return str end...

Click to read more »
Module:Sandbox/Ohmomar
Sabtu, 2018-11-10 00:27:15

--Ohmomar Google Code-in, Introduction to Lua in Wikipedia --Lua Task 2 - Working with modules local p = {} -- p stands for package function p.hello(...

Click to read more »
Module:Sandbox/Lukasz Mysliwiec
Sabtu, 2017-12-09 21:39:37

-- Google Code-in 2017, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/M1rz9
Sabtu, 2019-12-07 09:58:54

-- Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Signpost/index/2018/doc
Minggu, 2024-04-28 03:56:27

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2019/doc
Minggu, 2024-04-28 03:56:25

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Formatnum
Sabtu, 2021-02-20 22:49:21

decimal digits for languages not supported by mw.language:formatNum() in core Lua libraries for MediaWiki ["ml-old"] = { '൦', '൧', '൨', '൩', '൪', '൫',...

Click to read more »
Module:Minor planet list link/sandbox
Jumat, 2020-07-10 23:51:46

end function p._LoMP(args) local link, result -- For calling from other Lua modules. local num = tonumber(args[1]) local subsec = string.sub(tostring(num...

Click to read more »
Module:Sandbox/Sherylleong/2
Kamis, 2019-12-19 05:07:31

-- Sherylleong Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/hp0770
Kamis, 2017-12-07 23:16:18

--hp0770 Google Code-In 2017, Introduction to Lua in wikipedia....

Click to read more »
Module:Sandbox/Piotrbar321/nazwa
Selasa, 2020-01-21 03:17:25

-- Piotrbar321 Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/HokageChirag
Jumat, 2019-12-20 18:28:38

--Hokage Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Coxeter–Dynkin diagram
Jumat, 2025-03-07 01:43:47

return p._CDD(args) end function p._CDD(args) -- For calling from other Lua modules. local body ='<span style="display:inline-block;">' -- create...

Click to read more »
Module:Error/sandbox
Kamis, 2025-09-11 21:56:24

if the message parameter is present but blank, change it to nil so that Lua will -- consider it false. if args.message == "" then args...

Click to read more »
Module:Sandbox/Licsth
Sabtu, 2018-01-06 04:02:04

Google Code-in 2017, Introduction to Lua in Wikipedia -- Google Code-in 2017, Lua task 3: Create your own Lua module on English Wikipedia local p =...

Click to read more »
Module:Titled coords/sandbox
Jumat, 2025-03-07 03:18:42

individual fields from the raw coordinates ** -- ** See https://www.lua.org/manual/5.3/manual.html#6.4.1 ** local sidx, _, lat_d, lat_m, lat_s...

Click to read more »
Module:User/doc
Rabu, 2024-08-28 07:23:18

template is only a wrapper for Module:UserLinks, by implementing it as a Lua module we make significant gains in performance. It is roughly twice as fast...

Click to read more »
Module:Korean/doc
Kamis, 2026-02-05 08:16:12

logic, see that template's documentation. This module can be called by other Lua modules (use p._ko()) and can be invoked {{#invoke:Korean|ko|args_here}}...

Click to read more »
Module:Sandbox/F1ndC0d3Fun
Sabtu, 2019-12-28 11:45:12

-- F1ndC0d3Fun Google Code-in 2019, Introduction to Lua in Wikipedia...

Click to read more »
Module:Sandbox/Krithika jaikumar
Rabu, 2018-01-03 18:28:10

--It always seems impossible until its done.Krithika jaikumar Google Code-in 2017, Introduction to Lua in Wikipedia....

Click to read more »
Module:Signpost/index/2016/doc
Minggu, 2024-04-28 03:56:29

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2009/doc
Minggu, 2024-04-28 03:56:36

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/Justinc/First
Kamis, 2013-05-16 22:11:44

local p = {} function p.hello(frame) return 'Hello from Lua' end function p.argument(frame) s = "" for k, v in pairs(frame.args) do s =...

Click to read more »
Module:Sandbox/Hike395/AndOr/doc
Kamis, 2024-06-06 04:05:47

Template version of Lua and/or pattern. Returns args[1] and args[2] or args[3] and args[4] or ......

Click to read more »
Module:Sandbox/Smsingh34
Jumat, 2018-11-16 08:12:34

--smsingh Google Code-in, Introduction to Lua in Wikipedia --smsingh Google Code-in, Working With Modules local p = {} -- p stands for package function...

Click to read more »
Module:Sandbox/Erutuon/charinsert names
Rabu, 2019-02-20 04:41:26

"table" then options = content options = { lang = options.lang or "lua", inline = options.inline and true } return function(content) return...

Click to read more »
Module:Sandbox/User:Waddie96/benchmark/doc
Rabu, 2025-10-08 03:04:45

Lua error in Module:Sandbox/User:Waddie96/benchmark at line 283: attempt to concatenate a nil value. {{#invoke:Sandbox/User:Waddie96/benchmark|function_name}}...

Click to read more »
Module:Signpost/index/2033/doc
Rabu, 2025-04-30 03:39:26

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2083/doc
Rabu, 2025-04-30 03:40:21

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2078/doc
Rabu, 2025-04-30 03:40:16

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2026/doc
Rabu, 2025-04-30 03:39:19

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/Vushah
Selasa, 2019-12-31 05:40:31

--Vushah Google Code-in 2019, Introduction to Lua in Wikipedia --Lua Task 2 - Working with Modules local p = {} function p.hello( frame ) return "Hello...

Click to read more »
Module:Sandbox/PurpleBlossom3264
Senin, 2026-03-02 08:09:40

local p = {} function p.main(frame) return "Hello, world! (from Lua module)" end return p...

Click to read more »
Module:Sandbox/PHansen/Trunc
Senin, 2015-01-05 17:39:10

org/wiki/Help:Lua_for_beginners -- Module:Sandbox/PHansen/Trunc testes via: User:PHansen/Trunc -- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#string...

Click to read more »
Module:Urltowiki/testcases
Rabu, 2020-02-12 03:52:01

org/w/index.php?title=Extension:Scribunto/Lua_reference_manual#Lua_language', '[[mw:Extension:Scribunto/Lua reference manual#Lua language]]'}, {'https://meta...

Click to read more »
Module:Signpost/index/2022/doc
Minggu, 2024-04-28 03:56:22

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2006/doc
Minggu, 2024-04-28 03:56:39

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Flag/doc
Senin, 2026-06-01 02:06:48

Lua-native alternative to popular flag templates. Can be used to reduce post-expand include size of pages with lots of templates, since it avoids calling...

Click to read more »
Module:Name in various languages/doc
Rabu, 2025-11-05 01:39:46

{{#invoke:Name in various languages|main}} This module implements {{Name in various languages}}, a Lua-based replacement for {{Name in official languages}}....

Click to read more »
Module:Message box/doc
Jumat, 2025-11-14 23:54:09

{{fmbox}}, {{imbox}}, {{ombox}}, and {{tmbox}}. It is intended to be used from Lua modules, and should not be used directly from wiki pages. If you want to...

Click to read more »
Module:TableTools/sandbox
Kamis, 2024-08-15 03:03:06

number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should not -- -- be called...

Click to read more »
Module:Sandbox/GCImelody
Rabu, 2019-12-25 10:05:01

-- GCImelody Google Code-in 2019, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello(frame) return...

Click to read more »
Module:Signpost/index/2014/doc
Minggu, 2024-04-28 03:56:31

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/MrSpecjal
Minggu, 2018-11-04 03:31:02

-- MrSpecjal Google Code-in, Introduction to Lua in Wikipedia -- Lua Task 2 - Working with modules local p = {} function p.hello(frame) return "Hello...

Click to read more »
Module:Citation/CS1/COinS/sandbox
Jumat, 2025-11-21 02:45:55

-- no more URLs pattern = escape_lua_magic_chars (pattern); -- pattern is not a literal string; escape Lua's magic pattern characters pages =...

Click to read more »
Module:Dynkin/doc
Jumat, 2024-08-30 04:11:14

the template documentation for how that is used. For using this from other Lua modules, first load the module. local Dynkin = require('Module:Dynkin')._Dynkin...

Click to read more »
Module:Sandbox/PHansen/Test
Senin, 2014-12-15 18:50:01

--https://en.wikipedia.org/wiki/Help:Lua_for_beginners --testes via: User:PHansen/sandbox local p = {} -- defines a variable p as an empty table, but...

Click to read more »
Module:DecodeEncode
Selasa, 2023-04-18 03:18:54

charset ) else -- use default: chartset = '<>&"\' ' (outer quotes = lua required; space = NBSP) ret = mw.text.encode( s ) end return ret end...

Click to read more »
Module:Signpost/index/2037/doc
Rabu, 2025-04-30 03:39:30

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Taxonbar/blacklist/doc
Minggu, 2026-05-24 14:04:46

This module returns all unacceptable instance of (P31)s as a Lua table for use in a module such as Module:Taxonbar/candidate For use in documentation...

Click to read more »
Module:Sortkey
Rabu, 2021-10-06 01:54:13

if num is a valid number. -- In Scribunto (different from some standard Lua), when expressed as a string, -- overflow or other problems are indicated...

Click to read more »
Module:ConvertIB/doc
Jumat, 2026-01-09 05:42:35

A Lua module that wraps {{convert}}, designed for infoboxes. It implements: {{convinfobox}} {{Infobox settlement/areadisp}} {{Infobox settlement/lengthdisp}}...

Click to read more »
Module:Sandbox/Nathan fraignt
Rabu, 2018-11-07 18:28:38

-- Nathan Fraignt Google Code-in, Introduction to Lua in Wikipedia -- Introduction to Lua part 2. local p = {} -- p stands for package p.hello = function(frame)...

Click to read more »
Module:Docbunto/infobox
Sabtu, 2026-04-18 01:29:55

--- Infobox for Lua modules. -- @script infobox -- @param {table} data Taglet documentation data. -- @param {string} codepage Code page name...

Click to read more »
Module:Sports table/doc
Rabu, 2024-08-21 11:16:26

(soccer) was the first creation. This style is renamed to WDL The module uses Lua to create the tables. Most functionality is obtained from the main module...

Click to read more »
Module:Sandbox/Alexiscoutinho/Lua set
Selasa, 2024-03-26 21:49:52

require('Module:Lua class') local libraryUtil = require('libraryUtil') local TableTools = require('Module:TableTools') local warn = require('Module:Warning')...

Click to read more »
Module:Signpost/index/2036/doc
Rabu, 2025-04-30 03:39:29

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2031/doc
Rabu, 2025-04-30 03:39:23

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2066/doc
Rabu, 2025-04-30 03:40:04

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2073/doc
Rabu, 2025-04-30 03:40:11

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Based on2/sandbox
Rabu, 2026-05-13 16:14:54

local p = {} function p.lua_main(frame) local s = frame.args[1] local indent = frame.args['indent'] indent = indent and indent:lower() or "" local...

Click to read more »
Module:Road data/browsetable/doc
Sabtu, 2024-08-17 05:03:21

functions browsetable (for use from wikitext) and _browsetable (for use within Lua). The functions can serve as a container for the output of Module:Road data/browse...

Click to read more »
Module:Signpost/index/2098/doc
Rabu, 2025-04-30 03:40:36

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2096/doc
Rabu, 2025-04-30 03:40:34

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Ns has subpages
Sabtu, 2024-02-17 11:01:43

the template is fairly simple, this information is made available to -- Lua directly, so using a module means that we don't have to update the -- template...

Click to read more »
Module:Roman/sandbox
Rabu, 2025-01-01 20:22:41

are being passed directly in from the debug console -- or from another Lua module. local origArgs if frame == mw.getCurrentFrame() then ...

Click to read more »
Module:Signpost/index/2047/doc
Rabu, 2025-04-30 03:39:42

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2040/doc
Rabu, 2025-04-30 03:39:33

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2079/doc
Rabu, 2025-04-30 03:40:17

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2063/doc
Rabu, 2025-04-30 03:40:01

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2077/doc
Rabu, 2025-04-30 03:40:15

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/davidwr/example
Senin, 2020-09-07 20:25:16

-- <!-- surround LUA code with --<syntaxhighlight lang="lua"> and --</syntaxhightlight> --> -- <!-- so it can be copied to "regular" Wikipedia pages -->...

Click to read more »
Module:Infobox mapframe/doc
Rabu, 2025-11-19 03:39:00

following the documentation there. This module may also be imported to another Lua module. Example edits: Template:Infobox prison, Template:Infobox prison/doc...

Click to read more »
Module:Sandbox/Natkabrown/2
Minggu, 2013-05-19 18:56:22

function(frame) name = frame.args.name or "unknown" return "Hello from Lua " .. name end, kafka = function(frame) local s = frame:callParserFunction{...

Click to read more »
Module:RfD close
Sabtu, 2019-03-02 11:17:02

the logic is --sufficiently complicated (there is no built-in "or" in Lua string --patterns) so I'll just lay it flat. if (parameter_lower:find('keep')...

Click to read more »
Module:Sandbox/QuinticFormula
Minggu, 2022-04-03 06:19:41

-- Module with a FizzBuzz function -- Lua is fun! local p = {} function p.fizzbuzz(frame) local t = {} for i = 1, 100 do if i % 15 == 0 then ...

Click to read more »
Module:Sandbox/PHansen/b
Selasa, 2014-12-16 00:08:13

truncate( text, length, ellipsis, adjustLength ) -- [[:mw:Extension:Scribunto/Lua_reference_manual#mw.text.truncate]] -- {{#invoke:Sandbox/PHansen/b|main}}...

Click to read more »
Module:I18n/doc
Rabu, 2024-11-20 08:00:27

I18n library for message storage in Lua datastores. The module is designed to enable message separation from modules & templates. It has support for handling...

Click to read more »
Module:Table
Minggu, 2025-10-12 09:25:44

(JSON) and equals (Lua) delimiters _json_data = _gsub(_json_data, '([%w_]+)%s*([:=])', '"%1"%2') local ok_lua, data_lua = pcall(mw.text.jsonDecode...

Click to read more »
Module:Titled coords
Jumat, 2025-03-07 03:21:29

individual fields from the raw coordinates ** -- ** See https://www.lua.org/manual/5.3/manual.html#6.4.1 ** local sidx, _, lat_d, lat_m, lat_s...

Click to read more »
Module:For
Selasa, 2020-11-03 05:29:56

{{For}} from the frame --uses capitalized "For" to avoid collision with Lua reserved word "for" function p.For (frame) mArguments = require('Module:Arguments')...

Click to read more »
Module:Signpost/index/2099/doc
Rabu, 2025-04-30 03:40:38

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2045/doc
Rabu, 2025-04-30 03:39:40

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2071/doc
Rabu, 2025-04-30 03:40:09

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Signpost/index/2061/doc
Rabu, 2025-04-30 03:39:58

This is a Lua table for one year of Signpost article data, used by Module:Signpost. These tables are filled out by a combination of Mr. Stradivarius's...

Click to read more »
Module:Sandbox/Keyacom/ishexcode
Selasa, 2022-04-19 14:50:51

as the regex /#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i. However, Lua's limitations do not allow for such regexes.]=] return args[2] or true...

Click to read more »