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

3 August 2023

  • curprev 16:5016:50, 3 August 2023Admin coral island talk contribs 787 bytes +787 Created page with "-- Module copied from Genshin Impact wiki. local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, { parentFirst = true, wrapper = {'Template:Exists'} }) return p._main(args) end function p._main(args) local page = args[1] or '' local trueResult = args[2] or args['then'] or '' local falseResult = args[3] or args['else'] or '' if (p.checkExists(page)) then return trueResult else return falseResu..."