Module:Gallery: 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.

18 January 2023

  • curprev 19:4919:49, 18 January 2023Momo talk contribs 687 bytes +687 Created page with "local getArgs = require('Module:Arguments').getArgs local p = {} local root function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local filearg = '' local height = '120' local prependarg = '[[File:' local apprendarg = '|frameless|' .. 'x' .. height .. 'px]]' for key,value in pairs(args) do local content = args[key] -- Check if arg is a valid file name if content:match('.[^{}<>]+%.%w+') then content = pr..."