Search Results: Module:Main

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


Module:Category main article
Selasa, 2025-12-09 01:37:11

-- This module implements {{Category main article}}. local mHatnote = require('Module:Hatnote') local mFormatLink = require('Module:Format link') local...

Click to read more »
Module:Category main article/testcases
Selasa, 2026-02-03 20:45:01

local mCatMain = require('Module:Category main article') -- the module to be tested local ScribuntoUnit = require('Module:ScribuntoUnit') local suite =...

Click to read more »
Module:Category main article/sandbox
Kamis, 2025-11-20 17:16:52

-- This module implements {{Category main article}}. local mHatnote = require('Module:Hatnote') local mFormatLink = require('Module:Format link') local...

Click to read more »
Module:Location map/data/Germany Frankfurt am Main
Rabu, 2018-04-25 21:42:06

return { name = 'Frankfurt am Main', top = 50.231, bottom = 50.001, left = 8.4106, right = 8.8965, image = 'Mk_Frankfurt_Nachbargemeinden.png' }...

Click to read more »
Module:Location map/data/Germany Frankfurt am Main/doc
Jumat, 2022-06-03 13:37:46

Frankfurt am Main is a location map definition used to overlay markers and labels on an equirectangular projection map of Frankfurt am Main. The markers...

Click to read more »
Module:Main list
Jumat, 2019-01-25 04:24:26

produces a "For more details on this topic" link. It implements -- the {{Main list}} template. --]] local mHatnote = require('Module:Hatnote') local mHatlist...

Click to read more »
Module:Location map/data/JR Shin'etsu Main Line
Sabtu, 2018-10-06 18:36:12

name = 'JR Shinetsu Main Line', top = 37.9440, bottom = 37.1040, left = 138.08, right = 139.22, image = 'Linemap of Shinetsu Main Line Niigata with...

Click to read more »
Module:Category main article/doc
Selasa, 2025-06-17 10:35:05

This module produces hatnote saying "The main article for this category is x." It implements the {{Category main article}} template. This module should...

Click to read more »
Module:Main list/doc
Selasa, 2020-07-07 23:26:21

Load the module: local mMainList = require('Module:Main list') You can then use the _mainList function like this: mMainList._mainList (page1, page2) The...

Click to read more »
Module:Main if exists
Selasa, 2024-07-09 01:00:31

--[[ v1.0 ]] local p = {} local yesno = require("Module:yesno") function p.main(frame) local rawpages = {} local nvalid = 0 local namespace = frame.args...

Click to read more »
Module:Adjacent stations/Indian Railways
Kamis, 2025-11-27 20:01:20

Central", }, ["Delhi–Chennai"] = { ["title"] = "[[New Delhi–Chennai main line]]", ["left terminus"] = "New Delhi", ["right terminus"] = "Chennai...

Click to read more »
Module:Main page image/doc
Sabtu, 2024-10-19 10:13:49

This module provides utility for wrappers of {{Main page image}}. {{#invoke:Main page image|width|ImageTitle}} Get image width from ImageTitle. ImageTitle...

Click to read more »
Module:Article stub box
Senin, 2026-03-23 03:14:13

User:Mr._Stradivarius provided a great deal of assistance in writting p.main() p.main() draw heavily from the following version of Template:Asbox of the English...

Click to read more »
Module:Main if exists/doc
Selasa, 2023-02-07 19:58:01

Used by Template:Main if exists {{#invoke:Main if exists| main}}...

Click to read more »
Module:Adjacent stations/JR East
Kamis, 2026-04-16 09:22:40

"Tokyo", }, ["Chuo Main"] = { ["title"] = "[[Chūō Main Line]]", ["icon"] = "[[File:JR CO line symbol.svg|18px|alt=|link=Chūō Main Line]]", ["color"]...

Click to read more »
Module:Adjacent stations/Long Island Rail Road
Senin, 2025-05-05 06:05:22

["right terminus"] = "Valley Stream", }, ["Main"] = { ["title"] = "[[Main Line (Long Island Rail Road)|Main Line]]", ["color"] = "ffffff", ["left...

Click to read more »
Module:Adjacent stations/JR Kyushu
Kamis, 2026-01-01 04:23:26

["Kagoshima"] = { ["title"] = "[[Kagoshima Main Line]]", ["icon"] = "[[File:JRK number JA.svg|20px|link=Kagoshima Main Line]]", ["color"] = "EE3D49", ...

Click to read more »
Module:Location map/data/USA Georgia UGA Main/doc
Jumat, 2023-07-14 02:09:52

Georgia UGA Main is a location map definition used to overlay markers and labels on an equirectangular projection map of USA Georgia UGA Main. The markers...

Click to read more »
Module:Adjacent stations/Rhine-Main S-Bahn
Selasa, 2025-04-01 12:15:22

local fds = "Frankfurt-%1 station" local p = { ["system title"] = "[[Rhine-Main S-Bahn]]", ["system icon"] = "[[File:S-Bahn-Logo.svg|16px|alt=]]", ["station...

Click to read more »
Module:Location map/data/USA Georgia UGA Main
Senin, 2020-03-30 05:08:10

return { name = 'USA Georgia UGA Main', top=33.9585, left=-83.3896, right=-83.3655, bottom=33.9223, image = 'USA Georgia UGA Main location map.svg' }...

Click to read more »
Module:Location map/data/JR Shin'etsu Main Line/doc
Senin, 2022-07-04 12:55:05

Shin'etsu Main Line is a location map definition used to overlay markers and labels on an equirectangular projection map of JR Shinetsu Main Line. The...

Click to read more »
Module:Adjacent stations/JR Central
Selasa, 2025-10-28 00:05:00

(train)|''Kodama'']]''|#1E90FF}}", }, }, }, ["Chuo"] = { ["title"] = "[[Chūō Main Line]]", ["color"] = "327198", ["left terminus"] = "Nagoya", ["right...

Click to read more »
Module:Page
Sabtu, 2025-03-22 23:31:48

local callAssert = require('Module:CallAssert') local function main(frame, field) local args, pargs = frame.args, ( frame:getParent() or {} ).args or...

Click to read more »
Module:IPA symbol
Sabtu, 2026-04-18 10:49:58

local function returnErrorCat() return require('Module:Category handler').main({ true }) and '[[Category:International Phonetic Alphabet pages needing...

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

"[[Kansai Main Line|Kansai Line]]", ["color"] = "4B3794", ["short name"] = "V", ["icon"] = "[[File:JRW kinki-V.svg|18px|link=Kansai Main Line]]"...

Click to read more »
Module:Adjacent stations/Erie Railroad
Sabtu, 2025-07-26 10:22:46

}, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Chicago", ["right terminus"] = "Jersey City", }, ["Main Line local"]...

Click to read more »
Module:Params/doc/main sidebox
Senin, 2025-09-29 21:05:13

{{module:params/doc/main sidebox}} Effect (on the right side): The above documentation is transcluded from Module:Params/doc/main sidebox/doc. (edit |...

Click to read more »
Module:Adjacent stations/Metra
Sabtu, 2026-01-31 08:05:00

}, ["Main Street/Downers Grove"] = "[[Main Street/Downers Grove station|Main Street/​Downers Grove]]", ["Main Street/Evanston"] = "[[Main Street/Evanston...

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

copying and pasting from here to your module sandbox. ]]-- local p = {} p.main = function(frame) local args = frame.args local out = '' -- some code...

Click to read more »
Module:Location map/data/Singapore
Rabu, 2021-10-06 02:33:16

return { name = 'Singapore', top = 1.493, bottom = 1.129, left = 103.557, right = 104.131, image = 'Singapore_location_map_(main_island).svg' }...

Click to read more »
Module:Adjacent stations/JR Hokkaido
Minggu, 2026-03-08 07:28:55

["soya"] = "Sōya", ["Soya Main Line"] = "Sōya Main Line", ["soya mainline"] = "Sōya Main Line", ["soya main line"] = "Sōya Main Line", ["okhotsk"] =...

Click to read more »
Module:Portal image banner
Senin, 2023-04-03 03:55:58

local p = {} local randomModule = require('Module:Random') p.main = function(frame) local parent = frame.getParent(frame) local parentArgs = parent...

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

isSubpage then return gallery(frame) else return slideShow(frame) end end p.main = main p.slideShow = slideShow p.gallery = gallery return p...

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

station|Lansdowne Avenue]]", ["Locksley"] = pa, ["Main Street"] = "[[Main Street station (SEPTA)|Norristown–Main Street]]", ["Malvern"] = septa, ["Meadowbrook"]...

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

Deprecations = require('Module:Build bracket/Deprecations') function p.main(frame) -- Shared mutable state passed among submodules local state...

Click to read more »
Module:Wikipedia Signpost/Main page top preview
Kamis, 2023-07-20 13:50:55

-- This module allows [[Wikipedia:Wikipedia Signpost/Templates/Main page top]] to -- be previewed with today's date and an incremented issue number. p...

Click to read more »
Module:Adjacent stations/New York Central Railroad
Kamis, 2026-05-28 05:37:54

["aliases"] = { ["catskill"] = "Catskill Mountain Branch", ["main"] = "Main Line", ["p&le main"] = "Pittsburgh and Lake Erie Railroad", ["benton harbor-south...

Click to read more »
Module:Adjacent stations/Delhi Metro
Jumat, 2026-05-22 18:55:23

terminus"] = {"Noida Electronic City", "Vaishali"}, ["types"] = { ["main"] = { ["title"] = "", ["right terminus"] = "Noida Electronic City"...

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

Deprecations = require('Module:Build bracket/Deprecations') function p.main(frame) -- Shared mutable state passed among submodules local state...

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

return string.format('[[Portal:%s|%s]]',portal,displayName) end function p._main(portals, args) -- Normalize all arguments if args.redlinks == 'include'...

Click to read more »
Module:Adjacent stations/Taiwan Railways
Senin, 2026-02-09 16:47:07

["Kaohsiung"] = "Kaohsiung Main Station", ["Sci-tech Museum"] = "Science and Technology Museum railway station", ["Taipei"] = "Taipei Main Station", ["Xinzuoying"]...

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

require("strict") local p = {} local mainCategory = {name = "Category:{series}", link = "[[Category:{series}|{type}]]"} local secondaryCategoryList...

Click to read more »
Module:Wikipedia Signpost/Main page top preview/doc
Selasa, 2021-06-15 21:13:35

This module allows Wikipedia:Wikipedia Signpost/Templates/Main page top to be previewed with today's date and an incremented issue number. This is used...

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

Avenue]]", ["Stapley/Main Street"] = "[[%1 station|Stapley/​Main Street]]", ["Sycamore/Main Street"] = "[[%1 station|Sycamore/​Main Street]]", ["Tempe...

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

Check shared arguments and get the parent argument count. local function main(frame, testFunc) local blankifiedTestFunc if yesno(frame.args.checkblanks)...

Click to read more »
Module:Adjacent stations/NJ Transit
Selasa, 2026-01-06 07:13:42

terminus"] = {"New York", "Hoboken"}, }, ["Main"] = { ["title"] = "[[Main Line (NJ Transit)|Main Line]]", ["color"] = "FFCF01", ["left terminus"]...

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

function main(args, objectType, validArgs) local redirectTemplateHandler = require("Module:Redirect template handler") local redirectCategoryShell, mainRedirect...

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

require("Module:Yesno") local cfg = mw.loadData('Module:If preview/configuration') --[[ main This function returns either the first argument or second argument passed...

Click to read more »
Module:Adjacent stations/Taipei Metro
Sabtu, 2026-05-09 13:55:44

station", -- Please avoid this form ["Taipei Main Station"] = "%1", ["Taipei main station"] = "[[Taipei Main Station]]", -- Please avoid this form ["Zhongshan...

Click to read more »
Module:Flag
Rabu, 2026-06-03 21:15:29

local notblank = function (v) return (v or '') ~= '' end local function _main(frame, name, mode, key) local categories = { ['Flag icon'] = '[[Category:Flag...

Click to read more »
Module:Params/doc/main sidebox/doc
Senin, 2025-09-29 21:09:15

documentation of Module:Params that creates a side box with important navigation links. Wikitext: {{module:params/doc/main sidebox}} Effect (on the right side):...

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

require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local dataPlural = args.dataPlural local separator = args.separator...

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

concat(redirectTemplateList), mainRedirect end --[[ Local function which handles the main process. --]] local function main(args, objectType, validArgs)...

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

svg|18px|link=Taoyuan Metro]]", ["station format"] = { "%1 metro station", ["Taipei Main Station"] = "%1 (Taoyuan Metro)", ["Taoyuan HSR station"] = "%1", ["Zhongli...

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

= "Arrowverse" --[[ Local function which handles the main operation. --]] local function main(args, objectType) local franchiseHandlerModule = require("Module:Fiction...

Click to read more »
Module:Adjacent stations/Philippine National Railways
Kamis, 2026-06-04 12:08:48

"''[[%1]]''", ["color"] =c.SYS, }, ["Bicol"] = { ["title"] = "[[PNR South Main Line#Bicol Commuter|Bicol Commuter]]", ["left terminus"] = "Tagkawayan"...

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

galleryLines } local sortedLines = nonRandom and galleryLines or randomModule.main('array', randomiseArgs) for i = 1, #sortedLines do -- insert a switcher-label...

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

['$template-name'] = 'template invocation name override', } function p.main(frame, body) -- If we are substing, this function returns a template invocation...

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

counter"] or require("Module:If preview/preview warning counter") --[[ main This function returns either the first argument or second argument passed...

Click to read more »
Module:English variant notice
Senin, 2026-05-18 05:39:33

'Module:Category handler' ).main local yesno = require('Module:Yesno') local mArguments = require('Module:Arguments') local n function p.main (frame) local fulltitle...

Click to read more »
Module:Adjacent stations/LIRR former
Minggu, 2025-06-08 22:07:54

Street"] = { ["Main"] = "Grand Street station (LIRR Main Line)", ["Rockaway Beach Division"] = "Grand Street station (LIRR Main Line)", ["Evergreen...

Click to read more »
Module:Adjacent stations/Rhine-Main S-Bahn/doc
Sabtu, 2022-06-11 14:31:27

This is a data module for Module:Adjacent stations. It supports services operated by Rhine-Main S-Bahn....

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

end function p._main(template, args) -- The main access point from Lua. checkType('_main', 1, template, 'string') checkType('_main', 2, args, 'table'...

Click to read more »
Module:Adjacent stations/Taichung MRT
Kamis, 2026-03-05 19:59:01

MRT]]", ["station format"] = { "%1 metro station", ["Beitun Main"] = "Beitun Main Station", ["Daqing"] = x, ["Songzhu"] = x, ["HSR Taichung...

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

station (CTA Logan Square branch)" local mml = "%1 station (CTA Metropolitan Main Line)" local niles = "%1 station (CTA Niles Center branch)" local normal...

Click to read more »
Module:English variant notice/sandbox
Senin, 2026-02-16 16:05:22

'Module:Category handler' ).main local yesno = require('Module:Yesno') local mArguments = require('Module:Arguments') local n function p.main (frame) local fulltitle...

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

require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local dataPlural = args.dataPlural local separator = args.separator...

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

image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'} ------------------------------------------------------------...

Click to read more »
Module:Adjacent stations/TriMet
Senin, 2026-05-25 02:56:39

["Milwaukie/Main Street"] = "[[Milwaukie/Main St station|Milwaukie/​Main St]]", ["Milwaukie/Main St"] = "[[Milwaukie/Main St station|Milwaukie/​Main St]]"...

Click to read more »
Module:Adjacent stations/SFRTA
Kamis, 2026-01-29 02:54:13

"MiamiCentral", ["right terminus"] = "West Palm Beach", }, ["Main"] = { ["title"] = "Main Line", ["color"] = "3a99d9", ["left terminus"] = "Miami...

Click to read more »
Module:Flag/sandbox
Rabu, 2026-06-03 21:11:59

local notblank = function (v) return (v or '') ~= '' end local function _main(frame, name, mode, key) local categories = { ['Flag icon'] = '[[Category:Flag...

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

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

Click to read more »
Module:Adjacent stations/Karachi Circular Railway
Sabtu, 2025-01-04 07:21:47

"008B8B", ["title"] = "%1 line" }, ["Main"] = { ["title"] = "[[Karachi Circular Railway#Main line|Main line]]", ["color"] = "a9cce3", ["left...

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

templateMain(frame) return _templateMain(frame:getParent().args) end return { flagIOC = flagIOC, flagXYZ = flagXYZ, main = main, _templateMain = _templateMain...

Click to read more »
Module:Adjacent stations/Rochester Subway
Selasa, 2025-04-01 02:54:39

Park", ["note-mid"] = "Service ended 1956", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "General Motors", ["right...

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

gsub(frame.args[1], ' ', '_') if conf.templates[template] then return p._main(frame, 'R_' .. template, conf.templates[template].name, conf.templates[template]...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 7)
Minggu, 2013-07-21 20:04:50

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

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

terminus"] = {"Ipswich","Rosewood"} }, ["Main Line"]= { ["title"] = "[[Main Line railway, Queensland|Main Line railway]]", ["color"] = "", ["left...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 2)
Jumat, 2013-07-26 22:06:19

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

Click to read more »
Module:Adjacent stations/Pennsylvania Railroad
Sabtu, 2025-07-19 01:50:55

["right terminus"] = "Richmond", }, ["Main Line"] = { ["title"] = "[[Main Line (Pennsylvania Railroad)|Main Line]]", ["left terminus"] = "Chicago"...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 3)
Minggu, 2013-07-21 20:03:32

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

Click to read more »
Module:Pagetype/doc
Rabu, 2025-08-06 01:47:10

{{pagetype}}. Basic usage {{#invoke:pagetype|main}} All parameters {{#invoke:pagetype|main | page = | defaultns = | main = | user = | wikipedia = | project =...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 1)
Minggu, 2013-07-21 20:02:49

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 6)
Minggu, 2013-07-21 20:04:28

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 5)
Minggu, 2013-07-21 20:04:11

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

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

portal')) and true or false return isFeatured and 'yes' or '' end -- main function -- Looks for {{Portal maintenance status}} (or earlier deprecated...

Click to read more »
Module:Adjacent stations/Delaware, Lackawanna and Western Railroad
Jumat, 2026-03-27 03:30:40

["aliases"] = { ["hampton"] = "Hampton Branch", ["main"] = "Main Line", ["old main"] = "Old Main Line", ["rockaway"] = "Rockaway Branch", }, } return...

Click to read more »
Module:Anchor/sandbox
Sabtu, 2024-06-15 22:08:25

p = {} function p.main(frame) -- Get the positional arguments from #invoke, remove any nil values, -- and pass them to p._main. local args = getArgs(frame)...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 4)
Minggu, 2013-07-21 20:03:49

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

Click to read more »
Module:IPA symbol/sandbox/testcases list (part 8)
Jumat, 2013-07-26 22:07:08

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}') -- All input options currently in {{IPAsym}}. The number...

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

nominate' } }) return func(args, frame) end end p.main = makeInvokeFunction(p._main) p.nominate = makeInvokeFunction(p._nominate) return p...

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

require('Module:Yesno') local p = {} local function makeData(args) local data = {} -- Main table classes data.classes = {} if yesno(args.metadata) ~= false then ...

Click to read more »
Module:Excerpt/testcases
Selasa, 2026-01-27 08:44:15

{{#invoke:Excerpt|main}} {{#invoke:Excerpt|main|}} {{#invoke:Excerpt|main| }} {{#invoke:Excerpt|main|2 > 1}} {{#invoke:Excerpt|main|Fake title}} {{#invoke:Excerpt|main|Science#Fake...

Click to read more »
Module:Toolbar
Rabu, 2019-02-27 01:14:05

function p.main(frame) mArguments = require('Module:Arguments') local args = mArguments.getArgs(frame) return p._main(args) end function p._main(args)...

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

local ret if demospace then -- Handle "demospace = main" properly. if equalsArrayValue(argKeys.main, ustringLower(demospace)) then ret = mw.site.namespaces[0]...

Click to read more »
Module:Adjacent stations/Baltimore and Ohio Railroad
Senin, 2026-03-23 07:29:43

terminus"] = "Grafton", }, }, ["aliases"] = { ["main"] = "Main Line", ["old main"] = "Old Main Line", ["strasburg branch"] = "Shenandoah Valley...

Click to read more »
Module:IPA symbol/sandbox/testcases
Selasa, 2020-02-11 04:00:46

-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main||output=name}}', '{{IPAsym|}}') -- currently: custom_error corresponds with...

Click to read more »
Module:Adjacent stations/GRTC
Jumat, 2024-05-17 10:08:16

Pulse#%1", ["Main Street"] = "Richmond Main Street Station", }, ["lines"] = { ["_default"] = { ["color"] = "3f2c7d", }, ["Broad & Main Street"]...

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

{ wrappers = wrapper }) end -- Main function for {{italic title}} function p._main(args) checkType('_main', 1, args, 'table') local italicTitle...

Click to read more »
Module:Shortcut
Senin, 2024-03-11 10:26:56

name, cat) end function p._main(shortcuts, options, frame, cfg) checkType('_main', 1, shortcuts, 'table') checkType('_main', 2, options, 'table', true)...

Click to read more »
Module:Plain text
Selasa, 2024-12-24 08:02:36

= {} function p.main(frame) local text = frame.args[1] local encode = require('Module:yesno')(frame.args.encode) return p._main(text, encode) end...

Click to read more »
Module:Adjacent stations/BERy
Sabtu, 2020-06-27 13:35:43

= "[[Haymarket station (MBTA)#Main Line Elevated|Friend/Union]]", ["Friend/Union"] = "Haymarket station (MBTA)#Main Line Elevated", ["Haymarket"]...

Click to read more »
Module:Su
Senin, 2024-04-15 09:27:21

-- This module implements {{su}}. local p = {} function p.main(frame) -- Use arguments from the parent frame only, and remove any blank arguments. ...

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

require('Module:Yesno') local makeMessageBox = require('Module:Message box').main local getArgs local activeBox -- lazily initialized if we get an active...

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

= {} -- Transclude randomly selected "Did you know?" entries function p.main(frame) -- args = { 1,2,... = page names, paragraphs = list e.g. "1,3-5"...

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

Eg: Tulips MAIN_CAT – the default is no main category created; if defined, all pages displaying the template will be sorted into Category:MAIN_CAT. Eg:...

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

the main redirect, -- and not to a crossover episode, as the short description isn't set up to handle it. local shortDescription = "" if (mainRedirect...

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

-- Internal main ----------------------------------------------------------------------- local function _main(args) local title = args[1]...

Click to read more »
Module:Good article topics
Rabu, 2014-02-19 15:07:56

-- This module implements {{GA/Topic}}. local p = {} function p.main(frame) local topic = frame:getParent().args[1] if not topic then return '' ...

Click to read more »
Module:Science redirect/sandbox
Senin, 2021-05-17 09:54:39

gsub(frame.args[1], ' ', '_') if conf.templates[template] then return p._main(frame, 'R_' .. template, conf.templates[template].name, conf.templates[template]...

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

allItems, ['limit'] = maxItems } local randomisedItems = randomModule.main('array', randomiseArgs ) output = table.concat(randomisedItems, '\n') ...

Click to read more »
Module:Adjacent stations/Peshawar Circular Railway
Rabu, 2022-09-28 23:01:02

Cantonment", ["right terminus"] = "Charsadda" } }, ["aliases"] = { [""] = "main", ["_"] = "main", ["-"] = "main", ["pcr"] = "main" } } return p...

Click to read more »
Module:File link
Rabu, 2020-04-01 13:31:54

require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table') -- This is basically libraryUtil.checkTypeForNamedArg...

Click to read more »
Module:Submit an edit request
Senin, 2024-12-16 22:29:26

effectiveProtectionLevel = require('Module:Effective protection level')._main local escape = require("Module:String")._escapePattern local lang = mw.language...

Click to read more »
Module:Svara
Kamis, 2025-10-16 21:50:42

sanitiseArgs(frame, true) input = p.resolve(input, "carnatic") return p._main(frame, input, 'carnatic') end -- Called by the svaraH template -- print(p...

Click to read more »
Module:Adjacent stations/Brampton Transit
Jumat, 2024-08-16 07:09:50

"501C", ["text color"] = "FFFFFF", }, ["502 Züm Main"] = { ["title"] = "[[502 Züm Main]]", ["short name"] = "502", ["text color"] = "FFFFFF"...

Click to read more »
Module:R from fictional object multi
Senin, 2024-05-06 18:35:58

point. --]] function p.main(frame) local getArgs = require("Module:Arguments").getArgs local args = getArgs(frame) return _main(args) end return p...

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

{{invoke:RoundN|main|columns = 9}} for columns = 1, 9 do local N = math.pow(2, columns) p['N' .. N] = function(frame) return p.main(frame.args, columns)...

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

This module contains functions to find the target of a redirect page. The main function accepts the name of a single page. It determines if the page is...

Click to read more »
Module:Adjacent stations/Illinois Central Railroad
Senin, 2026-03-09 03:30:18

Cormorant", ["right terminus"] = "Greenwood", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "New Orleans", ["right terminus"]...

Click to read more »
Module:IPA symbol/sandbox
Kamis, 2026-04-02 20:53:18

local function returnErrorCat() return require('Module:Category handler').main({ true }) and '[[Category:International Phonetic Alphabet pages needing...

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

require('Module:Arguments').getArgs local p = {} function p.main(frame) local args = getArgs(frame) -- Main module code goes here. end return p However, the recommended...

Click to read more »
Module:Anchor
Jumat, 2020-09-25 05:32:51

p = {} function p.main(frame) -- Get the positional arguments from #invoke, remove any nil values, -- and pass them to p._main. local args = getArgs(frame)...

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

local p = {} local plaintext = require("Module:Plain text")._main local language = mw.language.getContentLanguage() --Cleanup/format location for use...

Click to read more »
Module:R from fictional object multi/sandbox
Senin, 2024-05-06 18:35:18

point. --]] function p.main(frame) local getArgs = require("Module:Arguments").getArgs local args = getArgs(frame) return _main(args) end return p...

Click to read more »
Module:Icon
Jumat, 2026-01-30 13:27:05

Returns the icon image corresponding to a string (like 'B') function p._main(args, data) local data_module = 'Module:Icon/data'..sandbox data = data...

Click to read more »
Module:Infobox television season disambiguation check
Selasa, 2026-01-06 18:16:42

-- Internal main ----------------------------------------------------------------------- local function _main(args) local title = args[1]...

Click to read more »
Module:Adjacent stations/Staten Island Railway
Jumat, 2024-06-28 03:27:32

Railway station|St. George]]", ["Tower Hill"] = SIR, }, ["lines"] = { ["Main"] = { ["title"] = "[[File:NYCS-bull-trans-SIR-Std.svg|48px|link=Staten...

Click to read more »
Module:Namespace detect/data
Rabu, 2020-04-01 13:12:45

site.subjectNamespaces[0].name mainNsName = mw.ustring.lower(mainNsName) mappings[mainNsName] = mw.clone(argKeys.main) mappings['talk'] = mw.clone(argKeys...

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

return table.concat(ret), num end -- The main control flow of the module. local function _main(args) -- Get input and exit displaying nothing...

Click to read more »
Module:Template test case/testcases
Selasa, 2026-02-03 20:55:48

self:preprocess_equals_preprocess( '{{#invoke:Template test case/sandbox |main |_format=columns |_caption=_caption |_rowheader=_rowheader |_heading0=_heading0...

Click to read more »
Module:Adjacent stations/Reading Company
Jumat, 2024-01-05 02:34:54

["right terminus"] = "Tremont", }, ["Main Line"] = { ["title"] = "[[Main Line (Reading Company)|Main Line]]", ["left terminus"] = "Pottsville"...

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

then return tableEmptyCellModule._main({alt_text = expiredText}) else return tableEmptyCellModule._main({alt_text = awaitingText}) end end...

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

'imbox', category = 'cmbox', categorytalk = 'ctmbox', article = 'ambox', main = 'ambox'} ------------------------------------------------------------...

Click to read more »
Module:Is infobox in lead
Senin, 2019-10-07 11:35:39

local p = {} function p.main (frame) return p._main (frame.args[1]) end function p._main (searchString) local content = mw.title.getCurrentTitle():getContent()...

Click to read more »
Module:Article history/config
Jumat, 2024-11-22 11:26:36

validateMainDate('maindate', 'mainDate', 'mainDateTimestamp') if data.mainDate then validateMainDate('maindate2', 'mainDate2', 'mainDate2Timestamp')...

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

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

Click to read more »
Module:Sort title
Kamis, 2020-05-21 02:15:13

return "" else return disambiguation end end --[[ The main function. --]] local function _main(title) if (not title) then title = mw.title.getCurrentTitle()...

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

templateMain(frame) return _templateMain(frame:getParent().args) end return { flagIOC = flagIOC, flagXYZ = flagXYZ, main = main, _templateMain = _templateMain...

Click to read more »
Module:Adjacent stations/Taiwan High Speed Rail
Minggu, 2026-03-08 01:00:33

#C35617;", ["station format"] = { "%1 HSR station", ["Taipei"] = "Taipei Main Station", ["Nangang"] = x, ["Banqiao"] = x }, ["lines"] = { ["_default"]...

Click to read more »
Module:Adjacent stations/Chicago, Rock Island and Pacific Railroad
Rabu, 2026-04-01 01:25:52

"Little Rock", ["right terminus"] = "Eunice", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Colorado Springs", ["right...

Click to read more »
Module:Subject bar
Senin, 2026-04-13 07:28:52

squeeze out gaps/nils in values, keep ordering return values end function p._main(args) local result = "" local hasPortal = false for key, _ in pairs(args)...

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

data = mw.loadData ('Module:CS1 translator/data'); local params_main_t = data.params_main_t; local params_dates_t = data.params_dates_t; local params_misc_dates_t...

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

validArgs end --[[ Public function which handles the main operation. --]] function p.main(args, objectType, franchise, tvSeriesNameList) local validArgs...

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

destination page.<br />" .. "<small>Please notify the good-faith creator and any main contributors of the redirect by placing <code>&#123;&#123;[[Wikipedia:Su...

Click to read more »
Module:Arrowverse redirect category handler/sandbox
Senin, 2024-05-06 13:53:04

= "Arrowverse" --[[ Local function which handles the main operation. --]] local function main(args, objectType) local franchiseHandlerModule = require("Module:Fiction...

Click to read more »
Module:Anchor/testcases
Senin, 2022-01-03 12:12:57

'{{#invoke:Anchor|main|25=foo}}') end function suite:test_main() self:assertResultEquals('<span class="anchor" id="foo"></span>', anchor._main('foo')) ...

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

pcall(_main, args) if success then return result end return message(result, clean(args.name), clean(args.nocat)) end return { main = main, _main = _main...

Click to read more »
Module:Clade/gallery
Selasa, 2024-04-09 18:40:33

-- main caption for gallery if there is one if params['main-caption'] then gallery:tag('div'):wikitext(params['main-caption']):addClass('main-caption')...

Click to read more »
Module:Redirect/testcases
Jumat, 2026-01-30 20:41:19

-- Test Main -------------------------------------------------------------------------------- function suite:testMain() self:mockAFCShortcut()...

Click to read more »
Module:Icon/sandbox
Jumat, 2026-01-30 13:16:00

Returns the icon image corresponding to a string (like 'B') function p._main(args, data) local data_module = 'Module:Icon/data'..sandbox data = data...

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

require('Module:Yesno') local p = {} local function makeData(args) local data = {} -- Main table classes data.classes = {} if yesno(args.metadata) ~= false then ...

Click to read more »
Module:Namespace detect/testcases
Minggu, 2013-10-27 21:02:01

_main function p:test_template_testcases_page() self:preprocess_equals_many('{{#invoke:Namespace detect/sandbox|main', '}}', { {[[ | main...

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

don't need to write a module for one desired feature. {{#invoke:Lua call|main|arbitrary variables|parameters|functioncall}} The arbitrary variables are...

Click to read more »
Module:WPMILHIST Infobox style
Kamis, 2026-01-08 15:34:22

local retval = { main_box_raw_auto_width = 'border-spacing:2px;', header_raw = 'background-color:#C3D6EF;color:inherit;text-align:center;vertical-al...

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

= require('Module:File link')._main local effectiveProtectionLevel = require('Module:Effective protection level')._main local effectiveProtectionExpiry...

Click to read more »
Module:File link/sandbox
Kamis, 2014-12-18 21:04:02

require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table') -- This is basically libraryUtil.checkTypeForNamedArg...

Click to read more »
Module:Listen
Jumat, 2022-07-08 00:12:31

:done() :newline() :tag('div') :wikitext(play ~= 'no' and mFileLink._main{ file = filename, size = hasImage and '232px' or '215px', ...

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

main = makeInvokeFunction('_main') function p._main(args) -- The main function. This is the one called from [[Template:User-multi]], -- via p.main...

Click to read more »
Module:Purge
Senin, 2017-11-13 23:20:48

display) return string.format('[%s %s]', url, display) end function p._main(args) -- Make the URL local url do local title if args.page then ...

Click to read more »
Module:Italic title/testcases
Kamis, 2026-03-05 01:25:59

oldGetCurrentFrame end local displayTitleTestData = { { func = "_main", description = 'test _main: Italicize all - single-word titles', page = "Example",...

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

retrieve the main category for a specific type. --]] function RedirectType:getMainCategory(mainCategory) return RedirectType:getCategory(mainCategory)...

Click to read more »
Module:Su/sandbox
Minggu, 2024-07-14 03:53:03

-- This module implements {{su}}. local p = {} function p.main(frame) -- Use arguments from the parent frame only, and remove any blank arguments. ...

Click to read more »
Module:Adjacent stations/Shanghai Metro
Jumat, 2026-05-08 11:26:44

terminus"] = {"Fengxian Xincheng", "Minhang Development Zone"}, }, ["main"] = { ["title"] = "", ["right terminus"] = "Fengxian Xincheng"...

Click to read more »
Module:Svara/sandbox
Kamis, 2025-10-16 21:56:28

sanitiseArgs(frame, true) input = p.resolve(input, "carnatic") return p._main(frame, input, 'carnatic') end -- Called by the svaraH template -- print(p...

Click to read more »
Module:UnitPlural/doc
Senin, 2019-10-14 22:02:05

The main function takes a number and unit name (|quantity=) and an optional language code (|lang=) from the frame. It returns the quantity with proper...

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

decode(pagename) pagename = anonymize(pagename) return pagename end function p.main(frame,displacement,varstoreturn) local parent=frame.getParent(frame) local...

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

'Plainlist/styles.css' } } end table.insert(data.classes, args.class) -- Main div style data.style = args.style -- Indent for horizontal lists if listType...

Click to read more »
Module:Portal bar
Senin, 2026-03-16 21:32:43

"-sand" or s end -- Builds the portal bar used by {{portal bar}}. function p._main( portals, args ) -- check for sensible args args = type(args) == "table"...

Click to read more »
Module:YMD to ISO/testcases
Selasa, 2020-02-11 04:21:14

self:preprocess_equals('{{#invoke:YMD to ISO|main| 2000_January_17 }}', '2000-01-17') self:preprocess_equals('{{#invoke:YMD to ISO|main|2000 January 17}}', '2000-01-17')...

Click to read more »
Module:File link/testcases
Kamis, 2026-01-29 20:29:01

mFileLink = require('Module:File link/sandbox') local main = mFileLink.main local _main = mFileLink._main local ScribuntoUnit = require('Module:ScribuntoUnit')...

Click to read more »
Module:Adjacent stations/Cape Cod Central Railroad
Sabtu, 2019-04-20 12:40:03

Transportation Center", ["Sandwich"] = ma, }, ["lines"] = { ["Main Line"] = { ["title"] = "Main Line", ["color"] = "992135", ["left terminus"] = "Buzzards...

Click to read more »
Module:Shortcut/sandbox
Jumat, 2025-06-06 00:20:28

name, cat) end function p._main(shortcuts, options, frame, cfg) checkType('_main', 1, shortcuts, 'table') checkType('_main', 2, options, 'table', true)...

Click to read more »
Module:XfD old
Sabtu, 2026-05-16 05:06:31

= require("Module:TableTools") local ymd = require("Module:YMD to ISO")._main local lang = mw.getContentLanguage() local function getlog(name) -- Files...

Click to read more »
Module:Redirect template handler/sandbox
Rabu, 2026-02-04 01:37:07

concat(redirectTemplateList), mainRedirect end --[[ Local function which handles the main process. --]] local function main(args, objectType, validArgs)...

Click to read more »
Module:FeaturedTopicSum
Senin, 2015-01-12 23:50:25

function p._main(args) local status = p.status(args[1]) if status == 'FT' then return args[2] else return args[3] end end function p.main(frame) ...

Click to read more »
Module:Sort title/sandbox
Selasa, 2023-04-11 09:28:22

return "" else return disambiguation end end --[[ The main function. --]] local function _main(title) if (not title) then title = mw.title.getCurrentTitle()...

Click to read more »
Module:Adjacent stations/Chennai Metro
Jumat, 2025-06-06 20:36:45

Construction)''", ["right terminus"] = "Sholinganallur", ["types"] = { ["main"] = { ["title"] = "", ["left terminus"] = "Madhavaram Milk Colony"...

Click to read more »
Module:Flex columns
Jumat, 2020-12-25 12:33:11

end end return cleanArgs end p.main = function(frame) local parent = frame.getParent(frame) local output = p._main(parent.args) return frame:extensionTag{...

Click to read more »
Module:Fiction redirect category handler/sandbox
Senin, 2024-05-06 13:52:35

character, element and location redirect handling code. --]] local function main(args, objectType, validArgs) local redirectTemplateHandler = require("Module:Redirect...

Click to read more »
Module:Find sources/sandbox
Rabu, 2024-10-16 05:26:50

end function p._main(template, args) -- The main access point from Lua. checkType('_main', 1, template, 'string') checkType('_main', 2, args, 'table'...

Click to read more »
Module:Purge/sandbox
Senin, 2017-11-13 23:18:47

display) return string.format('[%s %s]', url, display) end function p._main(args) -- Make the URL local url do local title if args.page then ...

Click to read more »
Module:Adjacent stations/Metrorail KwaZulu-Natal
Selasa, 2022-05-10 22:22:18

["right terminus"] = "Durban" }, ["Old Main"] = { ["title"] = "[[Old Main Line (Durban)|Old Main Line]]", ["color"] = "682327", ["left terminus"]...

Click to read more »
Module:Page tabs
Rabu, 2024-08-14 11:36:32

require('Module:Yesno') local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local makeTab = p.makeTab...

Click to read more »
Module:Toolbar/sandbox
Selasa, 2020-05-19 21:04:53

function p.main(frame) mArguments = require('Module:Arguments') local args = mArguments.getArgs(frame) return p._main(args) end function p._main(args)...

Click to read more »
Module:Adjacent stations/Maryland Transit Administration
Rabu, 2026-06-03 07:39:52

Carrollton", }, }, ["aliases"] = { ["light rail"] = "Light RailLink", ["main"] = "Light RailLink", ["metro subway"] = "Metro SubwayLink", ["penn"]...

Click to read more »
Module:Highest archive number
Selasa, 2019-10-08 22:47:04

title.new(page).exists end) return success and exists end function p._main(prefix, start) -- Check our inputs if type(prefix) ~= 'string' or not prefix:find('%S')...

Click to read more »
Module:Str find word/doc
Sabtu, 2026-03-28 19:20:34

'november' does not. {{#invoke:Str find word |main |source=foo, bar |word=bar}} (True) → bar {{#invoke:Str find word |main |source=alpha, beta, gamma |word=november}}...

Click to read more »
Module:No ping
Jumat, 2025-12-12 06:09:31

local p = {} function p.main(frame) local args = frame:getParent().args return p._main(args) end function p._main(args) local ret = {} local fullUrl...

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

false end local function isempty(x) return (not x) or x == "" end -- Main entry point function i.InfoboxImage(frame) local image = frame.args["image"]...

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

else return var or '' end end function p._main(_args) -- Arguments are processed here instead of the main function local yesno = require('Module:Yesno')...

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

namespaceCategories = { all = { function() return true end }, main = { 0, '[[WP:Mainspace|main]]' }, help = { 12, '[[WP:Help namespace|help]]' }, portal...

Click to read more »
Module:ISO 639 name/testcases/ISO 639 deprecated code from name
Kamis, 2024-07-11 22:19:04

local p = require("Module:UnitTests") local function main(self, language_list, iso_number) require("Module:Lang/documentor tool").testcases_iso_name_to_code(self...

Click to read more »
Module:ISO 639 name/testcases/ISO 639 deprecated name from code
Kamis, 2024-07-11 22:19:11

local p = require("Module:UnitTests") local function main(self, language_list, iso_number) require("Module:Lang/documentor tool").testcases_iso_code_to_name(self...

Click to read more »
Module:Icon/testcases
Senin, 2026-03-09 22:48:51

return suite.run(...) end -- Use a shortcut function to call mIcon._main using custom icon data. local function icon(args) local data = { fa =...

Click to read more »
Module:Italic title/sandbox
Kamis, 2026-03-05 20:57:34

{ wrappers = wrapper }) end -- Main function for {{italic title}} function p._main(args) checkType('_main', 1, args, 'table') local italicTitle...

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

end local function isempty(x) return (not x) or x == "" end -- Main entry point function i.InfoboxImage(frame) local image = frame.args["image"];...

Click to read more »
Module:Sandbox/Johnuniq/temp
Kamis, 2026-03-05 13:46:59

v in pairs(t) do result[k] = v end return result end local function main(frame) local dump = require('Module:Dump')._dump local result = dump({...

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

'Plainlist/styles.css' } } end table.insert(data.classes, args.class) -- Main div style data.style = args.style -- Indent for horizontal lists if listType...

Click to read more »
Module:ISO 639 name/testcases/ISO 639-2 name from code
Kamis, 2024-07-11 22:19:24

local p = require("Module:UnitTests") local function main(self, data, iso_number) local language_list = mw.loadData(data) require("Module:Lang/documentor...

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

working or listed template or nil for an error message ]] local function _main (frame, args, list) local template; local exclude = {}; --...

Click to read more »
Module:Protected edit request/sandbox
Selasa, 2025-12-09 15:10:28

require('Module:Yesno') local makeMessageBox = require('Module:Message box').main local getArgs local activeBox -- lazily initialized if we get an active...

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

for mainspaces pages with an explicit class specified local function getMainNamespaceClassPageType(title, args) local class = args[1] if type(class)...

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

local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k,...

Click to read more »
Module:Carousel
Jumat, 2019-05-31 06:04:05

-- -- {{#invoke:carousel | main | name = name-of-datamodule | switchsecs = number-of-seconds }} -- {{#invoke:carousel | main | name = 54129 | switchsecs...

Click to read more »
Module:Time ago/testcases
Kamis, 2026-02-26 20:27:11

ago/sandbox|main|'..checker(3, 'date')..'}}', checker(3, 'm') .. ' months ago') self:preprocess_equals('{{#invoke:Time ago/sandbox|main|{{CURRENTTIMESTAMP}}}}'...

Click to read more »
Module:Sandbox/Certes
Senin, 2022-02-14 01:08:06

_main function p.main(frame) -- Take parameters out of the frame and pass them to p._main(). Return the result. return p._main() end -- of p.main ...

Click to read more »
Module:Category handler/doc
Jumat, 2025-06-20 01:06:33

several types. These types are used as parameter names in this module. main = Main/article space, as in normal Wikipedia articles. talk = Any talk space...

Click to read more »
Module:Adjacent stations/Oigawa
Minggu, 2024-05-12 13:41:51

["Omori"] = shizuoka }, ["lines"] = { ["Main Line"] = { ["title"] = "[[Ōigawa Railway Ōigawa Main Line|Ōigawa Main Line]]", ["left terminus"] = "Kanaya"...

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

main function. Called from other Lua modules. -------------------------------------------------------------------------------------- function p.main(funcName...

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

end -- Determine the requested return value (string). -- sYeslist is the _main return value (logically defined value) -- this function applies tArgs.yes...

Click to read more »
Module:Sandbox/PHansen/Test
Senin, 2014-12-15 18:50:01

*not* nil. text = "Hello world" --function p.main( frame ) -- this block defines the table element p[main] as the _function_ listed below -- return...

Click to read more »
Module:Adjacent stations/New York, New Haven and Hartford Railroad
Sabtu, 2026-05-16 11:20:00

= "Boston", ["right terminus"] = "Hyannis", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "New York", ["right terminus"]...

Click to read more »
Module:ISO 639 name/testcases/ISO 639-2 code from name
Kamis, 2024-07-11 22:19:22

local p = require("Module:UnitTests") local function main(self, data, iso_number) local language_list = mw.loadData(data) require("Module:Lang/documentor...

Click to read more »
Module:Adjacent stations/Milwaukee Road
Sabtu, 2026-01-17 20:36:55

"Iron River", ["right terminus"] = "Channing", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = {"Seattle", "Tacoma"}, ["right...

Click to read more »
Module:Adjacent stations/Florida East Coast Railway
Selasa, 2026-04-14 22:52:28

{ ["color"] = "d31112", }, ["Main Line"] = { ["title"] = "[[Florida East Coast Railway#Main line|Main Line]]", ["left terminus"] = "Miami"...

Click to read more »
Module:Adjacent stations/Atchison, Topeka and Santa Fe Railway
Senin, 2026-01-26 10:51:33

MO", }, }, ["aliases"] = { ["gcsf main"] = "Gulf, Colorado and Santa Fe Railway", ["main"] = "Main Line", ["purcell-arkansas city"] = "Oklahoma...

Click to read more »
Module:Submit an edit request/config
Minggu, 2026-01-11 07:43:40

pages (and their subpages) that make up the content of the main page for this wiki ['main-page-content'] = { ['Wikipedia:Today\'s featured article']...

Click to read more »
Module:Ordnance Survey coordinates/testcases
Kamis, 2026-05-21 12:32:48

tester:preprocess_equals('{{#invoke:Ordnance Survey coordinates'..sandbox..' | main | '..GBos..'}}', geohack..pagename..GBloc..'_region:GB_dim:4083m'..' '...

Click to read more »
Module:TEMPLATENAME
Kamis, 2024-06-06 12:12:17

local p = {} function p.main(frame) return frame:getParent():getTitle() end return p...

Click to read more »
Module:Infobox television disambiguation check/sandbox
Selasa, 2025-12-30 10:41:23

-- Internal main ----------------------------------------------------------------------- local function _main(args) local title = args[1]...

Click to read more »
Module:Sandbox/Johnuniq/testpre
Rabu, 2018-08-22 06:11:38

MB of memory? local Date = require('Module:Date')._Date local function main(frame) local count = tonumber(frame.args[1]) or 31000 local jd = 2451545...

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

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

Click to read more »
Module:DYK nompage links
Senin, 2025-04-14 11:03:32

) .. string.format(" or [[%s|view]]",dykSubpage) end end function p._main(nominationPage, historyPages) -- Deal with bad input. if not nominationPage...

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

documentation for details require('strict') local p = {} -- Main function function p.main(frame) -- Declare locals local getArgs = require('Module:Arguments')...

Click to read more »
Module:Video game review score/sandbox
Selasa, 2016-07-05 18:09:26

wikidata/sandbox') local yesno = require('Module:Yesno') local p = {} function p._main(frame, args) local ret = vgwd.setReviewer(args["reviewer"]) vgwd...

Click to read more »
Module:Parameter names example
Kamis, 2025-04-24 01:00:35

"''" .. s .. "''" end local function plain(s) return s end function p._main(args, frame) -- Find how we want to format the arguments to the template...

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

['$template-name'] = 'template invocation name override' } function p.main(frame, body) -- If we are substing, this function returns a template invocation...

Click to read more »
Module:WPMILHIST Infobox style/sandbox
Minggu, 2022-12-11 06:26:53

local retval = { main_box_raw_auto_width = 'border-spacing:2px;', header_raw = 'background-color:#C3D6EF;text-align:center;vertical-align:middle;font-size:110%;'...

Click to read more »
Module:DYK checklist
Rabu, 2025-03-05 06:12:13

local issues = {} -- Add main issues options.mainIssues = options.mainIssues or {} for i, t in ipairs(options.mainIssues) do local checklistItem...

Click to read more »
Module:Type in location/sandbox
Jumat, 2023-04-28 01:05:25

local p = {} local plaintext = require("Module:Plain text")._main local language = mw.language.getContentLanguage() --Cleanup/format location for use...

Click to read more »
Module:Plain text/sandbox
Minggu, 2023-07-23 22:39:29

= {} function p.main(frame) local text = frame.args[1] local encode = require('Module:yesno')(frame.args.encode) return p._main(text, encode) end...

Click to read more »
Module:Adjacent stations/Cape Cod and Hyannis Railroad
Kamis, 2025-03-27 04:26:17

"Falmouth"}, }, }, ["aliases"] = { ["attleboro"] = "Attleboro Branch", ["falmouth"] = "Falmouth Branch", ["main"] = "Main Line", }, } return p...

Click to read more »
Module:If empty
Jumat, 2023-01-27 01:33:28

local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) ...

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

'module test cases notice'} else return p.main(frame) end end p.main = makeInvokeFunc('_main') function p._main(args) --[[ -- This function defines logic...

Click to read more »
Module:Roman/sandbox
Rabu, 2025-01-01 20:22:41

return table.concat(ret), num end -- The main control flow of the module. local function _main(args) -- Get input and exit displaying nothing...

Click to read more »
Module:For loop
Kamis, 2025-04-03 23:31:32

function p.templatemain(frame) return p.main(frame:newChild{title = "Template:For_loop"}) end function p.main(frame) local args = getArgs(frame, { ...

Click to read more »
Module:Ancient Olympiads
Sabtu, 2023-09-30 10:27:27

local TableTools = require('Module:TableTools') local p = {} function p._main( inputYear ) -- Convert the input to an integer if possible. Return "N/A"...

Click to read more »
Module:Adjacent stations/CATS
Selasa, 2026-05-12 05:57:05

terminus"] = "I-485/South Boulevard", ["right terminus"] = "UNC Charlotte–Main", }, ["Gold"] = { ["title"] = "[[CityLynx Gold Line]]", ["color"]...

Click to read more »
Module:Pagelist
Jumat, 2025-12-19 20:50:22

page, page, endDelim ), ':+', ':' ) return outStr end function p._main(args) local t = {} local separator = getSeparator(args.separator) local...

Click to read more »
Module:Submit an edit request/sandbox
Kamis, 2024-09-05 07:07:59

effectiveProtectionLevel = require('Module:Effective protection level')._main local escape = require("Module:String")._escapePattern local lang = mw.language...

Click to read more »
Module:Formatnum/testcases
Jumat, 2026-02-13 21:17:55

self:preprocess_equals('{{#invoke:Formatnum/sandbox|main|0|en}}', '0') self:preprocess_equals('{{#invoke:Formatnum/sandbox|main|-123|en}}', '−123') end function...

Click to read more »
Module:Bad title suggestion/testcases
Jumat, 2025-06-27 08:47:21

title suggestion|main|||Main Page&#124;title text}}', '<div class="mw-parser-output">{{Did you mean box|Main Page}}</div>') end function...

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

------------------------------------------- -- EpisodeTable class -- The main class. --------------------------------------------------------------------------------...

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

------------------------------------------- -- Module:GHS phrases -- -- main: reads GHS parameters (arguments like "H301", "P401") -- and returns for...

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

makeInvokeFunc(p._count) function p._main(args, index) return tostring(List.new{args = args, index = index}) end p.main = makeInvokeFunc(p._main) return p...

Click to read more »
Module:Namespace detect/doc
Jumat, 2025-11-21 21:21:10

Namespace detect | main | page = <!-- page to detect namespace for, if not the current page --> | main = <!-- text to return for the main namespace --> |...

Click to read more »
Module:User
Rabu, 2024-08-28 07:20:41

if arg ~= '' then return arg else return nil end end function p.main(frame, opts) -- Grab the user, project and lang args from wikitext. local...

Click to read more »
Module:Bad title suggestion/doc
Rabu, 2025-07-02 20:57:31

Wikipedia:Village pump? Main Page|title text!: {{#invoke:Bad title suggestion|main|||Main Page&#124;title text!}} Did you mean: Main Page? This page absolutely...

Click to read more »
Module:Adjacent stations/Delaware and Hudson Railway
Sabtu, 2025-10-25 04:27:06

= { ["_default"] = { ["color"] = "003F87", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Rouses Point", ["right...

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

end end if result then return result -- number or string end end return -1 end return { main = main, rank = rank, }...

Click to read more »
Module:Respell
Kamis, 2019-08-15 00:08:51

local p = {} function p._main(args) local ret = {} for i, v in ipairs(args) do v = mw.text.trim(v) -- Compatibility: Ignore arguments that only...

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

purposes. return { CategoryHandler = CategoryHandler } end function p._main(args, data) data = data or mw.loadData('Module:Category handler/data') ...

Click to read more »
Module:IncrementParams
Kamis, 2022-11-03 00:53:30

with the following code: -- {{subst:#invoke:IncrementParams|main}} -- Or you can simply copy and paste the text from this module's documentation...

Click to read more »
Module:Adjacent stations/MUNI
Senin, 2026-05-11 07:43:08

Building", ["Market and Main"] = "Embarcadero station", ["Market and Drumm"] = "Embarcadero station", ["Market and Main / Market and Drumm"] = "Embarcadero...

Click to read more »
Module:AfC topic
Selasa, 2025-08-12 06:02:50

getArgs local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local ns = mw.title.getCurrentTitle()...

Click to read more »
Module:Clade/gallery/sandbox
Sabtu, 2022-04-09 22:33:26

-- main caption for gallery if there is one if params['main-caption'] then gallery:tag('div'):wikitext(params['main-caption']):addClass('main-caption')...

Click to read more »
Module:Namespace detect/config
Rabu, 2020-04-01 13:12:44

---- This parameter displays content for the main namespace: -- cfg.main = 'main' ---- This parameter displays in talk namespaces: -- cfg...

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

{{#invoke:carousel | main | name = name-of-data-module | switchsecs = number-of-seconds }} Examples: {{#invoke:carousel | main }} for 24 hours between...

Click to read more »
Module:Television episode disambiguation description
Jumat, 2020-10-23 05:23:02

message. end end -- Local function that does the actual main process. local function _main(frame, articleName, parenthesesPartOfTitle, formattedLinkOnly...

Click to read more »
Module:Adjacent stations/Central Vermont Railway
Minggu, 2026-01-04 02:22:07

subdivision"] = "Main Line", ["roxbury subdivision"] = "Main Line", ["st. armand subdivision"] = "Main Line", ["willimantic subdivision"] = "Main Line", ...

Click to read more »
Module:Labelled list hatnote/testcases
Kamis, 2025-05-29 01:16:34

that test "Namespace-based labels" means that four labels are provided, "Main", "Mains", "Other", "Others", which allows the label to be based on the namespaces...

Click to read more »
Module:Ns has subpages
Sabtu, 2024-02-17 11:01:43

the -- template as new namespaces are added. local p = {} function p._main(ns, frame) -- Get the current namespace if we were not passed one. if not...

Click to read more »
Module:Submit an edit request/config/sandbox
Sabtu, 2021-07-17 07:34:56

of the Main Page for this wiki. ['main-page'] = 'Main Page', -- The names of pages (and their subpages) that make up the content of the main page for...

Click to read more »
Module:Adjacent stations/Pennsylvania-Reading Seashore Lines
Selasa, 2026-05-12 07:59:10

["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Lindenwold", ["right terminus"] = "Atlantic City", }, ["ACRR Main Line"]...

Click to read more »
Module:Adjacent stations/Adirondack Railroad
Selasa, 2026-03-17 08:14:17

"Union Station (Utica, New York)", }, ["lines"] = { ["Main Line"] = { ["title"] = "Main Line", ["color"] = "66C4EC", ["left terminus"] = "Utica"...

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

categorisation is explicitly requested. return { '^Main Page$', -- don't categorise the main page. -- Don't categorise the following pages or their...

Click to read more »
Module:XfD old/sandbox
Minggu, 2023-07-30 03:07:47

= require("Module:TableTools") local ymd = require("Module:YMD to ISO")._main local lang = mw.getContentLanguage() local function getlog(name) -- Files...

Click to read more »
Module:Video game review score
Senin, 2016-07-11 19:59:37

wikidata') local yesno = require('Module:Yesno') local p = {} function p._main(frame, args) local ret = vgwd.setReviewer(args["reviewer"]) vgwd...

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

luaError("sectionNotFound", section) end local nextSection if mainOnly then nextSection = "\n==.*" -- Main part of section terminates at any level of header else...

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

used on non-template pages. The module has two functions available, all and main. The all function is used to count all parameters specified when using a...

Click to read more »
Module:Pagetype/config
Sabtu, 2026-04-25 07:17:56

as keys to mw.site.namespaces. cfg.pagetypes = { [0] = 'article', -- Main namespace [2] = 'user page', [4] = 'project page', [6] = 'file'...

Click to read more »
Module:Effective protection expiry
Rabu, 2022-02-23 17:59:29

is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename...

Click to read more »
Module:Adjacent stations/Tokyo Metro
Sabtu, 2026-05-09 13:52:43

"Hōnanchō"}, ["right terminus"] = "Ikebukuro", ["types"] = { ["main"] = { ["left terminus"] = "Ogikubo", }, ["branch"] = { ...

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

translator|param_names_get|<page name>|<language tag>}} ]] local params_main_t = { ar = { ['تاريخ الوصول'] = 'access-date', ['تاريخ وصول'] = 'access-date'...

Click to read more »
Module:Infobox television season disambiguation check/sandbox
Selasa, 2026-01-06 18:14:54

-- Internal main ----------------------------------------------------------------------- local function _main(args) local title = args[1]...

Click to read more »
Module:Demo
Rabu, 2024-08-14 09:31:11

and '%[%[Category.-%]%]' or '', ''), frame = frame } end function p.main(frame, demoTable) local show = demoTable or p.get(frame) local args = show...

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

function p.main(frame) local args = getArgs(frame, { trim = true, removeBlanks = false }) return p._main(args) end function p._main(args) local...

Click to read more »
Module:Adjacent stations/Missouri Pacific Railroad
Minggu, 2026-02-15 04:50:12

pacific railway main"] = "El Paso-New Orleans", ["t&p main line"] = "El Paso-New Orleans", ["t&p main"] = "El Paso-New Orleans", ["tp main line"] = "El...

Click to read more »
Module:Large category TOC
Rabu, 2025-10-15 20:40:33

'') local aejot = mw.text.split('aejot','') local function main(toc_type) local toc_frame = mw.html.create('div') :addClass('large-cat-toc')...

Click to read more »
Module:College football conference
Sabtu, 2022-04-16 04:27:03

implements [[Template:College football conference]] local p = {} function p._main(year, school) if school then local data = require('Module:College football...

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

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

Click to read more »
Module:Fiction-based redirects to list entries category handler/sandbox
Jumat, 2026-05-29 14:45:59

require("strict") local p = {} local mainCategory = {name = "Category:{series}", link = "[[Category:{series}|{type}]]"} local secondaryCategoryList...

Click to read more »
Module:Road data/size
Kamis, 2022-12-29 10:41:01

require('Module:Arguments').getArgs local format = mw.ustring.format local function main(args) local style = args.style if style == 'infobox' then return '72px'...

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

an empty table, but *not* nil. function p.main( frame ) -- this block defines the table element p[main] as the _function_ listed below return "Hello...

Click to read more »
Module:Subject bar/sandbox
Senin, 2026-04-13 07:20:19

squeeze out gaps/nils in values, keep ordering return values end function p._main(args) local result = "" local hasPortal = false for key, _ in pairs(args)...

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

main = makeInvokeFunction('_main') function p._main(args) -- The main function. This is the one called from [[Template:User-multi]], -- via p.main...

Click to read more »
Module:Pagetype/sandbox
Jumat, 2026-06-05 02:43:41

for mainspaces pages with an explicit class specified local function getMainNamespaceClassPageType(title, args) local class = args[1] if type(class)...

Click to read more »
Module:Find sources/autodoc/config
Selasa, 2019-06-25 23:49:12

Display value for the wikilink to the main configuration page. ['link-table-main-config-link-display'] = 'main', -- Display value for the wikilink to...

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

is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename...

Click to read more »
Module:Detect singular
Kamis, 2025-10-16 13:01:56

plural (see constants above), or nil for completely unknown function p._main(origArgs) origArgs = type(origArgs) == 'table' and origArgs or {} local...

Click to read more »
Module:Sandbox/Johnuniq/ip
Kamis, 2018-06-21 08:46:17

IP = require('Module:IP') local IPAddress = IP.IPAddress local function main(frame) local results = {} for i, ipstr in ipairs({ '', 'junk', '1...

Click to read more »
Module:Section link/sandbox
Rabu, 2025-10-08 21:03:32

end function p._main(page, sections, options, title) -- Validate input. checkType('_main', 1, page, 'string', true) checkType('_main', 3, options, 'table'...

Click to read more »
Module:Ancient Egypt kings
Sabtu, 2023-09-30 10:28:39

local lang = mw.language.getContentLanguage() local p = {} function p._main( inputYear ) -- Convert the input to an integer if possible. Return "N/A"...

Click to read more »
Module:Wikipedia ads
Senin, 2019-02-25 05:34:26

function p.main(frame) local args = require('Module:Arguments').getArgs(frame, { wrappers = 'Template:Wikipedia ads' }) return p._main(args) end ...

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

is: place.type = { shield = "", name = "", link = "", abbr = "" } The four main fields in a type table are shield, name, link, and abbr. Currently, these...

Click to read more »
Module:Sister project links
Kamis, 2026-04-02 20:52:27

getLogo = require('Module:Sister project logo')._main local sideBox = require('Module:Side box')._main box:wikitext(sideBox({ role = 'navigation'...

Click to read more »
Module:Team appearances list/show
Sabtu, 2016-11-26 10:39:13

current_games .. '==') end lines:add(item.team .. ' (line ' .. item.line .. ') ' .. lister(item)) end return lines:join('\n') end return { main = main }...

Click to read more »
Module:Adjacent stations/Lehigh Valley Railroad
Rabu, 2025-07-30 01:31:17

terminus"] = "Van Etten", }, ["Main Line"] = { ["title"] = "[[Lehigh Line (Norfolk Southern)#Lehigh Valley Railroad|Main Line]]", ["left terminus"]...

Click to read more »
Module:Sandbox/Hike395/AndOr
Rabu, 2024-06-05 20:36:19

function p._main(args) for i = 1, args.max, 2 do if args[i] and args[i+1] then return args[i+1] end end return nil end function p.main(frame) ...

Click to read more »
Module:Large category TOC/sandbox
Kamis, 2024-02-29 08:45:23

'') local aejot = mw.text.split('aejot','') local function main(toc_type) local toc_frame = mw.html.create('div') :addClass('large-cat-toc')...

Click to read more »
Module:Listen/sandbox
Senin, 2025-05-12 07:30:31

:done() :newline() :tag('div') :wikitext(play ~= 'no' and mFileLink._main{ file = filename, size = hasImage and '232px' or '215px', ...

Click to read more »
Module:Tree chart
Selasa, 2024-04-30 22:22:01

p = {} local cells = mw.loadData('Module:Tree chart/data') function p._main(cell_args) local ret = mw.html.create() local top = ret:tag('tr') ...

Click to read more »
Module:Adjacent stations/Alishan Forest Railway
Sabtu, 2024-12-07 05:08:04

["lines"] = { ["_default"] = { ["color"] = "b7182c" }, ["Main"] = { ["title"] = "Main line", ["left terminus"] = "Alishan", ["right terminus"]...

Click to read more »
Module:Respell/sandbox
Kamis, 2019-08-15 00:08:24

local p = {} function p._main(args) local ret = {} for i, v in ipairs(args) do v = mw.text.trim(v) -- Compatibility: Ignore arguments that only...

Click to read more »
Module:Portal bar/sandbox
Jumat, 2025-09-12 20:21:02

"-sand" or s end -- Builds the portal bar used by {{portal bar}}. function p._main( portals, args ) -- check for sensible args args = type(args) == "table"...

Click to read more »
Module:Section link
Minggu, 2024-06-02 21:36:41

end function p._main(page, sections, options, title) -- Validate input. checkType('_main', 1, page, 'string', true) checkType('_main', 3, options, 'table'...

Click to read more »
Module:Adjacent stations/Frankfurt U-Bahn
Kamis, 2024-10-03 23:09:35

= "Frankfurt (Main) Ost station", ["Hbf"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt Hbf]]", ["Hauptbahnhof"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt...

Click to read more »
Module:Table empty cell
Rabu, 2026-05-13 05:43:06

return altText end -- Local function which does the actual main process. function p._main(args) local altText = getAltText(args) local titleText = getTitleText(args...

Click to read more »
Module:Interval
Kamis, 2018-11-29 08:11:27

return nums end function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local n, rule, format...

Click to read more »
Module:Redirect/sandbox/doc
Jumat, 2024-02-16 00:48:53

The 'main' function of this module accepts the name of a single page. It determines if the page is a redirect; if so it looks up the page, extracts the...

Click to read more »
Module:NumberSpell
Selasa, 2014-01-28 19:43:00

'%steen'} } function p.main(frame) local args = getArgs(frame) local num = tonumber(args[1]) local success, result = pcall(p._main, num) if success then...

Click to read more »
Module:Compact list/testcases
Jumat, 2026-02-13 20:34:31

rocess('{{#invoke:Compact list|main|ook|xxx=111}}','') self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|spud=1234}}','A') ...

Click to read more »
Module:Ancient Egypt era
Sabtu, 2023-09-30 10:28:13

local lang = mw.language.getContentLanguage() local p = {} function p._main( inputYear ) -- Convert the input to an integer if possible. Return "N/A"...

Click to read more »
Module:Adjacent stations/Chicago and North Western Railway
Minggu, 2025-09-28 06:38:09

["Livingston"] = wi, ["Lodi"] = wi, ["Madison"]= cnw, ["Main Street"]= "Evanston Main Street station", ["Malta"] = il, ["Manchester"] = sd, ...

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

= require('Module:File link')._main local effectiveProtectionLevel = require('Module:Effective protection level')._main local effectiveProtectionExpiry...

Click to read more »
Module:Automarkup
Senin, 2015-12-14 23:33:54

local p = {} function p.main(frame) local args = frame:getParent().args local templateArgs = { } for key, value in pairs(args) do if type(key)...

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

function p.main(frame) local args = require('Module:Arguments').getArgs(frame, { wrappers = 'Template:Official website' }) return p._main(args) end...

Click to read more »
Module:Compact list
Kamis, 2022-12-29 11:04:30

require('Module:Arguments').getArgs local clist = require('Module:Collapsible list').main local hlist = require('Module:List').horizontal local compressSparseArray...

Click to read more »
Module:If in page
Senin, 2019-07-15 00:59:57

value if absent, -- page - page to test if not this page function p._main(args) if not args["page"] then args.page = mw.title.getCurrentTitle()...

Click to read more »
Module:GHS phrases/sandbox
Rabu, 2026-01-28 23:17:51

------------------------------------------- -- Module:GHS phrases -- -- main: reads GHS parameters (arguments like "H301", "P401") -- and returns for...

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

-------------------------------------------------------------------------------- -- Main functions --------------------------------------------------------------------------------...

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

railwaystation=true, edu=true, pass=true, camera=true } p._main = function(_config) -- accumulate tracking cats local tracking =...

Click to read more »
Module:Team appearances list/show/sandbox
Sabtu, 2016-11-26 10:40:15

current_games .. '==') end lines:add(item.team .. ' (line ' .. item.line .. ') ' .. lister(item)) end return lines:join('\n') end return { main = main }...

Click to read more »
Module:Module wikitext
Selasa, 2020-09-08 00:45:50

local p = {} p.text = '' function p.main() return p.text end function p._addText(text, preprocessFrame) if preprocessFrame ~= false then text =...

Click to read more »
Module:Table row counter
Kamis, 2019-11-14 05:11:54

local getArgs function p.main(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end return p._main(getArgs(frame, {wrappers...

Click to read more »
Module:Namespace detect/sandbox
Sabtu, 2014-04-05 23:58:53

local ret if demospace then -- Handle "demospace = main" properly. if equalsArrayValue(argKeys.main, ustringLower(demospace)) then ret = mw.site.namespaces[0]...

Click to read more »
Module:Adjacent stations/New Hope and Ivyland Railroad
Senin, 2023-10-09 02:36:00

["Warminster"] = septa, }, ["lines"] = { ["Main Line"] = { ["title"] = "[[New Hope Railroad|Main Line]]", ["color"] = "006400", ["left terminus"]...

Click to read more »
Module:No ping/sandbox
Rabu, 2025-12-10 07:34:36

local p = {} function p.main(frame) local args = frame:getParent().args return p._main(args) end function p._main(args) local ret = {} local fullUrl...

Click to read more »
Module:Adjacent stations/Toronto Transit Commission
Kamis, 2026-04-30 02:01:48

replacement station|Lawrence East (future)]]", ["Long Branch Loop"] = "%1", ["Main Street"] = TO, ["Martin Grove"] = "Eglinton Crosstown west extension#Stations"...

Click to read more »
Module:Catalog lookup link
Jumat, 2025-09-12 01:09:00

return out_text end local function main (frame) local args = getArgs (frame); return _main (args, frame) end return {main = main, _main = _main};...

Click to read more »
Module:Module sandbox/doc
Rabu, 2026-05-27 03:47:15

{{#invoke:Module sandbox|function_name}} {{#invoke:Module sandbox|main}} yields: Hello world! sandbox.hello_world( name ) (function) Prints hello world...

Click to read more »
Module:Particles
Selasa, 2018-03-20 11:25:52

group:text() end local function link(frame) return main(frame, true) end local function nolink(frame) return main(frame, false) end return { link = link, ...

Click to read more »
Module:Strip to numbers
Selasa, 2024-05-21 06:33:16

local p = {} function p.main(frame) local theString = mw.text.unstrip(frame.args[1]) local onlyNumber onlyNumber = (string.match(theString, "%-?[%d%...

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

-- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class']...

Click to read more »
Module:PHL sports team
Rabu, 2025-11-19 23:29:42

_rt(args) args['rt'] = 'y' return p._main(args) end function p._name(args) args['icon'] = 'n' return p._main(args) end function p._color(args) local...

Click to read more »
Module:Adjacent stations/Metro-North Railroad
Jumat, 2026-01-16 15:10:54

"Grand Central", ["right terminus"] = "Poughkeepsie", }, ["Hudson main"] = { ["title"] = "[[Hudson Line (Metro-North)|Hudson Line]]", ["color"]...

Click to read more »
Module:Flex columns/sandbox
Jumat, 2021-01-29 00:34:16

end end return cleanArgs end p.main = function(frame) local parent = frame.getParent(frame) local output = p._main(parent.args) return frame:extensionTag{...

Click to read more »
Module:Multi-section link
Senin, 2024-12-09 18:03:49

title.prefixedText else return title.prefixedText end end function p._main(args) -- Sort the arguments. local sections = {} local page = "" for...

Click to read more »
Module:Category handler/testcases
Rabu, 2021-10-06 01:41:19

require('Module:Category handler/sandbox') local chmain = m_category_handler._main local ScribuntoUnit = require('Module:ScribuntoUnit') local suite = ScribuntoUnit:new()...

Click to read more »
Module:Is infobox in lead/sandbox
Senin, 2019-10-07 11:02:05

local p = {} function p.main (frame) return p._main (frame.args[1]) end function p._main (searchString) local content = mw.title.getCurrentTitle():getContent()...

Click to read more »
Module:Adjacent stations/Western Pacific Railroad
Senin, 2026-02-02 05:26:24

"Reno", }, ["Tidewater Southern Railway main line"] = { ["title"] = "[[Tidewater Southern Railway]] main line", ["left terminus"] = "Hotel Stockton"...

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

find(s, '^' .. v .. '$') then return true end end end function p._main(args) local s = args[1] and mw.text.trim(args[1]) local pron = 'a' local...

Click to read more »
Module:Compact list/doc
Jumat, 2024-08-30 03:49:15

{{#invoke:Compact list|main|ook|ook=A|spud=1234}} → A {{#invoke:Compact list|main|ook|ook1=A|ook_2=B}} → A B {{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D}}...

Click to read more »
Module:Template link general/sandbox
Sabtu, 2026-02-07 00:02:18

function p.main(frame) local args = getArgs(frame, { trim = true, removeBlanks = false }) return p._main(args) end function p._main(args) local...

Click to read more »
Module:Adjacent stations/West Chester Railroad
Jumat, 2019-02-22 22:25:32

= pa, ["West Chester"] = wcrr, }, ["lines"] = { ["Main Line"] = { ["title"] = "Main Line", ["color"] = "B52424", ["left terminus"] = "West...

Click to read more »
Module:Ordnance Survey coordinates/doc
Jumat, 2026-05-22 18:49:32

Survey coordinates|main|SK135733}} ← Two-letter code interpreted as OS grid ref in Great Britain {{#invoke:Ordnance Survey coordinates|main|O169318}} ← One-letter...

Click to read more »
Module:Sandbox/Hike395/Compact list/testcases
Kamis, 2020-04-02 12:40:30

list|main|ook|xxx=111}}','') self:preprocess_equals_preprocess('{{#invoke:Sandbox/Hike395/Compact list|main|ook|ook=A|spud=1234}}'...

Click to read more »
Module:User script table row
Rabu, 2021-09-29 07:26:52

loadData('Module:User script table row/data') local p = {} function p._main(args) local code = args.code local doc = args.doc local name = args.name...

Click to read more »
Module:Sandbox/trappist the monk/i18n dates
Senin, 2022-10-24 03:58:59

from the debug console: =p.main ('<lang_tag>') where: <lang_tag> is a language tag know to MediaWiki ]] local function main (lang_tag) local...

Click to read more »
Module:User script table row/sandbox
Rabu, 2021-09-29 07:06:18

loadData('Module:User script table row/data') local p = {} function p._main(args) local code = args.code local doc = args.doc local name = args.name...

Click to read more »
Module:Page assessment/doc
Kamis, 2025-06-05 05:17:27

{{#invoke:Page assessment|main|page name}} Examples {{#invoke:Page assessment|main|Wikipedia}} → B {{#invoke:Page assessment|main|Wiktionary}} → C {{#invoke:Page...

Click to read more »
Module:Highest archive number/testcases
Selasa, 2019-10-08 22:44:16

_main("Talk:Foo/Archive "), nil) end function suite:testArchivesStartingFromOne() existingPages = ARCHIVES_1_TO_5 self:assertEquals(han._main("Talk:Foo/Archive...

Click to read more »
Module:Taxonbar/exists
Kamis, 2024-04-18 18:17:43

or '' local getRegex = require('Module:Template redirect regex').main local tregex = getRegex('Taxonbar') for _, v in pairs (tregex) do local...

Click to read more »
Module:NUMBEROFSECTIONS/doc
Sabtu, 2021-09-25 07:20:07

sections {{ #invoke:NUMBEROFSECTIONS|main| page name [ # page name [ # ... ] ] | level = section level number(s) }} Multiple page names (at least one required)...

Click to read more »
Module:Sandbox/PHansen/Trunc
Senin, 2015-01-05 17:39:10

bogstaveligt, ej som variabel --function p.main( frame ) -- this block defines the table element p[main] as the _function_ listed below -- return...

Click to read more »
Module:If in page/sandbox
Selasa, 2019-07-02 04:59:31

value if absent, -- page - page to test if not this page function p._main(args) if not args["page"] then args.page = mw.title.getCurrentTitle()...

Click to read more »
Module:Ordnance Survey coordinates
Senin, 2026-06-01 06:48:41

function oscoord._main(main_args) local input = main_args[1] if empty(input) then return warning(nil) end local linktitle = main_args[2] local...

Click to read more »
Module:IPAc-en
Senin, 2024-07-08 15:19:47

tracking categories local categoryHandler = require('Module:Category handler').main local categories = {} -- Trims whitespace from a string local function trim(s)...

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

{{#invoke:Excerpt/portals|lead}} Transcludes the lead of an article as an excerpt. Main documentation: {{Transclude lead excerpt/doc}} {{#invoke:Excerpt/portals|linked}}...

Click to read more »
Module:WikiProject banner/sandbox/styles.css
Selasa, 2026-02-17 03:07:26

wpbs .wpb .wpb-main { background-color: #FFFAEF; color:var(--color-base, #202122); padding: 3px 0 3px 0.7em; } .wpb .wpb-main {padding: 3px 5px;}...

Click to read more »
Module:Message box/doc
Jumat, 2025-11-14 23:54:09

messageBox = require('Module:Message box') To create a message box, use the main function. It takes two parameters: the first is the box type (as a string)...

Click to read more »
Module:Adjacent stations/State Rail Authority
Jumat, 2026-01-23 20:32:10

["right terminus"] = "Cootamundra", }, ["Main Northern"] = { ["title"] = "[[Main Northern railway line|Main Northern Line]]", ["color"] = "ff0000"...

Click to read more »
Module:Article history/config/sandbox
Jumat, 2025-12-19 03:09:03

validateMainDate('maindate', 'mainDate', 'mainDateTimestamp') if data.mainDate then validateMainDate('maindate2', 'mainDate2', 'mainDate2Timestamp')...

Click to read more »
Module:Team bracket/doc
Senin, 2024-08-19 21:45:34

bracket | main | rounds = 2 | seeds = no }} {{#invoke: Team bracket | main | rounds = 2 | compact = yes }} {{#invoke: Team bracket | main | rounds =...

Click to read more »
Module:Sandbox/Alex 21
Minggu, 2025-01-12 07:47:31

local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {frameOnly = true}) args = args or {} content = args[1]...

Click to read more »
Module:Page tabs/sandbox
Selasa, 2022-11-29 17:43:56

require('Module:Yesno') local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local makeTab = p.makeTab...

Click to read more »
Module:Adjacent stations/Richmond, Fredericksburg and Potomac Railroad
Selasa, 2025-01-28 05:32:58

Station (Richmond)|Broad Street]]", ["Richmond–Main Street"] = "[[Richmond Main Street Station|Main Street]]", ["Seventh Street"] = "[[L'Enfant Plaza...

Click to read more »
Module:Find country/testcases
Jumat, 2026-02-13 21:15:28

p:test_main() -- self:preprocess_equals('{{#invoke:Find country |main|"France is lovely at this time of year "}}') -- end function p:test_main() ...

Click to read more »
Module:Namespace detect/data/sandbox
Jumat, 2014-09-12 17:50:06

site.subjectNamespaces[0].name mainNsName = mw.ustring.lower(mainNsName) mappings[mainNsName] = mw.clone(argKeys.main) mappings['talk'] = mw.clone(argKeys...

Click to read more »
Module:Adjacent stations/Grand Trunk Western Railroad
Minggu, 2023-10-22 11:03:15

"Detroit", ["right terminus"] = "Port Huron", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Chicago", ["right terminus"]...

Click to read more »
Module:Main page image
Jumat, 2022-09-09 20:42:29

local p = {} local getArgs = require('Module:Arguments').getArgs function p.width(frame) local args = getArgs(frame) return p._width(args) end function...

Click to read more »
Module:GAN link
Jumat, 2016-12-16 10:47:35

local p = {} local function getGANIcon() return require('Module:Icon')._main{'GAN'} end local function makeWikilink(page, display) if display and display...

Click to read more »
Module:Ns has subpages/sandbox
Jumat, 2016-06-17 07:51:09

the -- template as new namespaces are added. local p = {} function p._main(ns, frame) -- Get the current namespace if we were not passed one. if not...

Click to read more »
Module:Sock list
Senin, 2026-04-27 10:31:38

local checkuser = m_checkuser._user function p.main(frame) local args = getArgs(frame) return p._main(frame, args) end function listEntry(frame, args...

Click to read more »
Module:Sandbox/CAS222222221
Senin, 2022-10-24 03:57:44

local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) -- Main module code goes here. end...

Click to read more »
Module:For loop/sandbox
Kamis, 2025-04-03 23:30:37

function p.templatemain(frame) return p.main(frame:newChild{title = "Template:For_loop"}) end function p.main(frame) local args = getArgs(frame, { ...

Click to read more »
Module:Enumerate
Senin, 2024-09-09 00:28:45

function p.main(frame) local args = getArgs(frame, { frameOnly = true, trim = true }) return p._main(frame, args) end function p._main(frame,...

Click to read more »
Module:Sandbox/Luis150902/cleanup/doc
Sabtu, 2017-01-07 05:43:15

{{#invoke:Sandbox/Luis150902/cleanup|main|string}}, where string is the string to be escaped. This eases the editing of wiki markup containing bidirectional...

Click to read more »
Module:Roman/testcases
Rabu, 2018-02-21 05:05:06

variable as it is later used to generate an #invoke statement. local mainFuncName = 'main' local mm = require('Module:' .. moduleName) local suite =...

Click to read more »
Module:Sandbox/Johnuniq/message
Rabu, 2014-02-05 07:22:41

preview following in a sandbox: -- {{#invoke:Sandbox/Johnuniq/message|main}} local cfg = { invalid = 'Input "$1" is not a number', too_big = 'Input...

Click to read more »
Module:Labelled list hatnote/doc
Selasa, 2025-10-28 14:05:19

namespace, so e.g. {{main}} can be implemented thus: {{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} The preprocessDisplays()...

Click to read more »
Module:TaxonList/doc
Minggu, 2026-02-08 04:11:20

name/authority pairs as arguments, since main picks up these arguments from the parent frame. {{#invoke:TaxonList|main|PARAMETERS}} where PARAMETERS may be...

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

prefix..ii or ii] ii = ii + 1 end return patterns end local p = {} p.main = function(frame) local parent = frame.getParent(frame) local parentArgs...

Click to read more »
Module:Sandbox/Hellknowz/CoordDistance
Minggu, 2013-10-13 16:40:49

local main = {} function main.HaversineDistance(frame) local lat1 = frame.args["lat1"] local lon1 = frame.args["lon1"] local lat2 = frame...

Click to read more »
Module:IPAddress/sandbox
Senin, 2025-12-08 09:27:07

function p.main(frame) local args = require("Module:Arguments").getArgs(frame) local sanitizeInput = input(frame) local result = p._main(sanitizeInput)...

Click to read more »
Module:Adjacent stations/TrainOSE
Minggu, 2023-08-06 01:14:46

["Acharnes (SKA)"] = ska, ["SKA"] = ska, ["Belgrade"] = "[[Belgrade Main railway station|Belgrade]]", ["Sofia"] = "[[Sofia Central Station|Sofia]]"...

Click to read more »
Module:Adjacent stations/Norfolk and Western Railway
Jumat, 2026-04-03 07:08:20

= { ["_default"] = { ["color"] = "000000", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Cincinnati", ["right terminus"]...

Click to read more »
Module:Adjacent stations/Boston Surface Railroad
Selasa, 2019-04-09 19:09:28

Station (Worcester, Massachusetts)", }, ["lines"] = { ["Main"] = { ["title"] = "Main Line", ["note-mid"] = "Proposed", ["color"] = "096BB3"...

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

documentation. However, it can also be called using the syntax {{#invoke:shortcut|main|arguments}}. To use this module from Lua, first load it. local mShortcut...

Click to read more »
Module:High-use
Kamis, 2025-10-09 03:24:46

text = p._text(args), expiry = (args['expiry'] or '') }) .. epilogue end end function p.main(frame) return p._main(getArgs(frame)) end return p...

Click to read more »
Module:Article stub box/sandbox
Senin, 2026-03-23 03:12:33

User:Mr._Stradivarius provided a great deal of assistance in writting p.main() p.main() draw heavily from the following version of Template:Asbox of the English...

Click to read more »
Module:NumberSpell/doc
Senin, 2017-04-17 18:49:51

{{#invoke:NumberSpell|main|number}} {{#invoke:NumberSpell|main|8}} → eight {{#invoke:NumberSpell|main|56}} → fifty-six {{#invoke:NumberSpell|main|101}} → Error:...

Click to read more »
Module:Highest archive number/sandbox
Selasa, 2019-10-01 22:01:53

title.new(page).exists end) return success and exists end function p._main(prefix, start) -- Check our inputs if type(prefix) ~= 'string' or not prefix:find('%S')...

Click to read more »
Module:DYK checklist/sandbox
Minggu, 2025-10-05 13:07:15

local issues = {} -- Add main issues options.mainIssues = options.mainIssues or {} for i, t in ipairs(options.mainIssues) do local checklistItem...

Click to read more »
Module:Demography
Minggu, 2025-05-11 22:39:20

-- Main functions ---------------------------------------------------------------------------- function p.main(frame) local args =...

Click to read more »
Module:EditAtWikidata/testcases
Minggu, 2018-08-19 17:39:07

'Universe, main category{{#invoke:EditAtWikidata/sandbox|showMessage|qid=Q1|pid=P910}}', 'Universe, main category{{#invoke:EditA...

Click to read more »
Module:Excerpt/config
Rabu, 2026-06-03 04:49:24

'[Mm]ain ?[Aa]rticles?', 'MAIN', '[Mm]ain page', '[Ss]ee ?main', '[Rr]ead ?main', '[Ff]ull article', '[Hh]urricane main', '[Cc]omprehensive', '[Mm]ultiple...

Click to read more »
Module:If any equal/doc
Kamis, 2025-12-11 00:31:32

This main function of this module checks all positional parameters to see if any of them is equal to the parameter |value=. If so, it will output "yes"...

Click to read more »
Module:Module sandbox
Jumat, 2026-04-17 06:28:44

"Hello world!" end --- Main entrypoint. -- @function p.main -- @param {table} frame calling frame -- @return output wikitext p.main = function(frame) local...

Click to read more »
Module:Adjacent stations/St. Louis Southwestern Railway
Sabtu, 2025-06-14 12:31:46

= { ["_default"] = { ["color"] = "e30000", }, ["Main"] = { ["title"] = "Main Line", ["left terminus"] = "Gatesville", ["right terminus"]...

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

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

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

{{userbox}}. local categoryHandler = require('Module:Category handler').main local p = {} ---------------------------------------------------------...

Click to read more »
Module:Tree chart/sandbox
Selasa, 2024-04-30 20:27:16

local cells = mw.loadData('Module:Tree chart/data/sandbox') function p._main(cell_args) local ret = mw.html.create() local top = ret:tag('tr') ...

Click to read more »
Module:Adjacent stations/Morristown and Erie Railroad
Senin, 2025-02-10 02:29:37

["Monroe"] = nj, ["Roseland"] = nj, }, ["lines"] = { ["Main Line"] = { ["title"] = "Main Line", ["color"] = "f90006", ["left terminus"] = "Morristown"...

Click to read more »
Module:WikiProject assessment progression
Kamis, 2026-01-29 23:37:42

return default end end function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local project = arg_or_default(args...

Click to read more »
Module:Wikipedia ads/doc
Selasa, 2025-12-02 06:38:33

However, it is also possible to use the syntax {{#invoke:wikipedia ads|main|...}}, where "..." are the template arguments. See the template page for...

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

{{table row counter}} template, by simply using {{#invoke:table row counter | main}} in place of {{table row counter}}. To use this module from other Lua modules...

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

main function. Called from other Lua modules. -------------------------------------------------------------------------------------- function p.main(funcName...

Click to read more »
Module:Mass notification
Selasa, 2015-09-08 04:50:23

data.group_page, groupName) else return groupName end end function p._main(groupName) -- Validate input. if type(groupName) ~= 'string' then return...

Click to read more »
Module:Adjacent stations/Cincinnati Subway
Senin, 2022-01-31 01:47:15

station", ["Race Street"] = cs, }, ["lines"] = { ["Main Line"] = { ["title"] = "Main Line", ["color"] = "FAFAFA", ["left terminus"] = "Clifton...

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

end return nil end }) --Call main function return p.luaMain(frame,args) end function p.luaMain(frame,args) local function emp2nil(x) ...

Click to read more »
Module:Adjacent stations/Chicago, Peoria and St. Louis Railroad
Jumat, 2019-08-16 04:02:56

= { ["_default"] = { ["color"] = "000000", }, ["Main"] = { ["title"] = "Main Line", ["left terminus"] = "St. Louis", ["right terminus"]...

Click to read more »
Module:Redirect/sandbox/testcases
Sabtu, 2013-11-23 00:28:35

require('Module:UnitTests') function p:test_main() self:preprocess_equals('{{#invoke:Redirect/sandbox|main|WP:AFC}}', 'Wikipedia:Articles for creation')...

Click to read more »
Module:Adjacent stations/VIAS
Selasa, 2026-01-27 09:16:44

["Düsseldorf"] = hbf, ["Frankfurt"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt (Main) Hbf]]", ["Frankfurt (Main)"] = hbf, ["Essen"] = hbf, ["Gelsenkirchen"]...

Click to read more »
Module:Portal bar/doc
Jumat, 2023-05-12 03:10:52

For the current difference in CSS between Sandbox and Main, see here. {{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...|border=''no''}} Positional...

Click to read more »
Module:Adjacent stations/Amtrak
Jumat, 2026-05-29 10:02:01

Station Historic District", }, ["Richmond Main Street"] = "[[Richmond Main Street Station|Richmond–Main Street]]", ["Richmond-Broad Street"] = "[[Broad...

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

names and authorities, appropriately formatted. Usage: {{#invoke:TaxonList|main |italic = yes - to italicize the taxon name |linked = yes - to wikilink the...

Click to read more »
Module:Clickable button
Sabtu, 2024-07-27 05:19:50

function p.main(frame) local getArgs = require('Module:Arguments').getArgs local args = getArgs(frame) return p._main(args) end function p._main(args)...

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

end local sortedTitles = nonRandom and titlesSequence or randomModule.main('array', {t=titlesSequence, limit=limit}) for _i, title in ipairs(sortedTitles)...

Click to read more »
Module:Adjacent stations/Swiss Federal Railways
Selasa, 2025-12-16 19:43:47

["Annemasse"] = stn, ["Pontarlier"] = stn, ["Frasne"] = stn, ["Frankfurt (Main)"] = hbf, ["Graz"] = hbf, ["Meroux"] = "Belfort – Montbéliard TGV station"...

Click to read more »
Module:Multiple releases/testcases
Jumat, 2021-12-24 22:51:58

self:preprocess_equals_many('{{#invoke:Multiple releases/sandbox|main|', '}}', { {'software=Q71483|version_type=stable|platforms=android,ios...

Click to read more »
Module:PTV route
Minggu, 2023-01-22 17:01:23

wrappers = wrappers, }) return func(args) end end p.main = makeInvokableFunction(p._main, 'Template:PTV route') p.cite = makeInvokableFunction(p._cite...

Click to read more »
Module:IPAc-en/sandbox
Sabtu, 2025-09-06 21:24:47

tracking categories local categoryHandler = require('Module:Category handler').main local categories = {} -- Trims whitespace from a string local function trim(s)...

Click to read more »
Module:Adjacent stations/New York and Long Branch Railroad
Rabu, 2019-02-20 08:45:50

["Morgan"] = nj, ["West End"] = nj, }, ["lines"] = { ["Main Line"] = { ["title"] = "Main Line", ["color"] = "B52424", ["left terminus"] = "Bay...

Click to read more »
Module:Is infobox in lead/doc
Jumat, 2024-08-30 05:00:07

redirect pattern, e.g.: {{#invoke:Is infobox in lead|main|[Ii]nfobox [Ss]ong}}{{#invoke:Is infobox in lead|main|[Ii]nfobox [Ss]ingle}} Redirects can be found...

Click to read more »
Module:Suppress categories/testcases
Sabtu, 2013-07-06 08:08:09

require('Module:UnitTests') function p:test_main() self:preprocess_equals_many('{{#invoke:Suppress categories|main|', '}}', { {'foo', 'foo'}, ...

Click to read more »
Module:Ordnance Survey coordinates/sandbox
Senin, 2026-06-01 15:56:31

function oscoord._main(main_args) local input = main_args[1] if empty(input) then return warning(nil) end local linktitle = main_args[2] local...

Click to read more »
Module:Sandbox/Hike395/OS coordinates/testcases
Senin, 2019-08-19 06:34:23

'SK135733' self:preprocess_equals('{{#invoke:Sandbox/Hike395/OS coordinates | main | '..os..'}}', geohack..GBloc..'_region:GB'..pagename..' '..os..']') end...

Click to read more »
Module:Parameter names example/sandbox
Kamis, 2020-03-26 10:42:46

"''" .. s .. "''" end local function plain(s) return s end function p._main(args, frame) -- Find how we want to format the arguments to the template...

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

'<span class="ace-banner-placeholder">Voter log</span>' end end function p._main(args) -- Get data for the box, plus the box title. local year = args.year...

Click to read more »
Module:Xpsoc
Senin, 2014-11-24 11:14:42

mTemplateInvocation = require('Module:Template invocation') local p = {} function p._main(args, frame) frame = frame or mw.getCurrentFrame() -- Get the invocation...

Click to read more »
Module:Adjacent stations/New York, Susquehanna and Western Railroad
Rabu, 2024-05-08 04:31:34

{ ["_default"] = { ["color"] = "FFCC00", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Stroudsburg", ["right terminus"]...

Click to read more »
Module:Random slideshow/sandbox
Minggu, 2024-08-18 18:07:29

= 50 end local sortedLines = nonRandom and galleryLines or randomModule.main('array', randomiseArgs) for i = 1, #sortedLines do -- insert a switcher-label...

Click to read more »
Module:User/sandbox
Kamis, 2025-07-10 04:35:42

if arg ~= '' then return arg else return nil end end function p.main(frame, opts) -- Grab the user, project and lang args from wikitext. local...

Click to read more »
Module:Table empty cell/doc
Kamis, 2025-09-25 05:09:23

{{#invoke:Table empty cell|main}} → TBA {{#invoke:Table empty cell|main|alt_text=TBD }} → TBD {{#invoke:Table empty cell|main|alt_text=N/A |title_text=title...

Click to read more »
Module:Uses TemplateStyles
Senin, 2026-02-16 08:11:16

just the "(sandbox)" suffix using the i18n message, without duplicating the main link. local function makeSandboxSuffix(tsSandboxPrefixed) -- i18n message...

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

However, it can also be used with the syntax {{#invoke:Clickable button|main|arguments}}. Please see the template page for a list of available parameters...

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

require('Module:Lua banner') You can then generate a side box using the _main function. mLuaBanner._main(args) The args variable should be a table containing the arguments...

Click to read more »
Module:Adjacent stations/Union Pacific Railroad
Minggu, 2026-01-04 23:08:31

terminus"] = "Los Angeles", ["right terminus"] = "Salt Lake City", }, ["Main Line"] = { ["title"] = "[[Overland Route (Union Pacific Railroad)|Overland...

Click to read more »
Module:Mock title/testcases
Jumat, 2024-05-24 21:30:40

MOCK_MAIN_PAGE_ARGS = { title = 'Main Page', content = 'Mock main page content: 38fgbhqwu8adb', } local MOCK_MAIN_PAGE = mMockTitle.MockTitle(MOCK_MAIN_PAGE_ARGS)...

Click to read more »
Module:Pagetype/config/sandbox
Sabtu, 2025-10-11 04:05:11

as keys to mw.site.namespaces. cfg.pagetypes = { [0] = 'article', -- Main namespace [2] = 'user $1', [4] = 'project $1', [6] = 'file',...

Click to read more »
Module:Sandbox/Hike395/Compact list
Kamis, 2020-04-02 06:57:33

require('Module:Arguments').getArgs local clist = require('Module:Collapsible list').main local compressSparseArray = require('Module:TableTools').compressSparseArray...

Click to read more »
Module:Bot task
Senin, 2023-07-17 04:36:46

require('Module:Arguments').getArgs local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end local function error(text) return '*'...

Click to read more »
Module:Number table sorting
Senin, 2019-06-10 02:39:47

categorise in the main namespace ret = ret .. '[[Category:Nts templates with errors]]' end return ret end end function p.main(frame) local args...

Click to read more »
Module:Multi-section link/sandbox
Senin, 2024-12-09 18:00:44

title.prefixedText else return title.prefixedText end end function p._main(args) -- Sort the arguments. local sections = {} local page = "" for...

Click to read more »
Module:European and national party data/testcases
Jumat, 2025-04-25 20:36:41

p:test_main() -- number of seats of a single European party in an institution self:preprocess_equals('{{#invoke:European and national party data|main...

Click to read more »
Module:Adjacent stations/Nickel Plate Road
Kamis, 2024-03-07 09:54:36

{ ["color"] = "0e007e", }, ["Nickel Plate"] = { ["title"] = "Main Line", ["left terminus"] = "Chicago", ["right terminus"] = "Buffalo"...

Click to read more »
Module:Pagelist/sandbox
Rabu, 2026-06-03 08:24:40

endDelim ), ':+', ':' ) end return outStr end function p._main(args) local t = {} local separator = getSeparator(args.separator) local...

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

However, it can also be used with the syntax {{#invoke:DYK nompage links|main|arguments}}. See Template:DYK nompage links for a list of arguments. To use...

Click to read more »
Module:Caselist
Kamis, 2017-06-15 06:35:24

'[[%1|<span class="wrap">%2</span>]]') end return s end function p._main(args) local nargs = {} -- Navbox args -- Cases do local caseNums =...

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

{{#invoke:Based on|lua_main|Work name|Writer 1|Writer 2|...}} To call it from a template, passing on the arguments from it: {{#invoke:Based on|main}}...

Click to read more »
Module:Article by Quality and Importance
Jumat, 2022-10-21 14:03:31

return queryStr end function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local text = mw.title...

Click to read more »
Module:Fiction-based redirects to list entries category handler/doc
Selasa, 2025-11-25 18:54:53

the above categories. Place the category as a sub-category of a relevant main category or a media specific one if |media= is used: Category:Episode redirects...

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

end end return hasSubArgs and p._navbox(subArgs) or listText end -- Main functions function p._navbox(args) if args.type == cfg.keyword.with_collapsible_groups...

Click to read more »
Module:If any equal/testcases
Senin, 2025-01-06 18:53:50

self:preprocess_equals('{{#invoke:If any equal|main|a|b|c|d|value=c}}', 'yes') self:preprocess_equals('{{#invoke:If any equal|main|a|b|c|d|value=r}}', 'no') ...

Click to read more »
Module:Adjacent stations/Hessische Landesbahn
Rabu, 2024-11-13 12:36:44

["Darmstadt"] = hbf, ["Frankfurt"] = "[[Frankfurt (Main) Hauptbahnhof|Frankfurt (Main) Hbf]]", ["Frankfurt (Main)"] = hbf, ["Hanau"] = hbf, ["Kassel"] =...

Click to read more »
Module:Is instance/testcases
Selasa, 2023-05-16 00:23:51

require('Module:UnitTests') function p:test_main() self:preprocess_equals('{{#invoke:Is instance | main | qid=Q847672 | value=Q11446}}', '5') ...

Click to read more »
Module:Portal image banner/doc
Minggu, 2023-11-19 08:58:08

will not work when used directly (as {{#invoke:Portal image banner|main}}). Rather it is advisable that the main template Portal image banner is used....

Click to read more »
Module:Build bracket/doc
Senin, 2025-08-25 19:01:48

simpler than using the standard wikitable code. {{#invoke:Build bracket|main | rounds = | col1-headers = | col1-matches = | col2-headers = | col2-matches...

Click to read more »
Module:Mapframe KML
Selasa, 2019-10-01 22:07:35

local p = {} function p.main(frame) local args = frame.args if args['KML'] then args['raw'] = frame:expandTemplate{title = 'Wikipedia:Map data/Wikipedia...

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

local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k,...

Click to read more »
Module:Syrian and Iraqi insurgency detailed map
Sabtu, 2025-02-15 17:29:20

gif|11px]] main_rebels/SDF *[[File:80x80-lime-grey-anim.gif|11px]] main_rebels/HTS *[[File:80x80-lime-black-anim.gif|11px]] main_rebels/ISIL...

Click to read more »
Module:Portal toolbox
Jumat, 2020-11-06 06:00:12

args, tbl, 'Templates', 'template', '', add_template_row) add_section(frame, args, tbl, 'Other', 'other', '') return tbl end p.main = main return p...

Click to read more »
Module:Adjacent stations/Central Railroad of New Jersey
Jumat, 2026-03-27 03:42:26

"Scranton", ["right terminus"] = "Phillipsburg", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Scranton", ["right terminus"]...

Click to read more »
Module:Adjacent stations/New York Central and Hudson River Railroad
Jumat, 2022-07-15 08:29:25

= { ["_default"] = { ["color"] = "808080", }, ["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Chicago", ["right terminus"]...

Click to read more »
Module:Marriage/testcases
Minggu, 2025-10-26 10:18:59

test. function p:tests() self:preprocess_equals('{{#invoke:Marriage | main | Name | 1910 | 1950 | end=divorced }}', 'Name (<abbr title="married">m.</abbr>...

Click to read more »
Module:Sister project links/sandbox
Kamis, 2026-04-02 20:45:34

getLogo = require('Module:Sister project logo')._main local sideBox = require('Module:Side box')._main box:wikitext(sideBox({ role = 'navigation'...

Click to read more »
Module:IPAc-en/data
Jumat, 2015-06-19 18:38:13

newData[alias] = new end end end return newData end local function main() local pronunciation = makeData(require(PRONUNCIATION_MODULE)) local phonemes...

Click to read more »
Module:European and national party data/sandbox/testcases
Rabu, 2025-11-19 19:21:13

page to run tests. local p = require('Module:UnitTests') function p:test_main() -- number of seats of a single European party in an institution ...

Click to read more »
Module:File link/doc
Jumat, 2024-08-30 04:20:29

link|main|arguments}}. First, you need to import the module. local mFileLink = require('Module:File link') Then you can make file links using the _main function...

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

"Ontario Highway %route%.svg", below = "Ontario %route%.svg" } }, -- Main shield without route (TCH etc.) shields shieldlist = { ["Allen"] = ""...

Click to read more »
Module:Detect singular/sandbox
Kamis, 2025-10-16 12:59:12

plural (see constants above), or nil for completely unknown function p._main(origArgs) origArgs = type(origArgs) == 'table' and origArgs or {} local...

Click to read more »
Module:Transclusion count/data/M
Minggu, 2026-05-31 12:14:12

2100, ["Main"] = 387000, ["Main_article"] = 28000, ["Main_category"] = 2000, ["Main_other"] = 12600000, ["Main_page_image"] = 33000, ["Main_page_image/DYK"]...

Click to read more »
Module:Portal image banner/sandbox
Minggu, 2021-11-21 21:50:21

local p = {} local randomModule = require('Module:Random') p.main = function(frame) local parent = frame.getParent(frame) local parentArgs = parent...

Click to read more »
Module:Adjacent stations/Seaboard Air Line Railroad
Selasa, 2025-02-25 23:13:40

Building", ["Raleigh"] = sal, ["Redland"] = fl, ["Richmond"] = "Richmond Main Street Station", ["Rockingham"] = nc, ["Sanford"] = nc, ["Savannah"]...

Click to read more »
Module:Find sources/doc
Kamis, 2024-10-17 00:11:21

true if the template will be used in the main namespace. If this is not set, when the template is used in the main namespace it will produce an error and...

Click to read more »
Module:Table template counter/sandbox
Senin, 2022-07-18 16:52:56

local getArgs function p.main(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end return p._main(getArgs(frame, {wrappers...

Click to read more »
Module:Adjacent stations/Sotetsu
Kamis, 2026-03-26 09:44:57

["lines"] = { ["Main"] = { ["icon"] = "[[File:Sotetsu line symbol.svg|18px|link=Sōtetsu Main Line]]", ["title"] = "[[Sōtetsu Main Line]]", ["color"]...

Click to read more »
Module:For nowiki/doc
Minggu, 2025-03-09 23:31:29

a foreach loop that can be used from wikitext. It exports two functions: main - Implements {{For nowiki}}, which can be used with explicitly provided parameters...

Click to read more »
Module:Autovirusbox/doc
Jumat, 2024-08-30 03:22:51

following templates: Template:Children rank Template:Is italic taxon Template:Main other Template:Taxobox colour Template:Taxobox/core Template:Taxon info This...

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

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

Click to read more »
Module:Sandbox/Ahecht/sandbox
Kamis, 2018-03-22 00:14:01

local p = {} local function _main(args) return true end function p.main(frame) local mwSite = '' for k,v in pairs(mw.site) do mwSite = mwSite ....

Click to read more »
Module:GANList3
Sabtu, 2022-10-22 05:03:51

local issues = {} -- Add main issues options.mainIssues = options.mainIssues or {} for i, t in ipairs(options.mainIssues) do local checklistItem...

Click to read more »
Module:Portal pictures/sandbox
Jumat, 2021-11-19 06:59:31

isSubpage then return gallery(frame) else return slideShow(frame) end end p.main = main p.slideShow = slideShow p.gallery = gallery return p...

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

railwaystation=true, edu=true, pass=true, camera=true } p._main = function(_config) -- accumulate tracking cats local tracking =...

Click to read more »
Module:Protect/doc
Rabu, 2022-09-21 04:14:07

p.main(frame) if not frame.args[1] then error('missing argument') end return frame.args[1] end p.main = protect(p.main) return p Invoking the main function...

Click to read more »
Module:ArgRest/testcases
Minggu, 2023-04-16 02:33:46

'<nowiki>{{#invoke:ArgRest|main|<nowiki>{{{1}}}&lt;/nowiki>|1}}</nowiki>|a|b|c}}', 'abc') self:preprocess_equals(pre .. '<nowiki>a{{#invoke:ArgRest|main|<nowiki> +...

Click to read more »
Module:European and national party data/sandbox/testcases composition bar
Rabu, 2025-11-19 17:03:53

page to run tests. local p = require('Module:UnitTests') function p:test_main() -- composition bar -- testing output for a European party ...

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

builder:tag('table') :addClass('infobox vevent') :cssText(infoboxStyle.main_box_raw) :css('width', self.args.width or nil) builder:tag('tr') :tag('th')...

Click to read more »
Module:WikiProject assessment progression/sandbox
Kamis, 2026-01-29 23:34:37

return default end end function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local project = arg_or_default(args...

Click to read more »
Module:Table row counter/sandbox
Jumat, 2025-08-29 01:46:51

local getArgs function p.main(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end return p._main(getArgs(frame, {wrappers...

Click to read more »
Module:YIQtoRGB/testcases
Jumat, 2026-02-06 07:59:40

'{{#invoke:YIQtoRGB|main|0|0|0}}', '#000000', 'Black' ) self:preprocess_equals( '{{#invoke:YIQtoRGB|main|1|0|0}}', ...

Click to read more »
Module:GHS phrases/testcases
Selasa, 2021-11-30 02:16:41

require('Module:UnitTests') -- Example unit test. function p:test_main() self:preprocess_equals('{{#invoke:GHS phrases|main|H300}}', 'H300') end return p...

Click to read more »
Module:Table template counter
Rabu, 2023-04-19 18:56:34

local getArgs function p.main(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end return p._main(getArgs(frame, {wrappers...

Click to read more »
Module:Escape/doc
Jumat, 2025-06-27 22:53:11

chars local result = esc:undo(to_escape) From a template: {{#invoke:Escape|main|mode=function|char=escape char (or sequence)|text}} In a template, the most...

Click to read more »
Module:Protection banner/testcases
Senin, 2026-03-09 22:37:23

_main(args, cfg, title), 'page is a user script') end function suite:test_mainCategories() local args = {} local cfg -- Use main config module...

Click to read more »
Module:Tone superscript
Jumat, 2019-01-25 04:24:28

local p = {} function p.main(frame) local root = mw.html.create() local arg = frame:getParent().args[1] or "" local x = arg:gsub("%f[%d%s]([%d\*]+)"...

Click to read more »
Module:Protection banner/config/testcases
Rabu, 2024-02-28 08:50:30

--------------------------------- function suite:testCategory_edit_semi_main_dispute_all() self:assertProtectionCategoryEquals('Wikipedia pages semi-protected...

Click to read more »
Module:Sports results/blank/doc
Rabu, 2024-09-11 22:20:29

{{subst:#invoke:Sports results/blank|main | team_order = AAA, BBB, CCC, .... }} or {{subst:#invoke:Sports results/blank|main | team1 = AAA | team2 = BBB | team3...

Click to read more »