Search results
Appearance
There is a page named "Module:Image array" on Wikipedia
- [[template:image array]] local p = {} local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end local function renderArrayCell( img...3 KB (413 words) - 05:44, 3 November 2022
- [[template:image array]] local p = {} local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end local function renderArrayCell( img...3 KB (411 words) - 20:14, 16 April 2023
- Implements {{image array}}...29 bytes (3 words) - 02:14, 25 February 2019
- max(widthmax, widthsum[r]) end end -- start building the array of images, if there are images if( imagecount > 0 ) then -- compute width of outer div...9 KB (1,300 words) - 00:01, 19 June 2024
- max(widthmax, widthsum[r]) end end -- start building the array of images, if there are images if( imagecount > 0 ) then -- compute width of outer div...9 KB (1,300 words) - 21:51, 18 June 2024
- makeOutput(imageLines, overflow, maxHeight, mode, croptop) local randomiseArgs = { ['t'] = imageLines } local randomisedLines = randomModule.main('array', randomiseArgs...3 KB (373 words) - 20:55, 2 April 2023
- -- sets length of image array to the number of icons local toc = "<div style='margin-bottom:4em;'>" .. require('Module:Image array')._imagearray(toc_args)...8 KB (983 words) - 22:39, 2 June 2024
- else local imageDataArray, length if args[1] then imageDataArray = {} for i, id in ipairs(args) do imageDataArray[#imageDataArray + 1] = getSomeImageData(id...6 KB (737 words) - 22:34, 24 February 2019
- sets length of image array to the number of icons toc = "<div style='margin-bottom:4em;'>" .. frame:expandTemplate{ title='Image_array', args = toc_args...8 KB (998 words) - 03:31, 19 January 2021
- else local imageDataArray, length if args[1] then imageDataArray = {} for i, id in ipairs(args) do imageDataArray[#imageDataArray + 1] = getSomeImageData(id...6 KB (737 words) - 16:13, 11 June 2023
- insert(slideShowArgs, image) table.insert(slideShowArgs, text) end end if #images > 0 then local randomImages = randomModule.main('array', {t=images, limit=limit})...7 KB (878 words) - 00:00, 19 November 2021
- require('Module:TableTools') local p = {} local function getImageKeyArray() -- Returns an array containing all image subpages (minus aliases) as loaded by mw.loadData...2 KB (303 words) - 00:57, 7 March 2014
- supplied by the user. -- * articles - an array of the article names found in the arguments. -- * authors - an array of the expanders/creators/writers/authors...16 KB (2,156 words) - 02:06, 9 May 2024
- makeOutput(imageLines, overflow, maxHeight, mode, croptop) local randomiseArgs = { ['t'] = imageLines } local randomisedLines = randomModule.main('array', randomiseArgs...3 KB (389 words) - 14:50, 21 November 2021
- monarch}} template. Also, the functions fromArray and fromArgs can be called from another module like so: fromArray receives the full list of arguments of...983 bytes (83 words) - 01:03, 8 December 2022
- supplied by the user. -- * articles - an array of the article names found in the arguments. -- * authors - an array of the expanders/creators/writers/authors...16 KB (2,136 words) - 16:54, 9 March 2024
- function newObject(array) local obj = {} -- new object obj.str = "" array[#array + 1] = obj -- array{object} obj.parent = array return obj ...71 KB (9,370 words) - 09:41, 26 August 2024
- function getAllImageTable() -- Returns an array containing all image subpages (minus aliases) as loaded by mw.loadData. local images = {} for i, subpage...16 KB (2,340 words) - 01:44, 23 May 2024
- end return p.luaMain(args) end function p.luaMain(args) -- Make an array of list items. local items = {} for k, v in pairs(args) do local heading...2 KB (282 words) - 03:18, 12 June 2014
- -------------------- function suite:assertArrayContainsString(expected, t) -- This only works on arrays that only contain strings. local sep = '|SEPARATOR|'...15 KB (1,647 words) - 07:01, 2 June 2014
- max(widthmax, widthsum[r]) end end -- start building the array of images, if there are images if( imagecount > 0 ) then -- compute width of outer div
- defaultnsNone then defaultnsArray = {} else defaultnsArray = cfg.defaultNamespaces end for _, namespace in ipairs(defaultnsArray) do ndArgs[namespace]
- max(widthmax, widthsum[r]) end end -- start building the array of images, if there are images if( imagecount > 0 ) then -- compute width of outer div