Module:Link capture: Revision history

From Lets RP Wiki

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.

17 January 2023

  • curprev 23:4223:42, 17 January 2023Momo talk contribs 400 bytes +400 Created page with "local p = {} function p.linkcapture(frame) local linkString = frame.args[1] or "" local linkText = string.match(linkString, "%[%[([^%]]+)%]%]") local linkTextText = string.match(linkString, "%[%[[^%|]+%|([^%}]+)%]%]") if (linkTextText ~= nil) then return linkTextText elseif (linkText ~= nil) then return linkText else return linkString end end return p"