Module:Param Parse: Difference between revisions
Quick and Dirty 2: Quicker and Dirtier
InvalidCards (talk | contribs) No edit summary |
InvalidCards (talk | contribs) (Quick and Dirty 2: Quicker and Dirtier) |
||
Line 318:
function parse.difficulty_func(val)
if val == "0" then
return "☆☆☆☆☆"
end
if val == "1" then
return "★☆☆☆☆"
end
if val == "2" then
return "★★☆☆☆"
end
if val == "3" then
return "★★★☆☆"
end
if val == "4" then
return "★★★★☆"
end
if val == "5" then
return "★★★★★"
end
Line 344:
func = parse.difficulty_func,
smw_property = 'Difficulty',
category_incomplete = 'Needs difficulty'
}
|