Module:Navbox with collapsible groups: Revision history

Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.

17 November 2021

  • curprev 18:5218:52, 17 November 2021Back ache talk contribs 3,662 bytes +3,662 Created page with "-- This module implements {{Navbox with collapsible groups}} local q = {} local Navbox = require('Module:Navbox') -- helper functions local function concatstrings(s) local r = table.concat(s, '') if r:match('^%s*$') then r = nil end return r end local function concatstyles(s) local r = table.concat(s, ';') while r:match(';%s*;') do r = mw.ustring.gsub(r, ';%s*;', ';') end if r:match('^%s*;%s*$') then r = nil end return r end function q._navbox(pargs) -- tab..."