Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary Tag: Manual revert |
(Added sell price) Tag: Reverted |
||
Line 233: | Line 233: | ||
category_incomplete = 'Items needing value', |
category_incomplete = 'Items needing value', |
||
smw_property = 'Value', |
smw_property = 'Value', |
||
smw_func = parse.number |
|||
} |
|||
-- Sell Price |
|||
function parse.sell_price_func(val) |
|||
return currency(val) |
|||
end |
|||
parse.sell_price = { |
|||
name = 'sell_price', |
|||
func = parse.sell_price_func, |
|||
category_incomplete = 'Items needing sell prices', |
|||
smw_property = 'Sell Price', |
|||
smw_func = parse.number |
smw_func = parse.number |
||
} |
} |