Module:Sharpness szg documentation: Difference between revisions
Dave Keenan (talk | contribs) mNo edit summary |
Dave Keenan (talk | contribs) Enable a See Also section with alternatives in the case of sharpness = 0. |
||
| Line 96: | Line 96: | ||
-- Display a "see also" section for sharpness-2 and above | -- Display a "see also" section for sharpness-2 and above | ||
if s >= 2 or s <= -2 then | if s >= 2 or s <= -2 or s == 0 then | ||
local basic = "Template:Sharpness-" .. typ .. value | local basic = "Template:Sharpness-" .. typ .. value | ||
local basic_suf = basic .. "-" .. suffix | local basic_suf = basic .. "-" .. suffix | ||