Module:Param Parse: Difference between revisions

127 bytes added ,  Yesterday at 20:35
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.numberduration_func,
smw_property = 'Duration',
category_incomplete = 'Needs duration',
587

edits