Module:Sharpness documentation: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 112: Line 112:
.. "an alternate version of this template that shows separate arrows.\n|}}"
.. "an alternate version of this template that shows separate arrows.\n|}}"
if string.lower(suffix) == "extended" then
if string.lower(suffix) ~= "" then
-- If we are on an extended version of a template (showing more arrows than the minimum)
-- If we are on a different version of a template (e.g. "extended" ones that show more arrows than the minimum)
out_str = out_str .. "{{#ifexist: ".. basic .. "|* [[" .. basic .. "]] – "
out_str = out_str .. "{{#ifexist: ".. basic .. "|* [[" .. basic .. "]] – "
.. "the basic version of this template.|}}"
.. "the basic version of this template.|}}"