Module:Sharpness szg documentation: Difference between revisions
Dave Keenan (talk | contribs) mNo edit summary |
Dave Keenan (talk | contribs) mNo edit summary |
||
| Line 112: | Line 112: | ||
-- If the template shows integrated (Gould-like) arrows | -- If the template shows integrated (Gould-like) arrows | ||
result = result .. string.format("{{#ifexist: %sa|* [[%s]] – ", basic, basic.."a-szg") | result = result .. string.format("{{#ifexist: %sa|* [[%s]] – ", basic, basic.."a-szg") | ||
.. "an alternate version of this template that shows separate | .. "an alternate version of this template that shows separate up and down chevrons.\n|}}" | ||
if string.lower(suffix) ~= "" then | if string.lower(suffix) ~= "" then | ||
| Line 121: | Line 121: | ||
-- Otherwise, add an additional note for possible extended versions, if they exist | -- Otherwise, add an additional note for possible extended versions, if they exist | ||
if s % 2 == 1 and s >= 3 then | if s % 2 == 1 and s >= 3 then | ||
result = result .. string.format("{{#ifexist: %s-extended|* [[%s | result = result .. string.format("{{#ifexist: %s-extended|* [[%s]] – ", basic, basic.."-extended-szg") | ||
.. "an alternate version of this template that includes " | .. "an alternate version of this template that includes " | ||