Module:Page tabs: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

18 September 2024

  • curprev 11:4111:41, 18 September 2024Tom talk contribs 1,337 bytes +1,337 Created page with "-- This module implements {{Page tabs}}. local getArgs = require('Module:Arguments').getArgs local yesno = 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 local root = mw.html.create() root:wikitext(yesno(args.NOTOC) and '__NOTOC__' or nil) local row = root:tag('div') :css('background', args.Background or '#f8fcff') :css('color', 'black') :css..."