Module:Feedback: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 00:1200:12, 17 October 2024Alex talk contribs 4,374 bytes +4,374 Created page with "local pt = require('Module:Paramtest') local yn = require('Module:Yesno') local p = {} p.yn=yn function p.main(frame) return p._main(frame:getParent().args) end function p._main(args) local isResolved = false if pt.has_content(args.resolved) then isResolved = yn(args.resolved) end local stars = tonumber(args.rating) or 0 stars = math.min(math.floor(stars), 5) local comment = pt.default_to(args.feedback, "''No comment provided''") local id = pt.default_to(args...."