Search results
Jump to navigation
Jump to search
- Module:No globals (category Modules subject to page protection)error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Tried to write global307 bytes (54 words) - 15:12, 15 August 2014
- Module:Yesno (category Modules subject to page protection)consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses678 bytes (104 words) - 15:12, 15 August 2014
- Module:Navbar (category Modules subject to page protection)ustring.sub(pageName, 2)); else page_title = mw.title.new(pageName, 'Template'); end if page_title then talk_page_title = page_title.talkPageTitle;3 KB (437 words) - 15:12, 15 August 2014
- Module:HtmlBuilder (category Modules subject to page protection)-- Module for building complex HTML (e.g. infoboxes, navboxes) using a fluent interface. local HtmlBuilder = {} local metatable = {} metatable.__index4 KB (535 words) - 15:11, 15 August 2014
- Module:Navbox (category Modules subject to page protection)i.e. wants the title to be shifted to the left. If there's -- also no show/hide link, then we need a spacer on the right to achieve the left shift12 KB (1,332 words) - 15:12, 15 August 2014
- Module:Infobox (category Modules subject to page protection)the argument exists and isn't blank, add it to the argument table. -- Blank arguments are treated as nil to match the behaviour of ParserFunctions.13 KB (1,405 words) - 15:11, 15 August 2014
- Module:Math (category Modules subject to page protection)returned from #invoke, and functions to make available to other Lua modules. local wrap = {} -- Holds wrapper functions that process arguments from #invoke12 KB (1,862 words) - 15:14, 15 August 2014
- Module:Message box (category Modules subject to page protection)a talk page, make a link to that page. Else -- assume that it's a section heading, and make a link to the talk -- page of the current page with that17 KB (2,378 words) - 15:11, 15 August 2014
- Module:Location map (category Modules subject to page protection)the map to the right equals distanceFromLeft - width. the distance needed past the map to the left equals 360 - distanceFromLeft. to minimize page stretching16 KB (2,240 words) - 15:14, 15 August 2014
- Module:No globals/doc (category Pages with script errors)This module causes an error if any nil global is read or if any global is written to, with the exception of arg. To use, add require('Module:No globals')846 bytes (59 words) - 12:55, 28 August 2014
- Module:Location map/doc (category Pages with script errors)This module implements the {{Location map}}, {{Location map+}}, {{Location map~}}, and {{Location map many}} templates. Please see the template pages for433 bytes (23 words) - 12:55, 28 August 2014
- Module:Infobox/doc (category Pages with script errors)This module implements the {{Infobox}} template. Please see the template page for usage instructions.271 bytes (14 words) - 11:23, 18 August 2014
- Module:Navbox/doc (category Pages with script errors)This module implements the {{Navbox}} template. Please see the template page for usage instructions.157 bytes (14 words) - 12:55, 28 August 2014
- Module:Navbar/doc (category Pages with script errors)This is a Lua implementation of {{navbar}}. It is used in Module:Navbox.165 bytes (12 words) - 12:55, 28 August 2014
- This module provides a number of mathematical functions. These functions can be used from #invoke or from other Lua modules. To use the module from normal5 KB (716 words) - 12:55, 28 August 2014
- Module:Message box/doc (category Pages with script errors)intended to be used from Lua modules, and should not be used directly from wiki pages. If you want to use this module's functionality from a wiki page, please5 KB (635 words) - 12:55, 28 August 2014
- Module:Yesno/doc (category Pages with script errors)below) always evaluates to either true or false, and nil always evaluates to nil. Other values evaluate to default. First, load the module. Note that it can3 KB (429 words) - 12:55, 28 August 2014
- Module:HtmlBuilder/doc (category Pages with script errors)should look familiar to any user of jQuery. Note: This module is deprecated in favour of mw.html. First, you need to load the module: local HtmlBuilder =3 KB (400 words) - 12:55, 28 August 2014
- parameter. It is sorted by protection action, -- protection level, and whether the page is a talk page or not. If the page is -- a talk page it will have a talk43 KB (4,814 words) - 09:11, 6 October 2014
- Module:Protection banner (category Pages using deprecated source tags)----- -- Protection class -------------------------------------------------------------------------------- local Protection = {} Protection.__index =26 KB (3,045 words) - 09:11, 6 October 2014