Module:Link Label: 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.

11 June 2025

  • curprev 11:5811:58, 11 June 2025 Wuffesan talk contribs 766 bytes +766 Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, { parentFirst = true, wrapper = { 'Template:Link Label' } }) return p._main(args) end function p._main(args) local link = args[1] if (link == nil) then return "" end if (link:find("%|")) then return link end -- if link contains multiple links local _, count = link:gsub("%[%[", "") if (count > 1) then return link end if (link:find("%[%[") and link:find("%]%]"))..."