Module:Param Parse: Difference between revisions
Change value to use parse.number instead of tonumber (supports commas in numbers)
InvalidCards (talk | contribs) No edit summary |
(Change value to use parse.number instead of tonumber (supports commas in numbers)) |
||
Line 198:
-- Value
function parse.value_func(val)
val =
if val == nil then
return nil
Line 215:
output = output .. val .. '[[File:Copper coin.png|link=]]'
return output
end
parse.value = {
Line 224 ⟶ 221:
category_incomplete = 'Items needing value',
smw_property = 'Value',
smw_func = parse.
}
|