View source for Module:Feedback
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
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.id, '')
local fbdate = nil
if pt.has_content(args.date) then
fbdate = args.date
000
1:0
Template used on this page:
Return to Module:Feedback.