Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Undo revision 15048 by The Gaffer (talk))
Tag: Undo
Line 293: Line 293:
category_incomplete = 'Items needing value',
category_incomplete = 'Items needing value',
smw_property = 'Value',
smw_property = 'Value',
smw_func = parse.number
}

-- Buy Value
function parse.buy_value_func(val)
return currency(val)
end
parse.value = {
name = 'buy_value',
func = parse.buy_value_func,
category_incomplete = 'Items needing buy value',
smw_property = 'Buy Value',
smw_func = parse.number
smw_func = parse.number
}
}