Module:Error: Revision history

From World Encyclopedia of Conductors

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.

6 December 2025

  • curprev 22:1322:13, 6 December 2025 N.Sorokin talk contribs 1,156 bytes +1,156 Created page with "-- This module implements {{error}}. local p = {} function p._error(args) local tag = mw.ustring.lower(tostring(args.tag)) -- Work out what html tag we should use. if not (tag == 'p' or tag == 'span' or tag == 'div') then tag = 'strong' end -- Generate the html. return tostring(mw.html.create(tag) :addClass('error') :cssText(args.style) :wikitext(tostring(args.message or args[1] or error('no message specified',..."