Module:Param Parse: Difference between revisions
Append hours to duration param
(Add func to parse duration for ventures) |
(Append hours to duration param) |
||
Line 416:
category_incomplete = 'Needs passiveness'
}
function parse.duration_func(hours)
hours = string.gsub(hours or '',',','')
return (tonumber(hours) .. " Hours")
end
parse.duration = {
name = 'duration',
func = parse.
smw_property = 'Duration',
category_incomplete = 'Needs duration',
|