Jump to content

Module:Anchor: Revision history

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.

12 March 2025

  • curprev 21:3021:30, 12 March 2025 Rbn talk contribs 2,981 bytes +2,981 Created page with "--[=[ Implements anchor templates ]=] require('strict') local getArgs = require('Module:Arguments').getArgs local function error_message(message) return require('Module:Error')['error']({['message'] = message}) end local p = {} -- Template:Anchor function p._anchor(args) local anchorList = {} for k, v in pairs(args) do if v then anchorList[#anchorList + 1] = '<span id="' .. v .. '"></span>' end end return table.concat(anchorList) end function p.anch..."