Module:If in category: 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.

24 March 2025

  • curprev 12:0712:07, 24 March 2025‎ Cellan3 talk contribs‎ 581 bytes +581‎ Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame) return p._main(args) end function p._main(args) -- create a title object local page = (args.page and mw.title.new(args.page)) or mw.title.getCurrentTitle() if require('Module:TableTools').inArray(page.categories, string.gsub( args[1], '^[Cc]ategory:', '' )) then if not args[3] then -- if we are are not given anything to return, return 'yes' if it evalulates to true..."