Search Results: Module:A or an

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


Module:Article stub box
Senin, 2026-03-23 03:14:13

(Alexander Zhikun He). User:Jackmcbarn and User:Mr._Stradivarius provided a great deal of assistance in writting p.main() p.main() draw heavily from...

Click to read more »
Module:Infobox
Sabtu, 2025-12-13 06:40:10

end table.sort(nums) return nums end -- Adds a row to the infobox, with either a header cell -- or a label/data cell combination. local function addRow(rowArgs)...

Click to read more »
Module:InfoboxImage
Sabtu, 2025-10-18 16:45:47

-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display...

Click to read more »
Module:Check for unknown parameters
Jumat, 2025-10-17 18:01:38

used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- not on the list require...

Click to read more »
Module:Infobox/sandbox
Kamis, 2026-06-04 03:40:46

end table.sort(nums) return nums end -- Adds a row to the infobox, with either a header cell -- or a label/data cell combination. local function addRow(rowArgs)...

Click to read more »
Module:InfoboxImage/sandbox
Kamis, 2026-06-04 23:55:51

-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display...

Click to read more »
Module:Adjacent stations
Jumat, 2025-10-03 10:27:24

which is not inside a function, translate it directly. -- • Strings with keys named "format" are Lua regular expressions. -- «()» is a match; «.+» means...

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

provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove...

Click to read more »
Module:Citation/CS1
Sabtu, 2026-02-28 22:14:46

require ('strict'); --[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- each of these counts...

Click to read more »
Module:Adjacent stations/JR West
Sabtu, 2026-05-16 07:38:58

["types"] = { ["A"] = { ["title"] = "", ["short name"] = "A", ["color"] = "0072BF", ["icon"] = "[[File:JRW kinki-A.svg|18px|link=Akō...

Click to read more »
Module:Check for unknown parameters/sandbox
Senin, 2025-10-06 13:52:57

used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- not on the list require...

Click to read more »
Module:Lang
Rabu, 2026-05-13 06:20:12

{'^(%a%a%a?)%-(%a%a%a%a)%-(%a%a)%-(%d%d%d%d)$', 's', 'r', 'v'}, -- 1 - ll-Ssss-RR-variant (where variant is 4 digits) {'^(%a%a%a?)%-(%a%a%a%a...

Click to read more »
Module:Portal/images/a
Kamis, 2025-12-25 11:10:44

"A" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with the letter "A"...

Click to read more »
Module:Lang/sandbox
Rabu, 2026-05-13 06:17:18

{'^(%a%a%a?)%-(%a%a%a%a)%-(%a%a)%-(%d%d%d%d)$', 's', 'r', 'v'}, -- 1 - ll-Ssss-RR-variant (where variant is 4 digits) {'^(%a%a%a?)%-(%a%a%a%a...

Click to read more »
Module:EditAtWikidata
Rabu, 2025-10-15 02:53:05

displayed if a local_parameter is not supplied -- i.e. when called from a template, it can be coded not to display the message. -- The qid of a Wikidata entry...

Click to read more »
Module:EditAtWikidata/sandbox
Minggu, 2022-03-13 11:13:40

displayed if a local_parameter is not supplied -- i.e. when called from a template, it can be coded not to display the message. -- The qid of a Wikidata entry...

Click to read more »
Module:Sandbox
Rabu, 2023-03-22 08:49:41

--[[ Please do not edit this page. This page serves as a root for the sandbox. The following below is some starter code that you may use to get started...

Click to read more »
Module:Adjacent stations/MBTA
Selasa, 2026-03-24 00:05:00

svg|16px|link=Green Line (MBTA)]]", ["types"] = { ["A"] = { ["title"] = "[[Green Line A branch|A branch]]", ["left terminus"] = "Watertown", ...

Click to read more »
Module:Adjacent stations/Seoul Metropolitan Subway
Jumat, 2026-04-24 07:43:07

}, ["GTX-A"] = { ["title"] = "[[Great_Train_eXpress#GTX-A|GTX-A]]", ["color"] = "9A6292", ["icon"] = "[[File:GTX-A Logo...

Click to read more »
Module:Adjacent stations/London Underground
Jumat, 2026-05-29 23:20:29

default = "%1 tube station" local Q_type = "<span class=\"error\">Specify a type</span>" local p = { ["system title"] = "[[London Underground]]", ["system...

Click to read more »
Module:Adjacent stations/Kintetsu
Selasa, 2026-05-19 18:33:48

symbol of the Keihanna Line of the Kintetsu Railway system. A white letter 'C' on top of a bright green square.]]", ["color"] = "65c03a", ["short...

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

-- passed a valid frame object, we are being called from another Lua module -- or from the debug console, so assume that we were passed a table of args...

Click to read more »
Module:Road data/strings/doc
Rabu, 2025-12-10 01:20:58

information and a summary of the syntax are listed below. [BUTTON OR EXPORTS ARE ADDED HERE] At its most basic level, this module is a nested table of...

Click to read more »
Module:Adjacent stations/SEPTA
Senin, 2026-03-30 02:15:34

Station"] = "[[Suburban Station]]", ["Terminal A"] = "Airport Terminal stations (SEPTA)#Airport Terminal A", ["Terminal B"] = "Airport Terminal stations...

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

provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove...

Click to read more »
Module:WikidataIB
Sabtu, 2025-12-27 18:46:46

Version: 2023-07-10 -- Module to implement use of a blacklist and whitelist for infobox fields -- Can take a named parameter |qid which is the Wikidata ID...

Click to read more »
Module:Political party/A
Kamis, 2026-06-04 05:28:44

Party", ["A Better Britain – Unionist Party"] = "British Unionist Party", ["A Just Russia - For Truth"] = "A Just Russia — For Truth", ["A Just Russia...

Click to read more »
Module:ISO 3166/data/doc
Kamis, 2024-07-25 23:17:41

(CYQ) Duplicate name: "Barisal" in /BD (non-exact) (A) Duplicate name: "Barishal" in /BD (non-exact) (A) Duplicate name: "Dhaka" in /BD (non-exact) (C) Duplicate...

Click to read more »
Module:WikidataCheck/sandbox
Kamis, 2023-11-30 17:34:06

== 'yes') or false local ok = false -- one-way flag to check if we're in a good namespace local ns = mw.title.getCurrentTitle().namespace for v in...

Click to read more »
Module:Citation/CS1/sandbox
Minggu, 2026-04-26 21:34:02

]] require ('strict'); --[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- each of these...

Click to read more »
Module:WikidataCheck
Kamis, 2023-11-30 18:27:19

== 'yes') or false local ok = false -- one-way flag to check if we're in a good namespace local ns = mw.title.getCurrentTitle().namespace for v in...

Click to read more »
Module:Adjacent stations/Beijing Subway
Senin, 2026-06-01 08:38:57

= "Changping", ["cp"] = "Changping", ["changping"] = "Changping", ["a"] = "Capital Airport Express", ["ap"] = "Capital Airport Express", ["airport"]...

Click to read more »
Module:Wikidata
Sabtu, 2023-03-04 11:35:36

"Article is not yet available in this wiki." }, ["datetime"] = { -- $1 is a placeholder for the actual number [0] = "$1 billion years", -- precision:...

Click to read more »
Module:Adjacent stations/NSW TrainLink
Rabu, 2025-04-30 14:08:35

terminus"] = {"Kiama", "Port Kembla"}, -- The Bomaderry Service is covered by a separate shuttle ["right terminus"] = {"Central", "Bondi Junction"}, ...

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

-- passed a valid frame object, we are being called from another Lua module -- or from the debug console, so assume that we were passed a table of args...

Click to read more »
Module:Adjacent stations/MTR
Sabtu, 2026-05-09 14:10:55

Express", ["ael"] = "Airport Express", ["ae"] = "Airport Express", ["a"] = "Airport Express", ["east rail line"] = "East Rail", ["east rail"]...

Click to read more »
Module:Goalscorers/data/1964 European Nations' Cup qualifying
Kamis, 2019-02-07 23:57:16

"ALB", "A", 0, 1, 0 }, {"[[Rudi Flögel]]", "AUT", "A", 0, 1, 0 }, {"[[Walter Koleznik]]", "AUT", "A", 0, 1, 0 }, ...

Click to read more »
Module:Goalscorers/data/1960 European Nations' Cup qualifying
Minggu, 2024-07-28 05:13:05

"AUT", "A", 0, 3, 0 }, {"[[Erich Probst]]", "AUT", "A", 0, 0, 1 }, {"[[Horst Nemec]]", "AUT", "A", 0, 2, 1 }, ...

Click to read more »
Module:String2
Rabu, 2025-02-19 19:24:59

supported – a.1-a.5 or a-1-a-5) digitletter - digitletter (5a - 5d) (an optional separator between letter and digit is supported – 5.a-5.d or 5-a-5-d) any...

Click to read more »
Module:Coordinates
Senin, 2026-01-26 03:35:45

class to display coordinates Usually geo-nondefault is hidden by CSS, unless a user has overridden this for himself default is the mode as specificied by...

Click to read more »
Module:Goalscorers/data/UEFA Euro 2012 qualifying
Minggu, 2025-03-02 00:19:21

played of latest update data.updated = { group = { A = { 30, "complete" }, B = { 30,...

Click to read more »
Module:Math
Jumat, 2026-04-10 21:26:08

--[[ This module provides a number of basic mathematical operations. ]] local yesno, getArgs -- lazily initialized local p = {} -- Holds functions...

Click to read more »
Module:Goalscorers/data/UEFA Euro 2016 qualifying
Kamis, 2024-12-19 06:20:43

group, matches, update date group = { A = { 30, "complete" }, B = { 30,...

Click to read more »
Module:Goalscorers/data/UEFA Euro 2008 qualifying
Sabtu, 2025-03-01 23:55:01

"POL", "A", 9 }, {"[[Cristiano Ronaldo]]", "POR", "A", 8 }, {"[[Nikola Žigić]]", "SRB", "A", 7 }, {"[[Dmitry...

Click to read more »
Module:ISO 3166
Rabu, 2025-10-29 00:55:28

text then return nil end local accents = {["À"]="A",["Á"]="A",["Â"]="A",["Ã"]="A",["Ä"]="A", ["Å"]="A",["Æ"]="AE",["Ç"]="C",["È"]="E",["É"]="E",["Ê"]="E"...

Click to read more »
Module:Authority control
Sabtu, 2026-02-07 04:46:53

_makelink = function(id, val, additional, qid) --validate values and create a link local link = mw.html.create('span'):addClass('uid') if not additional...

Click to read more »
Module:Adjacent stations/CTA
Minggu, 2026-02-15 17:49:09

["right terminus"] = "Des Plaines", }, -- [[Module:CTA header]] ["A"] = { ["color"] = "DC0000", }, ["B"] = { ["color"] = "008800", ...

Click to read more »
Module:Adjacent stations/Singapore LRT
Minggu, 2023-12-24 09:40:04

terminus"] = "Choa Chu Kang", ["types"] = { ["A (CCK-BP)"] = { ["title"] = "Service A", ["left terminus"] = "Choa Chu Kang", ["right...

Click to read more »
Module:Sports table
Senin, 2025-12-08 23:02:04

or '', ' ', '_') -- Exit early if we are using section transclusion for a different section local tsection = frame:getParent().args['transcludesection']...

Click to read more »
Module:Adjacent stations/Guangzhou Metro
Selasa, 2026-03-03 11:26:22

["g"] = "Guangfo", ["gf"] = "Guangfo", ["guangfo"] = "Guangfo", ["a"] = "APM", ["apm"] = "APM", ["k"] = "27", ["kc"] = "27", ["thz1"]...

Click to read more »
Module:Wikidata/sandbox
Sabtu, 2023-03-04 11:34:03

"Article is not yet available in this wiki." }, ["datetime"] = { -- $1 is a placeholder for the actual number [0] = "$1 billion years", -- precision:...

Click to read more »
Module:Adjacent stations/Los Angeles Metro Rail
Jumat, 2026-05-29 17:02:42

local a = "%1 station (A Line)" local metro = "%1 station (Los Angeles Metro)" local mr = "%1 station (Metro Rail)" local p = { ["lang"] = "en-US", ...

Click to read more »
Module:Location map
Selasa, 2026-05-26 13:47:54

. map) if not moduletitle then error(string.format('%q is not a valid name for a location map definition', map), 2) elseif moduletitle.exists then...

Click to read more »
Module:College color
Sabtu, 2026-05-23 06:29:09

-- remove leading # (if there is one) c = mw.ustring.match(c, '^[#]*([a-f0-9]*)$') -- split into rgb local cs = mw.text.split(c or '', '') if(...

Click to read more »
Module:Road data/parser
Sabtu, 2024-08-24 16:40:02

passed to this module local function subst(formatStr, args) --- -- Perform a substitution based on passed argument. -- @param #string param The parameter...

Click to read more »
Module:Road data/strings/GBR
Selasa, 2025-09-02 23:09:09

data/strings/EUR")) GBR.A.shield = "UK road A%route%.svg" GBR.A.link = { default = "A%route% road ([state|NI|Northern Ireland|Great Britain])", ["594"] = "A%route% road...

Click to read more »
Module:Goalscorers/data/UEFA Euro 2020 qualifying
Senin, 2024-12-09 01:22:31

group, matches, update date group = { A = { 20, "complete" }, B = { 20, ...

Click to read more »
Module:Convert
Kamis, 2026-01-15 09:19:56

-- Convert a value from one unit of measurement to another. -- Example: {{convert|123|lb|kg}} --> 123 pounds (56 kg) -- See [[:en:Template:Convert/Transwiki...

Click to read more »
Module:Excerpt/portals
Rabu, 2026-05-13 00:55:29

local unwantedInlineTemplates = { "[Ee]fn", "[Ee]fn%-[lu][arg]", "[Ee]fn [%a ]-", "[Ee]l[mn]", "[Rr]p?", "[Ss]fn[bmp]", "[Ss]f[bn]", "[Nn]ote[Tt]ag", "#[Tt]ag:%s*[Rr]ef"...

Click to read more »
Module:Adjacent stations/Queensland Rail
Rabu, 2026-06-03 12:36:51

station|Varsity Lakes]] via [[Roma Street railway station|Roma Street]]", ["A via RS"] = "[[Domestic Airport railway station, Brisbane|Domestic Airport]]...

Click to read more »
Module:Excerpt slideshow
Minggu, 2024-08-18 18:19:31

--[[ @param {String} wikitext: Wikitext of just the list (i.e. each line is a list item) @param {String} symbol: Special character used in the wikitext...

Click to read more »
Module:Road data/strings/HKG
Senin, 2021-12-20 06:27:01

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Coordinates/sandbox
Senin, 2026-01-12 03:40:02

class to display coordinates Usually geo-nondefault is hidden by CSS, unless a user has overridden this for himself default is the mode as specificied by...

Click to read more »
Module:Road data/strings/USA/AR
Senin, 2022-09-12 09:13:06

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Road data/strings/USA/AS
Sabtu, 2021-09-18 03:14:06

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Road data/strings/USA/NY
Rabu, 2025-04-30 04:02:21

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Road data/strings/MEX
Jumat, 2025-01-17 11:07:54

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Road data/strings/USA
Minggu, 2026-04-12 07:47:50

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Portal maintenance status
Minggu, 2018-12-23 23:46:20

subjectTitle:getContent() end -- historical function -- Looks for {{Historical}} on a Wikipedia_talk: page's related project page. -- Returns 'yes' if found or...

Click to read more »
Module:Random slideshow
Jumat, 2025-03-28 20:28:55

-- Creates a slideshow gallery where the order is randomised. Intended for use on portal pages. local p = {} local excerptModule = require('Module:Excerpt/portals')...

Click to read more »
Module:Road data/strings/USA/NJ
Minggu, 2022-09-25 10:26:42

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Adjacent stations/Hangzhou Metro
Senin, 2026-04-27 17:15:39

["aliases"] = { ["airport"] = "19", ["airport express"] = "19", ["a"] = "19", ["k1"] = "19", ["Airport Express"] = "19", ["31"] = "19",...

Click to read more »
Module:Adjacent stations/Chongqing Rail Transit
Selasa, 2026-04-28 14:16:47

["aliases"] = { ["l"] = "0", ["lp"] = "0", ["loop"] = "0", ["jt"] = "jiangtiao", ["bt"] = "bitong", ["a"] = "k", -- Konggang } } return p...

Click to read more »
Module:Road data/strings/USA/WA
Kamis, 2023-07-20 10:39:44

the state highway browse and maint for k, v in pairs(WA) do if k:find ("^%a") then v.maint = "[[Washington State Department of Transportation|WSDOT]]"...

Click to read more »
Module:Portal pictures
Jumat, 2021-11-19 07:00:17

"|380px]]") return tostring(html) end -- Extract value named "paramName" from a subpage of [[Template:POTD]] local function getPotdPart(frame, potdSubpage...

Click to read more »
Module:Road data/strings/CAN/ON
Kamis, 2025-06-05 19:26:18

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Box-header
Senin, 2025-06-02 12:08:25

4.5:1 -- Template parameter aliases -- Specify each as either a single value, or a table of values -- Aliases are checked left-to-right, i.e. `['one']...

Click to read more »
Module:Road data/parser/hooks
Rabu, 2025-10-29 23:24:14

require(Module:Road data/parser).parser(args, .entry, .path, .kind) matches pattern as a regular expression, return action. If no such element exists, return .default...

Click to read more »
Module:Road data/strings/USA/TX
Sabtu, 2023-12-16 07:06:16

require("Module:Road data/util") print(util.arrayToString(p)) To inspect a particular route type, change `p` above to include the route type, e.g., `p...

Click to read more »
Module:Citation/CS1/Configuration
Sabtu, 2026-02-28 22:14:44

local lang_obj = mw.language.getContentLanguage(); -- make a language object for the local language; used here for languages and dates ...

Click to read more »
Module:Selected recent additions
Senin, 2026-03-16 11:37:42

innerText .. "{{Hidden end}}" end -- Get current events for a "YYYY Month D" date. Returns a table of list items. function getRecentAdditions(subpage, keepPatterns...

Click to read more »
Module:Portal-inline
Senin, 2026-03-16 21:34:14

-- determine whether we're being called from a sandbox local isSandbox = mw.getCurrentFrame():getTitle():find('sandbox', 1, true) local sandbox = isSandbox...

Click to read more »
Module:Random portal component
Sabtu, 2020-10-03 17:08:46

getCurrentTitle().nsText ~= "Portal") then return "" end -- no tracking if this is a subpage if ((mw.ustring.match(thispagetitle, "/") ~= nil) and (thispagetitle...

Click to read more »
Module:College color/data
Kamis, 2026-06-04 03:28:59

["Texas A&M-San Antonio Jaguars"] = "Texas A&M–San Antonio Jaguars", ["Texas A&M San Antonio Jaguars"] = "Texas A&M–San Antonio Jaguars", ["Texas A&M–Texarkana...

Click to read more »
Module:Selected current events
Rabu, 2025-01-01 09:00:51

innerText .. "{{Hidden end}}" end -- Get current events for a "YYYY Month D" date. Returns a table of list items. function getCurrentEvents(date, mdyDates...

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

args[k] = 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...

Click to read more »
Module:Political party
Sabtu, 2026-02-21 23:27:56

non-A-Z starts if string.match(index, '%A') then return '1' end return string.upper(index) end local function stripToNil(text) -- If text is a string...

Click to read more »
Module:Portal
Minggu, 2025-05-25 01:07:03

--[==[ This module is a Lua implementation of the old {{Portal}} template. As of February 2019 it is used on nearly 7,900,000 articles. -- Please take...

Click to read more »
Module:Adjacent stations/Metrolink (California)
Rabu, 2026-04-08 07:50:48

["Glendale"] = tc, ["Irvine"] = tc, ["L.A. General Medical Center"] = "LA General Medical Center station", ["L.A. Union Station"] = "Los Angeles Union...

Click to read more »
Module:Build bracket
Selasa, 2025-08-19 23:45:35

state, config, Helpers, StateChecks) return tostring(html) end -- Exposed for tests/scripts that invoke without a frame p._main = p.main return p...

Click to read more »
Module:Build bracket/sandbox
Selasa, 2025-08-26 21:10:36

state, config, Helpers, StateChecks) return tostring(html) end -- Exposed for tests/scripts that invoke without a frame p._main = p.main return p...

Click to read more »
Module:BaseConvert
Rabu, 2022-04-13 11:58:12

prefix, suffix) n = tostring(n) -- strip off any leading '0x' (unless x is a valid digit in the input base) from = tonumber(from) if not from or from...

Click to read more »
Module:Text
Sabtu, 2025-04-26 19:19:49

( a ) -- char is not ambivalent local r = ( a > 64 ) if r then r = ( a < 8192...

Click to read more »
Module:Wd
Rabu, 2025-07-23 02:53:47

{ property = "%p", qualifier = "%q", reference = "%r", alias = "%a", badge = "%b", separator = "%s", general = "%x" } local formats...

Click to read more »
Module:Adjacent stations/Taoyuan Metro
Senin, 2026-02-09 10:33:01

["lines"] = { ["A"] = { ["title"] = "[[Taoyuan Airport MRT]]", ["color"] = "8246af", ["icon"] = "[[File:Taoyuan Metro Line A.svg|18px|link=Taoyuan...

Click to read more »
Module:Adjacent stations/RTD
Selasa, 2025-12-02 09:56:18

["lines"] = { ["A"] = { ["title"] = "[[A Line (RTD)|A Line]]", ["color"] = "54c0e8", ["icon"] = "[[File:Denver RTD A.svg|18px|link=A Line (RTD)]]"...

Click to read more »
Module:Example
Selasa, 2026-02-03 09:13:20

local p = {} --All Lua modules on Wikipedia must begin by defining a variable --that will hold their externally accessible...

Click to read more »
Module:Adjacent stations/Metro (Minnesota)
Rabu, 2026-04-15 12:56:35

["Prospect Park"] = mt, ["Ramsey"] = mt, ["Ramp A/7th Street Transit Center"] = "Ramp A/7th Street Transit Center", ["Rosedale"] = "Rosedale...

Click to read more »
Module:Adjacent stations/Mexico City Metro
Kamis, 2026-04-09 06:18:08

name_format, ["9"] = "background-color: #512F2E; " .. name_format, ["A"] = "background-color: #981D97; " .. name_format, ["B"] = "background-color:...

Click to read more »
Module:Navbox
Rabu, 2026-02-25 00:16:57

a group before a nested table. -- Set it to first as a valid although pointless class. -- The next occurrence will be the first row after a...

Click to read more »
Module:Location map/data/Australia Australian Capital Territory
Kamis, 2018-03-22 18:38:04

45, image = 'Australia Capital Territory location map.svg', -- image1 = 'should only be defined if there is a relief image with same coordinates' }...

Click to read more »
Module:Protection banner
Rabu, 2026-02-18 15:46:08

display ) end -- Given a directed graph formatted as node -> table of direct successors, -- get a table of all nodes reachable from a given node (though always...

Click to read more »
Module:Adjacent stations/Osaka Metro
Rabu, 2026-03-11 10:04:12

= "%1 Station (Higashiōsaka)" local z = "%1 Station (Osaka Metro)" local a = "%1 Station (Osaka, Osaka)" local p = { ["system title"] = "[[Osaka Metro]]"...

Click to read more »
Module:TemplatePar
Kamis, 2023-04-20 01:13:15

"^[A-Z]*[a-z]*$", [ "Abc+" ] = "^[A-Z][a-z]+$", [ "abc" ] = "^[a-z]*$", [ "abc+" ] = "^[a-z]+$", [ "aBc+" ] = "^[a-z]+[A-Z][A-Za-z]*$"...

Click to read more »
Module:Adjacent stations/Buenos Aires Underground
Minggu, 2025-08-31 05:20:41

"00589d", -- Metro logo color }, }, ["aliases"] = { ["a"] = "A", ["line a"] = "A", ["b"] = "B", ["line b"] = "B", ["c"] = "C", ["line...

Click to read more »
Module:Unsubst
Sabtu, 2021-10-09 01:22:16

function p.main(frame, body) -- If we are substing, this function returns a template invocation, and if -- not, it returns the template body. The template...

Click to read more »
Module:Template wrapper
Sabtu, 2022-10-22 04:11:46

--[[--------------------------< A L I A S _ M A P _ G E T >---------------------------------------------------- returns a table of local template (parent...

Click to read more »
Module:WikidataIB/sandbox
Senin, 2025-12-22 06:49:07

Version: 2023-07-10 -- Module to implement use of a blacklist and whitelist for infobox fields -- Can take a named parameter |qid which is the Wikidata ID...

Click to read more »
Module:Team bracket
Kamis, 2024-08-15 01:16:30

rdstr .. '%-[a-z]+3') then k = mw.ustring.gsub(k, '^' .. rdstr .. '(%-[a-z]+)3', '3rd%11') elseif k:find('^' .. rdstr .. '%-[a-z]+4') then ...

Click to read more »
Module:List
Senin, 2026-03-02 12:52:06

['horizontal_ordered'] = true } function p.makeListData(listType, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and...

Click to read more »
Module:Message box
Senin, 2025-10-20 01:19:52

-- If the talk value is a talk page, make a link to that page. Else -- assume that it's a section heading, and make a link to the talk -- page...

Click to read more »
Module:Adjacent stations/Réseau Express Régional
Selasa, 2025-06-10 12:39:01

"Saint-Rémy-lès-Chevreuse" } } } }, ["aliases"] = { ["a"] = "A", ["rer a"] = "A", ["b"] = "B", ["rer b"] = "B", ["c"] = "C", ["rer c"]...

Click to read more »
Module:Age
Rabu, 2025-12-10 15:08:14

(aged&nbsp;$3)', ['txt-bda-disp'] = 'disp_raw', -- disp_raw → age is a number only; disp_age → age is a number and unit (normally years but months or days if very...

Click to read more »
Module:Adjacent stations/Toei Subway
Jumat, 2026-04-24 07:23:52

"Motoyawata", }, }, ["aliases"] = { ["asakusa"] = "Asakusa", ["a"] = "Asakusa", ["A"] = "Asakusa", ["1"] = "Asakusa", ["mita"] = "Mita", ["M"]...

Click to read more »
Module:Sports color/basketball
Jumat, 2026-06-05 09:34:53

Athens", ["A.E.K. Athens"] = "AEK Athens", ["AEK Betsson"] = "AEK Athens", ["AEL Larissa 1964"] = {"800000", "FFFFFF", "800000", "FFFFFF"}, ["A.E.L. Larissa...

Click to read more »
Module:Citation/CS1/Whitelist
Minggu, 2024-08-18 01:39:09

--[[--------------------------< S U P P O R T E D P A R A M E T E R S >-------------------------------------- Because a steady-state signal conveys no useful information...

Click to read more »
Module:Location map/sandbox
Selasa, 2026-06-02 04:25:47

. map) if not moduletitle then error(string.format('%q is not a valid name for a location map definition', map), 2) elseif moduletitle.exists then...

Click to read more »
Module:Adjacent stations/VR Group
Kamis, 2025-12-18 17:27:33

= { ["title"] = "[[List of railway lines in Finland#International line A: Helsinki–Moscow|Helsinki–Moscow]]", ["note-mid"] = "(''[[Tolstoy (train)|Tolstoy]]'')"...

Click to read more »
Module:Adjacent stations/TransMilenio
Rabu, 2022-04-06 10:05:08

["lines"] = { ["A"] = { ["title"] = "[[File:TransMilenio Estacion A Caracas.svg|20px|link=TransMilenio#Infrastructure|alt=A]]", ["color"] = "00398B"...

Click to read more »
Module:Adjacent stations/Berlin S-Bahn
Senin, 2026-05-11 00:30:03

local a = "Berlin %1" local r = "Berlin-%1 station" local k = "Berlin %1 station" local rw = "%1 railway station" local r_rw = "Berlin-%1 railway station"...

Click to read more »
Module:Syrian Civil War detailed map
Senin, 2026-06-01 05:19:01

[[File:map-arcNE-black.svg|11px]] Enemy pressure from one side; Small icon within a larger icon: The situation in individual neighbourhood/district<br/>...

Click to read more »
Module:Adjacent stations/Pacific Electric
Minggu, 2026-05-24 14:13:38

["Shorb"] = "Alhambra station", ["Slauson Junction"] = "Slauson station (A Line)", ["Soldier's Home"] = "Streetcar Depot, West Los Angeles", ["South...

Click to read more »
Module:Team bracket/sandbox
Rabu, 2024-08-14 14:16:16

rdstr .. '%-[a-z]+3') then k = mw.ustring.gsub(k, '^' .. rdstr .. '(%-[a-z]+)3', '3rd%11') elseif k:find('^' .. rdstr .. '%-[a-z]+4') then ...

Click to read more »
Module:Adjacent stations/REM
Sabtu, 2026-05-16 11:44:38

métropolitain]]", ["color"] = "84BD00", }, ["A"] = { ["icon"] = "[[File:Montreal public transit icons - REM A.svg|16px|link=Réseau express métropolitain]]"...

Click to read more »
Module:Gridiron color/data
Jumat, 2026-05-22 11:09:00

["Rock Island Independents"] = {"#063", "#FFFFFF", "", "", ""}, ["Batter A Gunners"] = "St. Louis Gunners", ["St. Louis Gunners"] = {"blue", "#FFFFFF"...

Click to read more »
Module:Portal/images/g
Kamis, 2025-10-16 22:08:00

--[==[ This is the "G" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Excerpt
Jumat, 2026-03-06 19:56:17

else -- look for anything unlinked in bold, assumed to be a synonym of the title (e.g. a person's birth name) excerpt = mw.ustring.gsub( excerpt, "'''(...

Click to read more »
Module:Portal/images/m
Rabu, 2026-05-13 07:10:03

--[==[ This is the "M" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/r
Kamis, 2025-10-16 22:51:11

--[==[ This is the "R" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/aliases
Selasa, 2025-12-02 12:09:56

--[==[ This is the "aliases" list of portal image names. It contains a list of portal image aliases for use with [[Module:Portal]]. -- The aliases can...

Click to read more »
Module:Portal/images/s
Kamis, 2025-10-16 23:02:19

--[==[ This is the "S" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Autotaxobox
Selasa, 2026-03-17 12:06:48

Speciesbox, Subspeciesbox, Infraspeciesbox, etc. In particular it provides a way of traversing the taxonomic hierarchy encoded in taxonomy templates (templates...

Click to read more »
Module:Footnotes
Minggu, 2025-03-02 10:29:01

--[[--------------------------< A R G S _ D E F A U L T >------------------------------------------------------ a table to specify initial values. ...

Click to read more »
Module:Co-op profile/learner
Jumat, 2015-03-27 06:03:02

about = {} m.fields.about.isRequired = true m.fields.about.default = "tell us a little about yourself" m.fields.about.prefix = "" m.fields.about.ftype = "text"...

Click to read more »
Module:Portal/images/n
Selasa, 2025-11-04 21:16:12

--[==[ This is the "N" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/other
Kamis, 2026-06-04 21:00:56

names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with letters other than A to Z, e.g. numbers...

Click to read more »
Module:Infobox3cols
Senin, 2026-05-25 12:20:24

end end end end -- Returns the union of the values of two tables, as a sequence. local function union(t1, t2) local vals = {} for k, v in pairs(t1)...

Click to read more »
Module:Portal/images/k
Selasa, 2025-11-18 05:50:58

--[==[ This is the "K" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/d
Kamis, 2025-10-16 21:54:02

--[==[ This is the "D" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/v
Senin, 2025-06-02 20:50:17

--[==[ This is the "V" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Unicode data
Selasa, 2025-09-16 09:46:49

and codepoint <= range[2] then return range end end end --]] -- Load a module by indexing "loader" with the name of the module minus the -- "Module:Unicode...

Click to read more »
Module:Portal/images/t
Kamis, 2025-10-16 23:06:50

--[==[ This is the "T" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/z
Kamis, 2025-10-16 23:15:15

--[==[ This is the "Z" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

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

This module provides functions for getting the target of a redirect page. local p = {} -- Gets a mw.title object, using pcall to avoid generating script...

Click to read more »
Module:Portal/images/h
Kamis, 2025-10-16 22:10:56

--[==[ This is the "H" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/y
Selasa, 2024-11-12 20:12:24

--[==[ This is the "Y" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/l
Kamis, 2025-10-16 22:27:35

--[==[ This is the "L" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/b
Kamis, 2025-10-16 21:17:34

--[==[ This is the "B" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/x
Kamis, 2025-10-16 23:14:39

--[==[ This is the "X" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/c
Kamis, 2025-12-25 04:02:52

--[==[ This is the "C" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Adjacent stations/Istanbul Metro
Sabtu, 2026-06-06 23:12:10

(M13)|Şehir Hastanesi]]", ["Yakacık"] = "[[Yakacık–Adnan Kahveci station|Yakacık–A. Kahveci]]", ["Yenikapi"] = "[[Yenikapı Transfer Center|Yenikapı]]", ["Yenimahalle...

Click to read more »
Module:Portal/images/p
Rabu, 2026-05-27 06:29:33

--[==[ This is the "P" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/j
Kamis, 2025-10-16 22:19:31

--[==[ This is the "J" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Adjacent stations/Dallas Area Rapid Transit
Selasa, 2025-11-25 14:00:09

["text color"] = "FFFFFF", ["left terminus"] = "DFW Airport Terminal A", ["right terminus"] = {"LBJ/Central", "Parker Road"}, }, ["Silver"]...

Click to read more »
Module:Portal/images/o
Kamis, 2025-10-16 22:39:15

--[==[ This is the "O" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Sports results
Jumat, 2024-10-11 04:03:21

'%2') n = mw.ustring.gsub(n, '(%[%[[^%|%]]*%|)([A-Z][A-Z][A-Z])(%]%])&nbsp;<span[^<>]*>%([A-Z][A-Z][A-Z]%)</span>', '%1%2%3') return n end -- nothing...

Click to read more »
Module:Portal/images/f
Kamis, 2025-10-16 22:03:44

--[==[ This is the "F" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Convert/documentation/conversion data
Senin, 2026-03-02 10:32:53

Units should be discussed at Template talk:Convert. This page is read by a script (makeunits). The script extracts information from the wikitext, and...

Click to read more »
Module:Portal/images/e
Kamis, 2025-10-16 22:01:12

--[==[ This is the "E" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Adjacent stations/Rome Metro
Rabu, 2025-12-17 04:39:01

Compatri-Pantano", } }, ["aliases"] = { ["a"] = "A", ["b"] = "B", ["c"] = "C", ["line a"] = "A", ["line b"] = "B", ["line c"] = "C", } }...

Click to read more »
Module:Portal/images/q
Jumat, 2023-04-28 13:11:12

--[==[ This is the "Q" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/w
Kamis, 2025-10-16 23:13:50

--[==[ This is the "W" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/u
Kamis, 2025-10-16 23:09:57

--[==[ This is the "U" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Portal/images/i
Kamis, 2025-10-16 22:17:31

--[==[ This is the "I" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with...

Click to read more »
Module:Adjacent stations/Copenhagen S-train
Selasa, 2025-12-30 01:40:41

service %1.svg|16px|link=%1 (S-train)|alt=]]", }, ["A"] = { ["title"] = "[[A (S-train)|A]]", ["color"] = "00A7E3", ["left terminus"] = "Hillerød"...

Click to read more »
Module:Chart
Minggu, 2025-10-05 10:07:07

error( string.format( 'Slice %d: "%s", first item("%s") could not be parsed as a number', i, value or '', slice ) ) colors[i] = not nulOrWhitespace( color...

Click to read more »
Module:College color/sandbox
Sabtu, 2026-05-23 09:34:52

-- remove leading # (if there is one) c = mw.ustring.match(c, '^[#]*([a-f0-9]*)$') -- split into rgb local cs = mw.text.split(c or '', '') if(...

Click to read more »
Module:Citation/CS1/Date validation
Minggu, 2026-01-18 02:25:14

--[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- ]] local add_prop_cat, is_set, in_array...

Click to read more »
Module:Adjacent stations/Brussels Metro
Kamis, 2024-08-01 15:17:10

svg|16px|link=Brussels Metro|alt=The icon for Brussels Metro. A white letter 'M' on top of a pink circle.]]", ["name format"] = "font-size: 160%; font-family:...

Click to read more »
Module:Solar eclipse/db/195
Kamis, 2026-04-09 22:10:33

TiPB="16:28:46", TiTB="17:21:41", TiTE="20:50:28", TiPE="21:43:24", Ph="Eclipse CR 1991 a zoom.jpg", PhCap="Totality from [[Playas del Coco]], Costa Rica"}, ["1992Jan04"]...

Click to read more »
Module:Adjacent stations/Prague Metro
Selasa, 2024-02-13 08:01:21

font-family: helvetica; color: white; padding: 5px; line-height: 50%;", ["A"] = "background-color: #02A848; font-size: 185%; font-family: helvetica; color:...

Click to read more »
Module:List/sandbox
Senin, 2026-03-02 12:57:07

['horizontal_ordered'] = true } function p.makeListData(listType, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and...

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

-- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other...

Click to read more »
Module:Country alias
Senin, 2026-04-20 17:47:33

-- This module returns the country name or the flag name for a country, -- based on the three-letter IOC/CGA/FINA alias. --[[ The following country code...

Click to read more »
Module:Citation/CS1/styles.css
Minggu, 2026-01-18 02:25:08

mw-parser-output a[href$=".pdf"].external for PDF pages. All TemplateStyles pages are hoisted to .mw-parser-output. We need to have specificity equal to a[href$="...

Click to read more »
Module:Adjacent stations/ÖBB
Kamis, 2025-11-13 11:21:26

["Bratislava hl.st."] = "Bratislava hlavná stanica", ["Bremen"] = hbf, ["Bruck a.d. Leitha"] = "Bruck an der Leitha railway station", ["Budapest"] = "Budapest...

Click to read more »
Module:Infobox3cols/sandbox
Senin, 2026-05-25 12:16:45

end end end end -- Returns the union of the values of two tables, as a sequence. local function union(t1, t2) local vals = {} for k, v in pairs(t1)...

Click to read more »
Module:Convert/data
Kamis, 2026-01-15 16:43:54

-- These data tables follow: -- all_units all properties for a unit, including default output -- default_exceptions exceptions for default...

Click to read more »
Module:Political party/sandbox
Sabtu, 2026-02-21 21:25:57

non-A-Z starts if string.match(index, '%A') then return '1' end return string.upper(index) end local function stripToNil(text) -- If text is a string...

Click to read more »
Module:Citation/CS1/Configuration/sandbox
Rabu, 2026-06-03 02:12:03

Publishing) ]] local lang_obj = mw.getContentLanguage(); -- make a language object for the local language; used here for languages and dates...

Click to read more »
Module:Hatnote
Selasa, 2025-03-18 22:47:33

colon from a string, if present. return s:match('^:?(.*)') end function p.defaultClasses(inline) -- Provides the default hatnote classes as a space-separated...

Click to read more »
Module:CS1 translator
Jumat, 2026-03-06 13:45:32

-- this wiki's language tag --[[--------------------------< I N _ A R R A Y >-------------------------------------------------------------- Whether...

Click to read more »
Module:Signpost
Sabtu, 2023-12-16 07:24:07

return accessor(a) < accessor(b) end elseif direction == 'descending' then sortFunc = function (a, b) return accessor(a) > accessor(b) end...

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

-- This module contains a number of functions that make use of random numbers. local cfg = {} -----------------------------------------------------...

Click to read more »
Module:UserLinks
Minggu, 2024-09-01 00:20:30

-- -- This module creates a list of links about a given user. It can be used on -- -- its own or from a template. See the /doc page for more...

Click to read more »
Module:Convert/extra
Minggu, 2026-05-17 13:34:23

transcluded in only a small number of pages, changes -- should cause little server overhead and should propagate quickly. -- -- If a unit is defined in...

Click to read more »
Module:CS1 translator/data
Minggu, 2026-04-26 06:54:08

--[[--------------------------< P A R A M S _ M A I N _ T >---------------------------------------------------- table of k/v_t pair tables where k/v_t...

Click to read more »
Module:Category series navigation
Selasa, 2025-12-09 01:35:27

--Returns a numbered list of all {{Category redirect}}s followed by catlinkfollowr() -> rtarget(). --For a nav_hyphen() cat, also returns a formatted...

Click to read more »
Module:ConvertNumeric
Kamis, 2023-02-09 08:04:17

['eighty'] = 80, ['ninety'] = 90, } -- Converts a given valid roman numeral (and some invalid roman numerals) to a number. Returns { -1, errorstring } on error...

Click to read more »
Module:Unicode convert
Minggu, 2021-04-11 20:12:30

solely for its args member. -- Modules using them may therefore call them with a fake frame table -- containing only args. p.getUTF8 = function (frame) local...

Click to read more »
Module:Month translator
Sabtu, 2022-10-22 11:19:11

('Module:month translator/data'); --[[--------------------------< _ M O N T H _ X L A T E >------------------------------------------------------ {{#invoke:Month...

Click to read more »
Module:Adjacent stations/Bordeaux tramway
Sabtu, 2026-06-06 05:40:22

format"] = { "%1 tram stop", }, ["lines"] = { ["A"] = { ["title"] = "[[Bordeaux tramway#Line A|Line A]]", ["color"] = "81197f", ["left terminus"]...

Click to read more »
Module:Color contrast
Senin, 2025-03-31 03:30:40

match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then...

Click to read more »
Module:Wikt-lang
Minggu, 2025-06-22 00:01:58

codes:find("^%a%a%a?%-x%-%a%a?%a?%a?%a?%a?%a?%a?$") then languageCode, scriptCode = codes:match("^(%a%a%a%-x%-%a%a?%a?%a?%a?%a?%a?%a?)%-?(.*)$") ...

Click to read more »
Module:ISO 639 name
Kamis, 2024-07-11 22:43:33

name/ISO 639-5', '5'}, } --[[--------------------------< E R R O R _ M E S S A G E S >-------------------------------------------------- ]] local error_messages...

Click to read more »
Module:Adjacent stations/Xi'an Metro
Senin, 2026-01-05 15:08:31

"Qinchuangyuanzhongxin", ["right terminus"] = "Shijingli" }, }, ["aliases"] = { ["a"] = "14", ["ap"] = "14", ["airport"] = "14" } } return p...

Click to read more »
Module:Citation/CS1/Identifiers
Senin, 2026-01-19 22:36:14

--[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- ]] local has_accept_as_written, is_set...

Click to read more »
Module:If preview
Selasa, 2024-09-10 02:58:02

end return warning_text(warning) end --[[ warning This function returns a "preview warning", which is the first argument marked up with HTML and some...

Click to read more »
Module:Wikidata table
Kamis, 2026-02-12 20:56:00

internationalised along with the above i18n -- takes cardinal number as a numeric and returns the ordinal as a string -- we need three exceptions in English for 1st, 2nd...

Click to read more »
Module:Age/sandbox
Selasa, 2025-12-09 10:52:00

(aged&nbsp;$3)', ['txt-bda-disp'] = 'disp_raw', -- disp_raw → age is a number only; disp_age → age is a number and unit (normally years but months or days if very...

Click to read more »
Module:Episode list
Sabtu, 2025-10-11 08:47:09

Summary cell. local nonNilParams = 0 -- Variable that will keep track if a TBA value was entered. local cellValueTBA = false -- Variable that handles...

Click to read more »
Module:Adjacent stations/Athens Suburban Railway
Rabu, 2025-02-05 03:49:19

["title"] = "[[Line A%1 (Athens Suburban Railway)|Line A%1]]", ["icon"] = "[[File:Athens Suburban Railway Line %1.svg|16px|link=Line A%1 (Athens Suburban...

Click to read more »
Module:Convert/sandbox
Senin, 2026-03-02 10:48:21

-- Convert a value from one unit of measurement to another. -- Example: {{convert|123|lb|kg}} → 123 pounds (56 kg) -- See [[:en:Template:Convert/Transwiki...

Click to read more »
Module:Citation/CS1/Suggestions
Sabtu, 2023-01-14 21:43:32

'date', -- Spanish (not a direct replacement) ['mese'] = 'date', -- Italian (not a direct replacement) ['miejsce'] = 'location'...

Click to read more »
Module:Date
Rabu, 2026-02-18 10:21:21

'unique identifier' } local function is_date(t) -- The system used to make a date read-only means there is no unique -- metatable that is conveniently...

Click to read more »
Module:Political party/doc
Rabu, 2026-02-11 18:49:35

/L). The /1 subpage is for any party that does not start with the letters A to Z of the Latin alphabet (including numbers and accented characters). Within...

Click to read more »
Module:If preview/sandbox
Sabtu, 2024-09-21 08:46:21

end return warning_text(warning) end --[[ warning This function returns a "preview warning", which is the first argument marked up with HTML and some...

Click to read more »
Module:Political party/D
Minggu, 2026-05-31 00:11:59

"#DDDDDD", shortname = "",}, ["DPS – A New Beginning"] = {abbrev = "DPS–NN", color = "#8F1CCE", shortname = "",}, ["Dr. A. P. J. Abdul Kalam"] = {abbrev =...

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

--[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- ]] local has_accept_as_written, is_set...

Click to read more »
Module:Portal/images
Senin, 2013-09-09 11:37:46

the list below instead: -- [[Module:Portal/images/a]] - for portal names beginning with "A". -- [[Module:Portal/images/b]] - for portal names...

Click to read more »
Module:Find sources
Minggu, 2022-02-27 20:33:28

implements {{find sources}} and other similar templates, and -- also provides a mechanism to easily create new source-finding templates. -- Define constants...

Click to read more »
Module:RoundN
Kamis, 2024-03-07 20:54:05

insensitive end --saves memory and avoids errors when using a nil as a table by providing a temporary table; if using nil as false; use 'table(k)' to look...

Click to read more »
Module:Separated entries
Senin, 2025-10-13 23:33:18

#conjunction > 0) then -- flag to [[Module:Detect singular]] whether this is a list with >1 element result = result..'<span style="display:none" data-plural="'...

Click to read more »
Module:Protection banner/sandbox
Kamis, 2026-04-16 03:24:56

display ) end -- Given a directed graph formatted as node -> table of direct successors, -- get a table of all nodes reachable from a given node (though always...

Click to read more »
Module:Taxonbar
Minggu, 2025-12-14 22:45:10

--configuration module local TaxonItalics = require( 'Module:TaxonItalics' ) --use a function to conditionally italicize taxon names --[[====================...

Click to read more »
Module:Adjacent stations/Rotterdam Metro
Jumat, 2025-09-26 05:00:29

= "[[Rotterdam Metro#Lines|Line %1]]", ["text color"] = "FFF" }, ["A"] = { ["color"] = "00AA50", ["left terminus"] = "Vlaardingen West",...

Click to read more »
Module:Political party/1
Jumat, 2026-02-13 22:57:30

Nūnaʻa Māʻohi"] = {abbrev = "", color = "#FF7F00", shortname = "",}, ["(A)TUA"] = {abbrev = "", color = "#1a4d77", shortname = "",}, ["1-Pacman"]...

Click to read more »
Module:Color contrast/sandbox
Senin, 2025-03-31 03:29:26

match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then...

Click to read more »
Module:Footnotes/sandbox
Jumat, 2025-05-16 04:41:13

--[[--------------------------< A R G S _ D E F A U L T >------------------------------------------------------ a table to specify initial values. ...

Click to read more »
Module:Adjacent stations/Valley Metro
Selasa, 2026-05-12 05:40:14

["lines"] = { ["A Line"] = { ["title"] = "[[A Line (Valley Metro Rail)|A Line]]", ["color"] = "238dcd", ["icon"] = "[[File:Logo A Line (Valley Metro...

Click to read more »
Module:Template test case
Kamis, 2025-08-07 00:01:43

--[[ A module for generating test case templates. This module incorporates code from the English Wikipedia's "Testcase table" module,[1] written...

Click to read more »
Module:Str find word
Senin, 2023-04-03 07:35:55

escape_word(word) return str._escapePattern(word) end -- Reads and parses a word list and returns a table with words (simple array) -- words list can be: source,...

Click to read more »
Module:Navbox/sandbox
Kamis, 2026-05-21 17:13:41

a group before a nested table. -- Set it to first as a valid although pointless class. -- The next occurrence will be the first row after a...

Click to read more »
Module:Political party/L
Senin, 2026-05-25 00:51:31

(Australian Capital Territory Division)"] = "Liberal Party of Australia (A.C.T. Division)", ["Liberal Party of New York"] = "Liberal Party (New York)"...

Click to read more »
Module:Sidebar
Selasa, 2025-12-30 01:10:22

calling templates and modules with a 'style' parameter of any sort for tracking to convert to TemplateStyles. TODO after a long cleanup: Catch sidebars in...

Click to read more »
Module:Citation/CS1/sandbox/styles.css
Kamis, 2026-01-22 22:01:02

mw-parser-output a[href$=".pdf"].external for PDF pages. All TemplateStyles pages are hoisted to .mw-parser-output. We need to have specificity equal to a[href$="...

Click to read more »
Module:Convert/text
Minggu, 2025-10-05 14:15:45

-- Text used by Module:Convert for enwiki. -- This is a separate module to simplify translation for use on another wiki. -- See [[:en:Template:Convert/Transwiki...

Click to read more »
Module:Documentation
Rabu, 2025-03-12 10:38:41

local function message(cfgKey, valArray, expectType) --[[ -- Gets a message from the cfg table and formats it if appropriate. -- The function...

Click to read more »
Module:Lang/data
Senin, 2026-05-04 04:40:57

get this wiki's language tag --[[--------------------------< L A N G _ N A M E _ T A B L E >------------------------------------------------ primary...

Click to read more »
Module:Math/sandbox
Jumat, 2026-04-10 00:08:08

--[[ This module provides a number of basic mathematical operations. ]] local yesno, getArgs -- lazily initialized local p = {} -- Holds functions...

Click to read more »
Module:Routemap
Kamis, 2026-03-26 07:59:00

images]]', ["separate-navbar"] = '[[Category:Pages using Routemap with a separate navbar template]]', ["missing-text-values"] = '[[Category:Pages...

Click to read more »
Module:Citation/CS1/Whitelist/sandbox
Jumat, 2025-11-21 02:47:45

--[[--------------------------< S U P P O R T E D P A R A M E T E R S >-------------------------------------- Because a steady-state signal conveys no useful information...

Click to read more »
Module:Message box/sandbox
Rabu, 2026-01-14 07:04:32

-- If the talk value is a talk page, make a link to that page. Else -- assume that it's a section heading, and make a link to the talk -- page...

Click to read more »
Module:TableTools/sandbox
Kamis, 2024-08-15 03:03:06

-- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other...

Click to read more »
Module:Citation/CS1/Utilities
Minggu, 2026-01-18 02:25:10

supported – a.1-a.5 or a-1-a-5) digitletter - digitletter (5a-5d) (an optional separator between letter and digit is supported – 5.a-5.d or 5-a-5-d) any...

Click to read more »
Module:Unsubst/sandbox
Rabu, 2026-06-03 03:52:34

frame:getParent() then error( "argument #1 to 'main' must be a frame object with a parent " .. "frame available", 2 ) end -- Find the invocation...

Click to read more »
Module:Citation/CS1/Date validation/sandbox
Minggu, 2026-03-29 21:38:23

2026-03-29: dismissed a couple of TODOs; ]] --[[--------------------------< F O R W A R D D E C L A R A T I O N S >--------------------------------------...

Click to read more »
Module:Fiction-based redirects to list entries category handler
Jumat, 2026-05-29 15:04:01

new(category).exists end --[[ Local function which "Module:Sort title" to retrieve a sortkey and set it as the default sortkey. --]] local function getDefaultSortKey(frame)...

Click to read more »
Module:Citation/CS1/Identifiers/sandbox
Kamis, 2026-06-04 20:26:17

--[[--------------------------< W I K I D A T A _ A R T I C L E _ N A M E _ G E T >---------------------------- as an aid to internationalizing...

Click to read more »
Module:Wikt-lang/data
Rabu, 2026-01-14 15:11:12

local dot_below = U(0x323) local undertie = U(0x35C) --[[ This is a table of Wiktionary language codes with data belonging to them. Name is the...

Click to read more »
Module:Fiction redirect category handler
Sabtu, 2026-04-18 11:11:01

"location", validArgs) end --[[ Public function which is used to create a Redirect category shell with relevant redirects for fictional character redirects...

Click to read more »
Module:Namespace detect
Minggu, 2014-04-06 00:01:23

-- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace aliases are supported...

Click to read more »
Module:URL
Kamis, 2025-11-13 05:08:00

or extractUrl(parentArgs) or '' -- if the url came from a Wikidata call, it might have a pen icon appended -- we want to keep that and add it back...

Click to read more »
Module:Template wrapper/sandbox
Jumat, 2022-10-21 16:56:15

--[[--------------------------< A L I A S _ M A P _ G E T >---------------------------------------------------- returns a table of local template (parent...

Click to read more »
Module:Userbox
Sabtu, 2025-10-04 09:14:54

default) -- Checks whether a value is a number greater than or equal to zero. If so, -- returns it as a number. If not, returns a default value. val = tonumber(val)...

Click to read more »
Module:Redirect template handler
Kamis, 2024-06-27 16:55:32

]]----------------- --[[ Redirect target can be: -- a link to an anchor in a list. -- a link to a list, where the redirect is an entry. -- an article...

Click to read more »
Module:Co-op profile/mentor
Kamis, 2015-03-26 02:04:48

about = {} m.fields.about.isRequired = true m.fields.about.default = "tell us a little about yourself" m.fields.about.prefix = "" m.fields.about.ftype = "text"...

Click to read more »
Module:Television episode redirect handler
Sabtu, 2026-04-18 10:18:54

handler parameter usage tracking|%s]]" --[[ Helper function which creates a season category, checks if it exists and returns it if it does or an empty...

Click to read more »
Module:Arrowverse redirect category handler
Minggu, 2024-11-10 01:21:45

FRANCHISE, tvSeriesNameList) end --[[ Public function which is used to create a Redirect category shell with relevant redirects for Arrowverse-related character...

Click to read more »
Module:Autotaxobox/sandbox
Kamis, 2025-07-17 19:35:19

Speciesbox, Subspeciesbox, Infraspeciesbox, etc. In particular it provides a way of traversing the taxonomic hierarchy encoded in taxonomy templates (templates...

Click to read more »
Module:String2/sandbox
Rabu, 2025-02-19 19:23:52

supported – a.1-a.5 or a-1-a-5) digitletter - digitletter (5a - 5d) (an optional separator between letter and digit is supported – 5.a-5.d or 5-a-5-d) any...

Click to read more »
Module:Labelled list hatnote
Kamis, 2025-05-29 01:18:35

-- -- This module does the core work of creating a hatnote composed of a list -- -- prefixed by a colon-terminated label, i.e. "LABEL: [andList of...

Click to read more »
Module:Graph
Sabtu, 2025-07-12 23:57:01

"wikiraw://") then basemapUrl = basemap else -- if not a (supported) url look for a colon as namespace separator. If none prepend default map directory...

Click to read more »
Module:WPSHIPS utilities
Selasa, 2026-04-07 00:38:23

-- used for categorization --[[--------------------------< E R R O R _ M A P _ T >-------------------------------------------------------- ]] local...

Click to read more »
Module:Separated entries/sandbox
Senin, 2025-10-13 23:32:53

#conjunction > 0) then -- flag to [[Module:Detect singular]] whether this is a list with >1 element result = result..'<span style="display:none" data-plural="'...

Click to read more »
Module:Side box
Selasa, 2026-03-17 03:05:56

'none' then data.image = args.image end -- we have to check to see if a downstream use has plainlist like -- Template:Sister_project. also it's the...

Click to read more »
Module:Sports table/WDL
Kamis, 2025-04-24 06:03:07

local hide_for_against = false -- First convert to lower case if it is a string for_against_style = string.lower(for_against_style) if for_against_style=='g'...

Click to read more »
Module:UserLinks/sandbox
Jumat, 2025-11-28 19:06:27

-- -- This module creates a list of links about a given user. It can be used on -- -- its own or from a template. See the /doc page for more...

Click to read more »
Module:Protected edit request
Minggu, 2025-05-11 03:02:03

protectionType } return obj end function box:setArg(key, value) -- This sets a value to be passed to tmbox. if key then self.tmboxArgs[key] = value end...

Click to read more »
Module:Iraqi insurgency detailed map
Rabu, 2025-02-19 00:10:10

[[File:map-arcNE-black.svg|11px]] Enemy pressure from one side; Small icon within a larger icon: The situation in individual neighbourhood/district<br/>...

Click to read more »
Module:RfD
Rabu, 2025-04-16 04:48:47

the Wikipedia community." .. " The outcome of the discussion may result in a change of this page, or possibly its deletion in accordance with Wikipedia's...

Click to read more »
Module:Commons link
Kamis, 2024-10-24 17:43:16

= require('Module:Arguments').getArgs local p = {} -- Check if string is a valid QID -- Argument: QID to check -- Returns: valid (bool) local function...

Click to read more »
Module:Data
Rabu, 2026-02-18 23:41:00

pcall(mw.loadJsonData, k) if not success then error("'" .. k .. "' is not a valid data page") end end for i, v in ipairs(frame.args) do local...

Click to read more »
Module:Fiction-based redirects to list entries category handler/RedirectType
Kamis, 2024-06-27 01:00:59

defaultCategory end end --[[ Public function which is used to retrieve a category for a specific type. --]] function RedirectType:getCategory(category) ...

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

This module provides functions for getting the target of a redirect page. local p = {} -- Gets a mw.title object, using pcall to avoid generating script...

Click to read more »
Module:Infobox mapframe
Senin, 2025-11-24 11:39:55

" .. (maskType or "nil") .. " and item " .. (maskItem or "nil")) end --A list of types for objects that are too small to allow Kartographer to take...

Click to read more »
Module:UnitTests
Senin, 2026-04-27 06:17:38

`k`/`v_a` pair to `remaining_a` for the laborious check. elseif not remaining_a then remaining_a = {} end remaining_a[k], size_a = v_a, size_a...

Click to read more »
Module:Wd/sandbox
Jumat, 2025-08-08 00:45:17

{ property = "%p", qualifier = "%q", reference = "%r", alias = "%a", badge = "%b", separator = "%s", general = "%x" } local formats...

Click to read more »
Module:Fiction redirect category handler/Franchise
Kamis, 2024-11-14 11:39:50

and if they do, adds them to the list. Franchise templates can also use a "franchise" default parameter so all members will automatically be tagged...

Click to read more »
Module:Adjacent stations/Tram İzmir
Minggu, 2025-07-20 06:44:31

["MKA Spor Salonu"] = "[[Mustafa Kemal Atatürk Spor Salonu (Tram İzmir)|M.K.A. Spor Salonu]]", ["Alsancak Stadyumu E"] = "[[Alsancak Stadyumu (Tram İzmir)|Alsancak...

Click to read more »
Module:Television episode short description
Minggu, 2025-10-19 06:32:02

and disambiguated page names|%s]]" } --- Returns a tracking category from a list by its name and adds a sort key. --- @param typeName string The name of...

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

implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all namespace aliases -- -- ...

Click to read more »
Module:ParameterCount
Sabtu, 2017-02-11 21:32:57

-- This module produces a count of all the arguments passed to it. local yesno = require('Module:Yesno') -- Trim a string local function trim(s) return...

Click to read more »
Module:Unsubst-infobox
Senin, 2024-07-29 08:54:24

frame:getParent() then error( '{{#invoke:Unsubst-infobox|}} makes no sense without a parent frame' ) end if not frame.args['$B'] then error( '{{#invoke:Unsubst-infobox|}}...

Click to read more »
Module:Convert/wikidata
Kamis, 2021-05-06 12:08:27

strip_to_nil(text) -- If text is a non-empty string, return its trimmed content, -- otherwise return nothing (empty string or not a string). if type(text) ==...

Click to read more »
Module:Convert/wikidata/data
Minggu, 2021-06-06 10:21:16

rarely change, and using a cache means that changing a unit at Wikidata will not cause lots of converts in articles to break. For a unit known to convert...

Click to read more »
Module:Solar eclipse/db/185
Kamis, 2026-04-09 03:55:11

Ph="Thomas_Smillie_-_Smithsonian_Institution_-_Corona_of_the_Sun_during_a_Solar_Eclipse_(pd).jpg", PhCap="Totality photographed in [[Wadesboro, North...

Click to read more »
Module:Country alias/sandbox
Selasa, 2025-12-09 01:59:46

-- This module returns the country name or the flag name for a country, -- based on the three-letter IOC/CGA/FINA alias. --[[ The following country code...

Click to read more »
Module:Lang/data/iana languages
Jumat, 2026-04-17 00:41:38

["apn"] = {"Apinayé"}, ["apo"] = {"Ambul"}, ["app"] = {"Apma"}, ["apq"] = {"A-Pucikwar"}, ["apr"] = {"Arop-Lokep"}, ["aps"] = {"Arop-Sissano"}, ["apt"]...

Click to read more »
Module:IPA symbol/data
Kamis, 2026-06-04 02:35:22

{ "ä", "a̠", "ɑ̈", "ɑ̟" }, audio = "Open central unrounded vowel.ogg" }, { name = "Open central rounded vowel", symbols = { "ɒ̈", "ɒ̟", "ɶ̈"...

Click to read more »
Module:Pagetype
Rabu, 2024-05-22 00:35:20

meta-module which automatically detects namespaces, and allows -- -- for a great deal of customisation. It can easily be ported to other -- -- ...

Click to read more »
Module:Convert/wikidata/sandbox
Senin, 2020-12-14 13:00:27

strip_to_nil(text) -- If text is a non-empty string, return its trimmed content, -- otherwise return nothing (empty string or not a string). if type(text) ==...

Click to read more »
Module:Convert/text/sandbox
Senin, 2026-03-02 10:38:54

-- Text used by Module:Convert for enwiki. -- This is a separate module to simplify translation for use on another wiki. -- See [[:en:Template:Convert/Transwiki...

Click to read more »
Module:Check for conflicting parameters
Minggu, 2025-12-28 10:34:01

local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end function p.check(frame)...

Click to read more »
Module:Delink
Sabtu, 2024-02-17 11:47:33

contains a line break it is not formatted as a URL, regardless of other content. if s:match("\n") then return s end -- Check if the text has a valid...

Click to read more »
Module:Convert/wikidata/data/sandbox
Minggu, 2021-05-23 13:57:38

rarely change, and using a cache means that changing a unit at Wikidata will not cause lots of converts in articles to break. For a unit known to convert...

Click to read more »
Module:Convert/data/sandbox
Senin, 2026-03-02 10:35:27

-- These data tables follow: -- all_units all properties for a unit, including default output -- default_exceptions exceptions for default...

Click to read more »
Module:Location map/data/France Franche-Comté
Jumat, 2018-12-21 06:27:22

top = 48.125, bottom = 46.25, left = 5.25, right = 7.25, image = '381x516-Carte-Franche-Comte-A.svg', image1 = '381x516-Franche-Comté-R.png' }...

Click to read more »
Module:Italic title
Sabtu, 2022-10-22 04:17:12

'ItalicTitle', 'obj', obj, 'ItalicTitle object' ) -- Checks a key is present in a lookup table. -- Param: name - the function name. -- Param:...

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

-- This module contains a number of functions that make use of random numbers. local cfg = {} -----------------------------------------------------...

Click to read more »
Module:Automated taxobox
Selasa, 2026-06-02 13:33:55

taxon) end -- set binomial parameters if the target taxon is (unusually) a species local genusAuthority = '' if binomial == '' then if ok and taxonRank...

Click to read more »
Module:BaseConvert/sandbox
Selasa, 2022-04-12 14:18:47

prefix, suffix) n = tostring(n) -- strip off any leading '0x' (unless x is a valid digit in the input base) from = tonumber(from) if not from or from...

Click to read more »
Module:Convert/extra/sandbox
Rabu, 2024-10-23 10:32:27

transcluded in only a small number of pages, changes -- should cause little server overhead and should propagate quickly. -- -- If a unit is defined in...

Click to read more »
Module:Track gauge
Minggu, 2024-01-14 16:27:34

ustring.gsub(a, "'", "ft") a = mw.ustring.gsub(a, '"', 'in') a = mw.ustring.gsub(a, '⁄', '/') a = mw.ustring.gsub(a, '&frasl;', '/') return a end...

Click to read more »
Module:Commons link/sandbox
Kamis, 2024-10-24 17:40:20

= require('Module:Arguments').getArgs local p = {} -- Check if string is a valid QID -- Argument: QID to check -- Returns: valid (bool) local function...

Click to read more »
Module:Check isxn
Jumat, 2022-11-04 06:27:58

Module:Citation/CS1. It allows validating ISBN, ISMN, and ISSN without invoking a citation template. ]] local p = {} --[[--------------------------< E R...

Click to read more »
Module:Adjacent stations/Portland Streetcar
Kamis, 2025-03-27 22:17:58

["_default"] = { ["text color"] = "FFFFFF", }, ["A"] = { ["title"] = "[[A and B Loop|A Loop]]", ["color"] = "db0962", ["circular"] = true...

Click to read more »
Module:ResolveEntityId
Rabu, 2022-11-02 22:33:48

getEntityIdForTitle(idOrTitle) if eid then -- idOrTitle is a title that matches a Wikidata entity local instanceOf = mw.wikibase.getBestStatements(eid...

Click to read more »
Module:Mapframe
Senin, 2026-06-01 22:40:49

parameter names (unnumbered versions only) -- Specify each as either a single string, or a table of strings (aliases) -- Aliases are checked left-to-right...

Click to read more »
Module:Citation/CS1/COinS/sandbox
Jumat, 2025-11-21 02:45:55

sync: 2025-04-12 ]] --[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- ]] local has_accept_as_written...

Click to read more »
Module:Sanctions
Sabtu, 2026-03-14 17:11:52

else return false end end -- Returns an invalid topic error, with a table of acceptable topics local function syntaxHelp() return [[<span...

Click to read more »
Module:Location map/data/Spain Province of A Coruña
Kamis, 2018-04-19 19:32:09

return { name = 'Province of A Coruña', top = 43.895363, bottom = 42.450552, left = -9.405105, right = -7.579692, image = 'La Coruña-loc.svg' }...

Click to read more »
Module:Adjacent stations/sandbox
Jumat, 2026-03-13 19:56:20

which is not inside a function, translate it directly. -- • Strings with keys named "format" are Lua regular expressions. -- «()» is a match; «.+» means...

Click to read more »
Module:SportsRankings
Kamis, 2023-08-03 23:08:11

table (data.updated) -- TODO add a warning and/or category if option == "LAST" then local lastDateTable...

Click to read more »
Module:Storm categories
Senin, 2023-04-24 22:35:45

{{#ifeq}} check does not consider aliases. This function compares two -- IDs in a way that considers category aliases. This works because alias -- assignments...

Click to read more »
Module:A or an
Selasa, 2020-05-19 02:06:15

local p = {} local words = mw.loadData('Module:A or an/words') local lcVChars = 'aeiouà-æè-ïò-öø-üāăąēĕėęěĩīĭįıijōŏőœũūŭůűų' local ucVvChars =...

Click to read more »
Module:ISO 639 name/sandbox
Selasa, 2024-12-10 03:15:12

name/ISO 639-5', '5'}, } --[[--------------------------< E R R O R _ M E S S A G E S >-------------------------------------------------- ]] local error_messages...

Click to read more »
Module:Citation/CS1/Suggestions/sandbox
Rabu, 2025-12-17 03:52:24

'date', -- Spanish (not a direct replacement) ['mese'] = 'date', -- Italian (not a direct replacement) ['miejsce'] = 'location'...

Click to read more »
Module:WPSHIPS utilities/sandbox
Senin, 2025-12-29 14:36:53

-- used for categorization --[[--------------------------< E R R O R _ M A P _ T >-------------------------------------------------------- ]] local...

Click to read more »
Module:Redirect hatnote
Selasa, 2022-09-06 01:21:32

--[[ -- This module produces a "redirect" hatnote. It looks like this: -- '"X" redirects here. For other uses, see Y.' -- It implements the {{redirect}}...

Click to read more »
Module:Redirect template handler/doc
Kamis, 2024-06-27 16:56:06

a {{Redirect category shell}} and a boolean value if the redirect is the primary redirect. If an unknown parameter is used, the module also returns a...

Click to read more »
Module:Adjacent stations/Hiroshima Rapid Transit
Minggu, 2023-01-01 18:43:52

local h = "%1 Station (Hiroshima)" local a = "%1 Station (Astram Line)" local p = { ["system title"] = "[[Hiroshima Rapid Transit]]", ["name format"]...

Click to read more »
Module:Protection banner/config
Sabtu, 2026-04-18 09:24:50

protection. -- * tooltip - the tooltip text you see when you move the mouse over a small -- padlock icon. -- * link - the page that the small padlock icon...

Click to read more »
Module:Labelled list hatnote/sandbox
Kamis, 2025-05-29 01:10:23

-- -- This module does the core work of creating a hatnote composed of a list -- -- prefixed by a colon-terminated label, i.e. "LABEL: [andList of...

Click to read more »
Module:Infobox gene
Rabu, 2025-02-05 02:58:46

different setting, like zhwiki uses "、" for now local localNotApplicableStr = "n/a" -- **lclz** local root --define Global Color Scheme local rowBGcolor = 'light-dark(#eee...

Click to read more »
Module:Unstrip
Jumat, 2021-10-08 08:12:43

-- This module provides a frontend to the mw.text.unstrip, unstripNoWiki and killMarkers functions local p = {} function p.unstrip(frame) return mw...

Click to read more »
Module:Routemap/sandbox
Kamis, 2026-03-26 07:43:54

images]]', ["separate-navbar"] = '[[Category:Pages using Routemap with a separate navbar template]]', ["missing-text-values"] = '[[Category:Pages...

Click to read more »
Module:Citation/CS1/Utilities/sandbox
Kamis, 2026-01-22 22:00:17

supported – a.1-a.5 or a-1-a-5) digitletter - digitletter (5a-5d) (an optional separator between letter and digit is supported – 5.a-5.d or 5-a-5-d) any...

Click to read more »
Module:TaxonItalics
Selasa, 2021-10-05 13:34:24

--[[========================================================================= Italicize a taxon name appropriately by invoking italicizeTaxonName. The algorithm used...

Click to read more »
Module:Taxonbar/conf
Rabu, 2026-05-27 22:31:11

--------------------------------------------------| --| a Wikidata property ID | it must be a number without quotes | --|...

Click to read more »
Module:Val
Minggu, 2025-06-01 12:39:35

-- For Template:Val, output a number and optional unit. -- Format options include scientific and uncertainty notations. local numdot = '.' -- decimal...

Click to read more »
Module:Infobox military conflict
Kamis, 2026-03-05 20:26:07

-- The only time colspans[1] wouldn't be set is if no -- combatant has a field with the given prefix and suffix. if colspans[1] then -- Since each...

Click to read more »
Module:Type in location
Jumat, 2023-04-28 01:16:32

--Gets general location from more specific one for short descriptions --i.e if a location is specified to be "P. Sherman 42 Wallaby Way Sydney, Australia"...

Click to read more »
Module:Portal/sandbox
Jumat, 2025-09-12 19:30:32

--[==[ This module is a Lua implementation of the old {{Portal}} template. As of February 2019 it is used on nearly 7,900,000 articles. -- Please take...

Click to read more »
Module:Formatnum
Sabtu, 2021-02-20 22:49:21

"arabic-indic" then -- only for back-compatibility ("arabic-indic" is not a SupportedLanguage) lang = "fa" -- better support than "ks" elseif...

Click to read more »
Module:Sports rbr table
Selasa, 2025-04-01 20:57:51

'^%s*(<[Uu]>[%d–]+)[A-Za-z][A-Za-z0-9]*', '%1') elseif posrt:match('^%s*[%d–]+[A-Za-z][A-Za-z0-9]*') then posrc = posrc:match('^%s*[%d–]+([A-Za-z][A-Za-z0-9]*)')...

Click to read more »
Module:ConvertNumeric/sandbox
Jumat, 2026-02-13 20:42:25

['eighty'] = 80, ['ninety'] = 90, } -- Converts a given valid roman numeral (and some invalid roman numerals) to a number. Returns { -1, errorstring } on error...

Click to read more »
Module:TaxonList
Selasa, 2025-06-10 10:51:53

--[[ This module provides the core functionality to a set of templates used to display a list of taxon name/authority pairs, with the taxon names optionally...

Click to read more »
Module:Convert/makeunits
Selasa, 2024-10-22 14:42:28

alternative forms of a unit such as an alias or a combination. -- * Stop processing when encounter end of text or a line starting -- with a level-2 heading...

Click to read more »
Module:Complex date
Sabtu, 2020-05-16 02:21:05

-- mostly require('Module:Formatnum').formatNum function used to translate a number to use different numeral characters, -- except that it it does not...

Click to read more »
Module:Effective protection level
Kamis, 2025-09-25 09:35:06

local p = {} -- Returns the permission required to perform a given action on a given title. -- If no title is specified, the title of the page being displayed...

Click to read more »
Module:A or an/testcases
Jumat, 2026-02-27 22:18:55

self:preprocess_equals("{{a or an|-18}}", "a -18") self:preprocess_equals("{{a or an|$18 million}}", "an $18 million") self:preprocess_equals("{{a or an|11}}", "an...

Click to read more »
Module:Arbcom election banner
Selasa, 2025-10-21 04:33:53

is not a valid date.') end local function randomizeArray(t) -- Iterate through the array backwards, each time swapping the entry "i" with a random entry...

Click to read more »
Module:Excerpt/portals/sandbox
Jumat, 2026-02-06 20:41:50

local unwantedInlineTemplates = { "[Ee]fn", "[Ee]fn%-[lu][arg]", "[Ee]fn [%a ]-", "[Ee]l[mn]", "[Rr]p?", "[Ss]fn[bmp]", "[Ss]f[bn]", "[Nn]ote[Tt]ag", "#[Tt]ag:%s*[Rr]ef"...

Click to read more »
Module:Chessboard
Rabu, 2026-05-27 08:20:26

nullOrWhitespace( s ) and 1 or s:gsub( '%s*(%a)(%a)%s*', function( a, b ) return b == 'l' and a:upper() or a end ) end local res = '' offset = offset...

Click to read more »
Module:Sanctions/sandbox
Senin, 2026-04-06 22:16:40

else return false end end -- Returns an invalid topic error, with a table of acceptable topics local function syntaxHelp() return [[<span...

Click to read more »
Module:Flagg
Selasa, 2025-11-04 05:18:43

"|border" end end end local am = "" if args["alt"] or string.find(me,"a") then am = args["alt"] or args["name"] or country am = am.."|"..am end...

Click to read more »
Module:Chessboard mxn
Rabu, 2026-05-27 11:25:15

'bishop', q = 'queen', k = 'king', a = 'princess', c = 'empress', z = 'champion', ...

Click to read more »
Module:Location map/data/France Ain
Senin, 2018-04-23 23:48:15

= 'Ain', top = 46.75, bottom = 45.50, left = 4.50, right = 6.50, image = '548x482-Carte-01-Ain-A.jpg', image1 = '548x482-Carte-01-Ain-R1.jpg' }...

Click to read more »
Module:Time
Kamis, 2025-11-27 22:12:59

above are indexed ord, day, month = dst_event_string:match ('([%a%d]+)%s+(%a+)%s+%a+%s+(%a+)'); if not (is_set (ord) and is_set (day) and is_set (month))...

Click to read more »
Module:Video game reviews
Jumat, 2025-08-22 22:53:34

insert(activeSystems, k) end end table.sort(activeSystems, function(a, b) return data.systems[a].sortkey < data.systems[b].sortkey end) return activeSystems...

Click to read more »
Module:Requested move
Rabu, 2024-03-20 06:51:08

local function err(msg, numargs, reason, count) -- Generates a wikitext error message local commented = '<!-- {{subst:requested move|' ...

Click to read more »
Module:Check isxn/sandbox
Kamis, 2023-04-13 08:54:14

Module:Citation/CS1. It allows validating ISBN, ISMN, and ISSN without invoking a citation template. ]] local p = {} --[[--------------------------< E R...

Click to read more »
Module:GHS phrases
Rabu, 2026-01-28 22:40:13

with codes. -- base table tArgs is walked through by a iwalker that reads a singel code, -- then a ikiller checks the upward part of the same table to...

Click to read more »
Module:WikiProject banner/doc
Kamis, 2025-11-27 01:32:21

enabling new projects to easily create a banner to place on article talk pages, ensuring standardisation between projects. A list of all WikiProject banners...

Click to read more »
Module:Nihongo
Kamis, 2025-06-19 07:06:39

require('strict'); --[[--------------------------< E R R O R _ M E S S A G E S >-------------------------------------------------- error messaging;...

Click to read more »
Module:Video game reviews/data
Jumat, 2025-12-05 06:33:58

"''[[Amstrad Action]]''", 'AAction' }, { "''[[Amtix]]''", 'Amtix' }, { "''[[The A.V. Club]]''", 'AVC' }, { "''[[Gemaga|Beep! MegaDrive]]''", 'BMD' }, { "''[[CNET...

Click to read more »
Module:ISO 639 name/ISO 639-3
Sabtu, 2025-10-18 21:00:43

["apn"] = {"Apinayé"}, ["apo"] = {"Ambul"}, ["app"] = {"Apma"}, ["apq"] = {"A-Pucikwar"}, ["apr"] = {"Arop-Lokep"}, ["aps"] = {"Arop-Sissano"}, ["apt"]...

Click to read more »
Module:Article history
Selasa, 2024-08-20 01:12:15

display) end local function maybeCallFunc(val, ...) -- Checks whether val is a function, and if so calls it with the specified -- arguments. Otherwise val...

Click to read more »
Module:Archive list
Selasa, 2026-02-17 22:19:42

implements {{archive list}} in Lua, and adds a few -- new features. -- Process a numeric argument to make sure it is a positive -- integer. local function processNumArg(...

Click to read more »
Module:Val/units
Rabu, 2026-02-11 13:43:06

-- Definitions for units known to val -- File format is two strings and a return statement with them in it: -- string in quotes [=[ ... builtin_units...

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

-- -- DESCRIPTION: -- The "msg" function uses a Commons dataset to translate a message -- with a given key (e.g. source-table), plus optional arguments...

Click to read more »
Module:Webarchive
Selasa, 2026-02-24 05:19:36

---------------------------------- Lua module implementing the {{webarchive}} template. A merger of the functionality of three templates: {{wayback}}, {{webcite}} and...

Click to read more »
Module:Infobox mapframe/sandbox
Senin, 2026-02-02 23:39:37

" .. (maskType or "nil") .. " and item " .. (maskItem or "nil")) end --A list of types for objects that are too small to allow Kartographer to take...

Click to read more »
Module:SportsRankings/sandbox
Kamis, 2023-08-03 22:32:13

table (data.updated) -- TODO add a warning and/or category if option == "LAST" then local lastDateTable...

Click to read more »
Module:Science redirect
Jumat, 2024-09-13 23:35:57

local conf = require( "Module:Science redirect/conf" ) local p = {} function p.R(frame) local template = mw.ustring.gsub(frame.args[1], ' ', '_') if...

Click to read more »
Module:Hatnote/sandbox
Kamis, 2022-08-11 23:24:18

findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if the link is enclosed in...

Click to read more »
Module:NUMBEROF
Minggu, 2024-09-29 10:52:34

sites in a specified sister project by their number of articles. local args = frame:getParent().args local parm = trimArg(args[1], 1) -- a number like...

Click to read more »
Module:RFX report
Minggu, 2025-10-05 04:35:50

-- This module is a replacement for the RfX report bot. local rfx = require( 'Module:Rfx' ) local colours = mw.loadData( 'Module:RFX report/colour' )...

Click to read more »
Module:Data/sandbox
Kamis, 2023-10-05 18:57:59

pcall(mw.loadJsonData, k) if not success then error("'" .. k .. "' is not a valid data page") end end for i, v in ipairs(frame.args) do local...

Click to read more »
Module:A or an/words
Selasa, 2020-05-19 02:30:24

Assumes it's a year '1[18]...', '1[18]......', '1[18].........', '1[18]............', '8.*', }, cvWords = { -- Words beginning with a consonant...

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

style="text-decoration:overline;">%s</span>', s ) end -- Gets the Roman numerals for a given numeral table. Returns both the string of -- numerals and the value...

Click to read more »
Module:Team appearances list
Senin, 2026-04-20 17:39:54

datamod.old_names end end local function strip_to_nil(text) -- If text is a string, return its trimmed content, or nil if empty. -- Otherwise return...

Click to read more »
Module:Dump
Senin, 2021-06-07 14:35:17

-- Dump a table to help develop other modules. -- It is also possible to use mw.dumpObject() but the result from this -- module is clearer and is close...

Click to read more »
Module:Category series navigation/sandbox
Kamis, 2025-12-04 03:48:08

--Returns a numbered list of all {{Category redirect}}s followed by catlinkfollowr() -> rtarget(). --For a nav_hyphen() cat, also returns a formatted...

Click to read more »
Module:Episode table
Rabu, 2026-06-03 04:11:12

'[[Category:Articles using Template:Episode table with a visible caption]]' elseif args.caption then -- If a visible caption isn't defined, then default to...

Click to read more »
Module:Template link general
Kamis, 2026-02-12 18:19:37

family local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return s ~= nil and s ~= "" end...

Click to read more »
Module:Location map/data/Moldova Leova
Jumat, 2016-05-27 03:14:06

bottom = 45.25, left = 26.5, right = 30.5, image = 'Raionul Leova location map.jpg', image1 = 'Harta de localizare a raionului Leova, Moldova.jpg' }...

Click to read more »
Module:Infobox television disambiguation check
Selasa, 2026-01-06 18:30:17

----------------------------------------------------------------------- -- Utility: remove a value from an array -----------------------------------------------------------------------...

Click to read more »
Module:GHS phrases/data
Senin, 2026-01-26 07:07:29

['P402'] = 'Store in a dry place.', ['P402+P404'] = 'Store in a dry place. Store in a closed container.', ['P403'] = 'Store in a well-ventilated place...

Click to read more »
Module:Lang-zh
Senin, 2025-12-22 17:26:41

(args["first"]) then for testChar in mw.ustring.gmatch(args["first"], "%a+") do if (testChar == "t") then t1 = true end if (testChar ==...

Click to read more »
Module:TrainingPages
Senin, 2023-04-03 04:47:58

--The purpose of this module is to take a list of linked page, and use it to determine the next and previous page in the list as well as the total number...

Click to read more »
Module:Yemeni Civil War detailed map
Senin, 2026-01-12 16:34:57

[[File:Map-peak-grey.svg|13px]] Strategic peak/hill <br>Small icon within a larger icon: The situation in individual neighbourhood/district]=] } }...

Click to read more »
Module:Tabular data
Jumat, 2021-10-01 05:58:04

local messages = { ["true"] = "Yes", ["false"] = "No", null = "N/A", } local bgColors = { ["true"] = "#9f9", ["false"] = "#f99", null = "#ececec"...

Click to read more »
Module:Sports table/styledoc
Jumat, 2025-10-24 23:34:31

update date is set by |update=, see below for details. If no source is given a citation-needed tag is shown, |source= can provide an actual link. The classification...

Click to read more »
Module:Authority control/sandbox
Kamis, 2026-06-04 00:40:21

local makelink = function(val, additional) --validate values and create a link local link = mw.html.create('span'):addClass('uid') if not additional...

Click to read more »
Module:Side box/sandbox
Kamis, 2026-04-02 07:37:30

'none' then data.image = args.image end -- we have to check to see if a downstream use has plainlist like -- Template:Sister_project. also it's the...

Click to read more »
Module:Track gauge/data
Kamis, 2026-03-26 23:32:49

"imp", ["aliases"] = {[[10.25in]], [[101/4in]]}, ["pagename"] = "Ten and a quarter inch gauge", ["contentcat"] = "10¼ in gauge railways", ["in"]...

Click to read more »
Module:Sidebar/sandbox
Selasa, 2025-12-30 01:00:41

calling templates and modules with a 'style' parameter of any sort for tracking to convert to TemplateStyles. TODO after a long cleanup: Catch sidebars in...

Click to read more »
Module:Convert/helper
Rabu, 2024-01-10 08:46:26

stripToNil(text) -- If text is a non-empty string, return its trimmed content, -- otherwise return nothing (empty string or not a string). if type(text) ==...

Click to read more »
Module:Official website
Jumat, 2025-11-28 13:13:53

pcall(func) if success then return result end end -- Gets the rank for a Wikidata property table. Returns 1, 0 or -1, in -- order of rank. local function...

Click to read more »
Module:Interlinear
Jumat, 2024-09-06 16:54:50

local a = mw.text.trim(gloss[1]) if a and a ~= "" then gloss_override[a] = {} gloss_override[a].expansion = gloss[2] gloss_override[a].wikipage...

Click to read more »
Module:RexxS
Kamis, 2022-11-03 00:49:08

carousel returns one of a list of image filenames -- the index of the one chosen increments every 'switchsecs' -- which is a parameter giving the number...

Click to read more »
Module:Currency
Sabtu, 2026-04-18 11:04:04

--------------------------------------- Whether variable is set or not. A variable is set when it is not nil and not empty. ]] local function is_set(...

Click to read more »
Module:Class
Senin, 2025-06-02 19:35:38

default, map) --Retrieves a given property from a string given a class definition, a --default class definition, and a map for the path to traverse...

Click to read more »
Module:NewDYKnomination
Senin, 2024-10-21 15:14:24

a boilerplate error message for invalid titles. local function formatInvalidTitleError(page, pageType) local msg = string.format( '"%s" is not a valid...

Click to read more »
Module:Hatnote list
Selasa, 2023-11-14 04:00:31

Stringifies a list generically; probably shouldn't be used directly local function stringifyList(list, options) -- Type-checks, defaults, and a shortcut...

Click to read more »
Module:Football manager history
Jumat, 2024-11-22 11:17:34

message text for an error. -- Can append "#FormattingError" to URL of a page with a problem to find it. -- If given, caller is the title of the navbox...

Click to read more »
Module:Lang/utilities
Kamis, 2025-01-09 21:19:30

S E P A R A T O R _ G E T >---------------------------------------------------- allowed separators are comma, semicolon, virgule, or a quoted string...

Click to read more »
Module:Multiple image
Rabu, 2026-05-27 20:25:05

array using any non-digit as a dilimiter local pr = mw.text.split(pstr or '', '[^%d][^%d]*') -- if split failed, assume a single row if (#pr < 1) then...

Click to read more »
Module:Ancient Greek
Selasa, 2021-10-12 01:38:22

true, diacritic_seat = true, offglide = true } -- Technically rho is only a seat for rough or smooth breathing. local rho = { consonant = true, diacritic_seat...

Click to read more »
Module:Jct
Kamis, 2022-12-29 10:42:28

getCurrentTitle().prefixedText -- Get transcluding page's title -- Add a category for the first, most severe error. insert(errorMsg, format('[[Category:Jct...

Click to read more »
Module:Redirect template
Selasa, 2025-08-12 06:33:36

with namespace number and link -- alternatively, a function taking the namespace number and returning a validity -- can be used local namespaceCategories...

Click to read more »
Module:Portal/images/a/sandbox
Sabtu, 2026-01-03 20:34:12

"A" list of portal image names. It contains a list of portal images for use with [[Module:Portal]] -- for portal names that start with the letter "A"...

Click to read more »
Module:Video game wikidata
Kamis, 2023-08-31 21:42:41

local function sortByPlatform(a,b) local platformA = ""; local platformB = ""; if(a['qualifiers']['P400'] ~= nil and a['qualifiers']['P400'][1] ~= nil)...

Click to read more »
Module:Adjacent stations/New York City Subway
Rabu, 2025-12-10 02:10:14

Sixth Avenue Line)" local EIGHT = "%1 station (IND Eighth Avenue Line)" local A = "%1 station (BMT Astoria Line)" local B7 = "%1 station (IRT Broadway–Seventh...

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

gettable(frame,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:Template parameter value
Kamis, 2025-10-23 22:11:46

nested templates -- Templates are returned in position order, e.g. "<a<b>>" returns {"<a<b>>", "<b>"} local function matchAllTemplates(str) local matchLayers...

Click to read more »
Module:ScribuntoUnit
Rabu, 2026-05-27 01:46:51

-- Concatenates keys and values, ideal for displaying a template or parser function argument table. -- @param keySeparator glue between...

Click to read more »
Module:WLink
Jumat, 2020-10-30 22:03:05

function ( a ) local seek = string.format( ":%s:().+%%.%%a+$", a:lower() );...

Click to read more »
Module:Portal bar
Senin, 2026-03-16 21:32:43

{{portal bar}}. require('strict') -- determine whether we're being called from a sandbox local isSandbox = mw.getCurrentFrame():getTitle():find('sandbox',...

Click to read more »
Module:Delink/sandbox
Minggu, 2023-04-23 01:29:13

contains a line break it is not formatted as a URL, regardless of other content. if s:match("\n") then return s end -- Check if the text has a valid...

Click to read more »
Module:Settlement short description
Sabtu, 2022-02-12 23:43:02

--trim spaces from end if parameter:match("[,;]") or not parameter:match("%a") then --must have some letters, ignore if multiple types/subdivisions if...

Click to read more »
Module:Hatnote inline
Jumat, 2023-12-22 03:46:48

produces hatnote-style links, and links to related articles, -- -- but inside a <span>, instead of the <div> used by Module:Hatnote. It -- -- implements...

Click to read more »
Module:Track listing
Senin, 2025-05-12 11:35:39

return self.categories end -- Validate a track length. If a track length is invalid, a warning is added. -- A type error is raised if the length is not...

Click to read more »
Module:Sandbox/Was a bee/tree
Selasa, 2017-10-24 02:36:41

definition a function that when called several times will generate a sequence of strings -- gensymbols = create_gensymbols("ABC") -- gensymbols() == "A" --...

Click to read more »
Module:Convert/doc
Senin, 2026-04-06 23:48:39

converts a value from one unit of measurement to another. For example: {{convert|123|lb|kg}} → 123 pounds (56 kg) The module is called using a template—parameters...

Click to read more »
Module:Template test case/sandbox
Rabu, 2025-08-06 23:54:27

--[[ A module for generating test case templates. This module incorporates code from the English Wikipedia's "Testcase table" module,[1] written...

Click to read more »
Module:PageLinks
Rabu, 2026-01-21 05:39:06

= {} -- Table for storing the tracking categories. local demo -- Define a custom error message for this module. local function err(msg, section) local...

Click to read more »
Module:External links
Selasa, 2024-05-28 13:09:32

return datavalue.value end local pval = {} pval.P1793 = { -- format as a regular expression types = { snaktype = 'value', datatype = 'string'...

Click to read more »
Module:URL/sandbox
Selasa, 2025-11-11 02:54:01

or extractUrl(parentArgs) or '' -- if the url came from a Wikidata call, it might have a pen icon appended -- we want to keep that and add it back...

Click to read more »
Module:Infobox television season disambiguation check
Selasa, 2026-01-06 18:16:42

validateDisambiguation.DisambiguationPattern{ pattern = "^(%d+)%s+([%D]+)%s+TV series%s+%a+%s+(%d+)$", type = validateDisambiguation.VALIDATION_TYPE_YEAR_COUNTRY_SEASON_NUMBER...

Click to read more »
Module:Article history/config
Jumat, 2024-11-22 11:26:36

--------------------------------- -- Makes a link to a template page surrounded by double curly braces. A -- workalike for the {{tl}} template. local...

Click to read more »
Module:Native name
Jumat, 2024-10-11 00:06:54

N A T I V E _ N A M E >------------------------------------------------------ implements {{native name}}; entry point from a module <args_t> is a table...

Click to read more »
Module:Date/sandbox
Rabu, 2026-02-18 12:27:47

'unique identifier' } local function is_date(t) -- The system used to make a date read-only means there is no unique -- metatable that is conveniently...

Click to read more »
Module:IP
Sabtu, 2022-10-22 16:07:04

function makeValidationFunction(className, isObjectFunc) -- Make a function for validating a specific object. return function (methodName, argIdx, arg) ...

Click to read more »
Module:File link
Rabu, 2020-04-01 13:31:54

-- This module provides a library for formatting file wikilinks. local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType...

Click to read more »
Module:Lang/documentor tool
Senin, 2025-05-12 23:10:52

require('strict') local p = {} --[[ -------------------------< P R I V A T E _ T A G S >------------------------------------------------------ {{#invoke:Lang/documentor...

Click to read more »
Module:Su
Senin, 2024-04-15 09:27:21

local sup = args.p local sub = args.b local options = { align = args.a, fontSize = args.w, lineHeight = args.lh, verticalAlign = args.va }...

Click to read more »
Module:Cite Q
Senin, 2026-04-27 10:27:09

internationalised along with cfg.i18n_t -- takes cardinal number as a numeric and returns the ordinal as a string -- we need three exceptions in English for 1st, 2nd...

Click to read more »
Module:Time/sandbox
Senin, 2025-05-05 00:40:57

above are indexed ord, day, month = dst_event_string:match ('([%a%d]+)%s+(%a+)%s+%a+%s+(%a+)'); if not (is_set (ord) and is_set (day) and is_set (month))...

Click to read more »
Module:Automated taxobox/sandbox
Selasa, 2026-06-02 13:27:36

taxon) end -- set binomial parameters if the target taxon is (unusually) a species local genusAuthority = '' if binomial == '' then if ok and taxonRank...

Click to read more »
Module:GHS phrases/data/sandbox
Senin, 2022-10-03 01:43:07

cause an explosion', ['H241'] = 'Heating may cause a fire or explosion', ['H242'] = 'Heating may cause a fire', ['H250'] = 'Catches fire spontaneously if...

Click to read more »
Module:Year in various calendars
Minggu, 2026-03-22 13:44:13

local function isInteger( num ) -- Checks if a value is an integer. If so, returns the value converted to a number. -- If not, returns false. num = tonumber(...

Click to read more »
Module:Unicode data/sandbox
Sabtu, 2025-08-02 23:33:56

and codepoint <= range[2] then return range end end end --]] -- Load a module by indexing "loader" with the name of the module minus the -- "Module:Unicode...

Click to read more »
Module:Clade
Kamis, 2024-03-28 23:33:49

rows and contains the leaf name or a new clade structure a third cell on the top row is sometimes added to contain a group to the right ]] -- main...

Click to read more »
Module:Sortkey
Rabu, 2021-10-06 01:54:13

valid_number(num) -- Return true if num is a valid number. -- In Scribunto (different from some standard Lua), when expressed as a string, -- overflow or other problems...

Click to read more »
Module:Television episode disambiguation description
Jumat, 2020-10-23 05:23:02

-- Do not add a style which is not supported by the [[WP:NCTV]] guidelines. -- This module requires the use of Module:Extract short description. local...

Click to read more »
Module:Check for deprecated parameters
Kamis, 2025-11-20 18:54:16

used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- on the list local p =...

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

then -- id is 0 (page does not exist) if am previewing before creating a template. currentProt = titleObj.protectionLevels["edit"][1] end ...

Click to read more »
Module:Sister project links
Kamis, 2026-04-02 20:52:27

string -- search for variants of "yes", and "no", and transform -- them into a standard form (like [[Template:YesNo]]) -- Argument: -- s --- input string...

Click to read more »
Module:Formatted appearance
Senin, 2024-05-06 18:55:40

{} -- Local function which is used to get a correctly formatted entry. -- Function checks if the array had a value added by checking the counter, -- and...

Click to read more »
Module:Arbcom election banner/sandbox
Rabu, 2025-07-30 13:55:11

is not a valid date.') end local function randomizeArray(t) -- Iterate through the array backwards, each time swapping the entry "i" with a random entry...

Click to read more »
Module:A or an/sandbox
Sabtu, 2022-05-21 19:23:46

local p = {} local words = mw.loadData('Module:A or an/words') local lcVChars = 'aeiouà-æè-ïò-öø-üāăąēĕėęěĩīĭįıijōŏőœũūŭůűų' local ucVvChars =...

Click to read more »
Module:Protected edit request/sandbox
Selasa, 2025-12-09 15:10:28

protectionType } return obj end function box:setArg(key, value) -- This sets a value to be passed to tmbox. if key then self.tmboxArgs[key] = value end...

Click to read more »
Module:Italic title/sandbox
Kamis, 2026-03-05 20:57:34

'ItalicTitle', 'obj', obj, 'ItalicTitle object' ) -- Checks a key is present in a lookup table. -- Param: name - the function name. -- Param:...

Click to read more »
Module:Goalscorers
Rabu, 2026-06-03 14:22:03

{ "å", "a" } , { "ø", "o" } , { "ą", "a" }, { "ń", "n" } , { "ł", "l" } , { "ã", "a" }, ...

Click to read more »
Module:ISO 639 name/ISO 639 override
Jumat, 2024-07-12 02:16:12

wiki article title ["pnb"] = {"Punjabi"}, -- Western Panjabi, a dab; en.wiki preferred ["sot"] = {"Sotho"}, -- Southern Sotho;...

Click to read more »
Module:TaxonItalics/sandbox
Rabu, 2025-05-21 17:40:51

--[[========================================================================= Italicize a taxon name appropriately by invoking italicizeTaxonName. The algorithm used...

Click to read more »
Module:GHS phrases/sandbox
Rabu, 2026-01-28 23:17:51

with codes. -- base table tArgs is walked through by a iwalker that reads a singel code, -- then a ikiller checks the upward part of the same table to...

Click to read more »
Module:Find sources/sandbox
Rabu, 2024-10-16 05:26:50

implements {{find sources}} and other similar templates, and -- also provides a mechanism to easily create new source-finding templates. -- Define constants...

Click to read more »
Module:Footnotes/whitelist
Sabtu, 2026-05-30 10:57:19

--[[--------------------------< W R A P P E R _ T E M P L A T E _ D E F A U L T S >---------------------------- A list of wrapper templates by their canonical...

Click to read more »
Module:Listen
Jumat, 2022-07-08 00:12:31

new('en') local p = {} local function formatLength(length) -- Formats a duration in seconds in "(h:)mm:ss" (minutes are zero-padded -- only if there...

Click to read more »
Module:Template link general/sandbox
Sabtu, 2026-02-07 00:02:18

family local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return s ~= nil and s ~= "" end...

Click to read more »
Module:Wikipedia ads
Senin, 2019-02-25 05:34:26

Module:Wikipedia ads -- -- This module displays a random banner-style advert for a Wikipedia project, -- page or process. It implements [[Template:Wikipedia...

Click to read more »
Module:Graph/sandbox
Minggu, 2025-07-13 00:29:11

"wikiraw://") then basemapUrl = basemap else -- if not a (supported) url look for a colon as namespace separator. If none prepend default map directory...

Click to read more »
Module:Location map/multi
Selasa, 2024-04-30 08:22:33

require('strict') local p = {} local getArgs = require('Module:Arguments').getArgs local locmap = require('Module:Location map') local function switcherSeparate(s)...

Click to read more »
Module:Jcon
Selasa, 2025-05-06 05:03:36

']]' -- Return the file wikitext end -- Get the first defined shield from a table local function getShield(parserArgs, shield, to) -- Shield format for...

Click to read more »
Module:Series overview
Sabtu, 2026-04-25 12:14:09

series_sort(op1, op2) local n1,s1 = string.match(op1,"(%d+)(%a*)") local n2,s2 = string.match(op2,"(%d+)(%a*)") local n1N,n2N = tonumber(n1),tonumber(n2) if...

Click to read more »
Module:IncrementParams
Kamis, 2022-11-03 00:53:30

of the page to edit this module. -- STEP 2: if you want to increment by a number other than 1, put that number below, after the equals sign. local...

Click to read more »
Module:PHL sports overall tally
Minggu, 2026-05-10 08:19:39

}) end end table.sort(tally, function (a, b) return a.overall > b.overall or (a.overall == b.overall and a.rank < b.rank) end) return tally end local...

Click to read more »
Module:List of hieroglyphs
Selasa, 2023-01-10 03:30:15

local navbar = require("Module:Navbar")._navbar local p = {} keys = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "K", "L", "M", "N", "NU", "NL",...

Click to read more »
Module:R avoided double redirect
Jumat, 2025-06-27 21:54:21

"<span class=\"error\">[[:" .. otherPage.fullText .. "]] is a broken redirect (it redirects to a page that does not exist).</span>") elseif mw.title.equals(thisTarget...

Click to read more »
Module:Jctint
Kamis, 2024-09-19 07:57:41

string trimming function local trim = mw.text.trim -- Store this function in a local variable to avoid expensive table lookups. local insert = table.insert...

Click to read more »
Module:Infobox television episode
Rabu, 2026-06-03 14:33:30

the text after removing line breaks (<br> tags) and additional spaces as a result. --- --- @param text string --- @return string local function...

Click to read more »
Module:AutosortTable
Minggu, 2021-02-21 07:27:13

--[[ AutosortTable: Creates a table which is automatically sorted Usage: (Remove the hidden comments before use) {{#invoke: AutosortTable|create ...

Click to read more »
Module:PopulationFromWikidata
Kamis, 2023-07-20 08:57:48

pairs(claim.references) do -- Loop through all references in a claim and pull out the components local refurl = "" ...

Click to read more »
Module:Citation/CS1/doc
Jumat, 2026-05-15 16:31:30

requests Module talk:Citation/CS1/COinS Module:Cs1 documentation support – a set of functions (some experimental) that extract information from the module...

Click to read more »
Module:ResolveEntityId/sandbox
Rabu, 2022-11-02 22:32:26

getEntityIdForTitle(idOrTitle) if eid then -- idOrTitle is a title that matches a Wikidata entity local instanceOf = mw.wikibase.getBestStatements(eid...

Click to read more »
Module:Category series navigation/doc
Selasa, 2025-08-12 05:41:35

{{Category series navigation}} is intended to be a minimal-input, near-universal template for automatically navigating most numerically adjacent categories...

Click to read more »
Module:Flags
Kamis, 2013-08-22 10:50:39

end end return size end -- Assigning the parameter to a flag and a link function p.flag(territory) --always declare local variable, they...

Click to read more »
Module:Ordnance Survey coordinates
Senin, 2026-06-01 06:48:41

refs have a two letter prefix. We would like an even number of digits for the rest of the grid ref. Anything in the NGR other than 0-9, A-Z, a-z is eliminated...

Click to read more »
Module:Infobox/dates
Kamis, 2021-07-08 03:09:16

string.match(args['1'], '(.-)(%u%a+)%s(%d+),%s(%d+)(.*)') local pr2, m2, d2, y2, su2 = string.match(args['2'], '(.-)(%u%a+)%s(%d+),%s(%d+)(.*)') if y1...

Click to read more »
Module:Medical cases chart
Minggu, 2026-02-15 06:50:15

moving backwards a time stamp is found dating back to before tolerance window, nil is returned. -- If the end of tRows is reached without a match for the...

Click to read more »
Module:Lang/data/iana scripts
Jumat, 2026-04-17 00:41:42

["Lepc"] = {"Lepcha", "Róng"}, ["Limb"] = {"Limbu"}, ["Lina"] = {"Linear A"}, ["Linb"] = {"Linear B"}, ["Lisu"] = {"Lisu", "Fraser"}, ["Loma"] = {"Loma"}...

Click to read more »
Module:A or an/words/sandbox
Selasa, 2020-05-19 01:54:50

Assumes it's a year '1[18]...', '1[18]......', '1[18].........', '1[18]............', '8.*', }, cvWords = { -- Words beginning with a consonant...

Click to read more »
Module:National squad
Sabtu, 2023-01-21 06:18:54

table.sort( numlist, function (a, b) return tonumber(a) < tonumber(b) or (tonumber(a) == tonumber(b) and #a > #b) end ) local pv = require('Module:If...

Click to read more »
Module:Adjacent stations/Turin SFM
Kamis, 2025-04-17 04:42:22

["left terminus"] = "Cirié", ["right terminus"] = "Fossano" }, ["A"] = { ["color"] = "0095da", ["left terminus"] = "Germagnano", ["right...

Click to read more »
Module:R from fictional object multi
Senin, 2024-05-06 18:35:58

Local function which creates the relevent category, either with or without a sort key. --]] local function createCategory(categoryScheme, name, sortKey)...

Click to read more »
Module:IPAc-en/phonemes
Rabu, 2026-02-18 19:40:40

"ɑː", aliases = {"A:", "ɑ:", "aː", "a:"}, label = "ɑː", tooltip = "/ɑː/: 'a' in 'father'", }, { code = "ɑːr", aliases = {"ɑɹ", "aːr", "a:r"...

Click to read more »
Module:Taxonbar/sandbox
Rabu, 2025-12-17 19:42:44

--configuration module local TaxonItalics = require( 'Module:TaxonItalics' ) --use a function to conditionally italicize taxon names --[[====================...

Click to read more »
Module:WikidataIB/doc
Minggu, 2025-12-21 03:30:35

gets the value of a property which has a qualifier with a given entity value getValueByLang gets the value of a property which has a qualifier P407("language...

Click to read more »
Module:Cs1 documentation support
Rabu, 2026-02-25 02:24:53

local exclusion_lists = { -- TODO: move these tables into a separate ~/data module and mw.loadData() it ['cite book'] = { ['agency']...

Click to read more »
Module:ISO 3166/sandbox
Selasa, 2025-08-26 00:55:47

text then return nil end local accents = {["À"]="A",["Á"]="A",["Â"]="A",["Ã"]="A", ["Ä"]="A",["Å"]="A",["Æ"]="AE",["Ç"]="C",["È"]="E", ["É"]="E"...

Click to read more »
Module:Demo
Rabu, 2024-08-14 09:31:11

local p = {} --creates a frame object that cannot access any of the parent's args --unless a table containing a list keys of not to inherit is provided...

Click to read more »
Module:Naval Vessel Register URL
Senin, 2025-08-11 23:02:19

Vessel Register URL/data'); --[[--------------------------< M A K E _ E R R O R _ M E S S A G E >------------------------------------------ General purpose...

Click to read more »
Module:Rfx
Senin, 2024-11-25 04:10:19

Module:Rfx -- -- This is a library for retrieving information about requests -- -- for adminship...

Click to read more »
Module:Webarchive/data
Selasa, 2026-02-24 05:15:39

--[[--------------------------< C O N F I G U R A T I O N >---------------------------------------------------- global configuration settings ]] local...

Click to read more »
Module:Taxonbar/doc
Jumat, 2025-08-08 09:06:03

and potentially-likely {{Taxonbar}} candidates Module:Authority control – a {{Taxonbar}}-like module for unique subjects gl:Módulo:Taxonbar – original...

Click to read more »
Module:Sensitive IP addresses/list
Kamis, 2025-04-03 23:20:00

-- required, must be unique description = 'a description of the entity', -- required reason = 'political'...

Click to read more »
Module:TwitterSnowflake
Rabu, 2023-01-25 06:20:20

the args are the same plus if (frame.args.id_str):match("%D") then -- not a number, so return -2 return -2 end frame.args.format = "%B %e, %Y" if...

Click to read more »
Module:I18n/complex date
Rabu, 2020-11-25 04:55:02

['b']={'before','a'}, ['before']={'before','a'}, ['>']={'after','a'}, ['a']={'after','a'}, ['after']={'after','a'}, ['~']={'circa','a'}, ['c']={'circa','a'},...

Click to read more »
Module:Random slideshow/sandbox
Minggu, 2024-08-18 18:07:29

-- Creates a slideshow gallery where the order is randomised. Intended for use on portal pages. local p = {} local excerptModule = ...

Click to read more »
Module:Clickable button
Sabtu, 2024-07-27 05:19:50

function p._main(args) -- If first arg or a url is not provided, -- but we have a second arg, make a button. -- Otherwise, return nothing. args...

Click to read more »
Module:WDL
Senin, 2026-03-23 05:10:25

require('strict') local getArgs = require('Module:Arguments').getArgs local roundAndPad = require('Module:Math')._precision_format local p = {} local...

Click to read more »
Module:Track gauge/data/sandbox
Selasa, 2024-09-03 00:19:25

"imp", ["aliases"] = {[[10.25in]], [[101/4in]]}, ["pagename"] = "Ten and a quarter inch gauge", ["contentcat"] = "10¼ in gauge railways", ["in"]...

Click to read more »
Module:Gutenberg
Jumat, 2022-04-01 15:43:54

tname .. "]] documentation") end end if tonumber(id) then -- it's a number urlhead = urlheadnumb else urlhead = urlheadname id =...

Click to read more »
Module:Nihongo/sandbox
Rabu, 2025-06-18 17:52:37

require('strict'); --[[--------------------------< E R R O R _ M E S S A G E S >-------------------------------------------------- error messaging;...

Click to read more »
Module:Class/definition.json
Senin, 2025-06-02 19:31:20

"file": "Symbol_a_class.svg", "default": true, "requiresAttribution": true }, "labels": { "adjective": "A-Class", "full": "A-Class article"...

Click to read more »
Module:Lang/data/sandbox
Senin, 2026-05-04 04:23:20

get this wiki's language tag --[[--------------------------< L A N G _ N A M E _ T A B L E >------------------------------------------------ primary...

Click to read more »
Module:Multilingual
Selasa, 2022-08-09 07:07:40

insert( r, sub ) end elseif sub:find( "^%l%l%l?%-?%a?%a?%a?%a?$" ) and mw.language.isSupportedLanguage( sub ) then ...

Click to read more »
Module:UserLinks/extra
Rabu, 2024-08-28 06:55:47

added to the main module code. -- -- Since this module is transcluded in only a small number of pages, changes -- should cause little server overhead and...

Click to read more »
Module:Adjacent stations/PANYNJ
Selasa, 2025-03-25 05:48:27

["Lefferts Boulevard"] = jfk_station, ["P4"] = newark_station, ["Terminal A"] = newark_station, }, ["lines"] = { ["AirTrain JFK"] = { ["title"]...

Click to read more »
Module:Adjacent stations/Eurostar
Senin, 2025-02-10 03:52:12

["Dortmund"] = hbf, ["?"] = "<span class=\"error\">unknown terminus, please use a supported line name or number</span>" }, ["lines"] = { ["_default"] =...

Click to read more »
Module:Attached KML
Jumat, 2026-04-17 01:32:34

wikidata .. "=</nowiki></code>, is not a KML file <small>(P31→Q26267864 not found)</small>", -- item doesn't have a P31→Q26267864 statement no_item = "Error:...

Click to read more »
Module:Parameter validation
Jumat, 2026-05-15 20:39:27

report end -- this is the "user" version, called with {{#invoke:}} returns a string, as defined by the options parameter local function validateParams(...

Click to read more »
Module:Ordinal
Senin, 2019-03-18 02:44:32

--[[ This template will add the appropriate ordinal suffix to a given integer. Please do not modify this code without applying the changes first...

Click to read more »
Module:Detect singular
Kamis, 2025-10-16 13:01:56

find(s, sub, 1, true) end -- function to count the number of times "pattern" (a regex) occurs in "s" local function countMatches(s, pattern) local _, count...

Click to read more »
Module:Convert/tester
Selasa, 2026-03-03 13:50:15

-- Test the output from a template by comparing it with fixed text. -- The expected text must be in a single line, but can include -- "\n" (two characters)...

Click to read more »
Module:Convert/documentation/conversion data/introduction
Minggu, 2026-05-24 14:22:45

Units should be discussed at Template talk:Convert. This page is read by a script (makeunits). The script extracts information from the wikitext, and...

Click to read more »