Module:NavboxMobile: Difference between revisions
EnWikiAdmin (talk | contribs) Created page with "-- -- This module implements {{navbox}} for MobileFrontend -- local p = {} local navbar = require('Module:Navbar')._navbar local getArgs -- lazily initialized local args local tableRowAdded = false local border local listnums = {} local function trim(s) return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1")) end local function addNewline(s) if s:match('^[*:;#]') or s:match('^{|') then return '\n' .. s ..'\n' else return s end end local fun..." |
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
||
Line 24: | Line 24: | ||
end | end | ||
end | end | ||
mw.addCSS(require('Module:NavboxMobile/styles.css')) | |||
local function addTableRow(tbl) | local function addTableRow(tbl) |