Module:Link list: Difference between revisions

m
add "or" option instead of and
(add option for list of formatted template links)
m (add "or" option instead of and)
 
Line 7:
if index == 1 then
elseif index == #args then
if f.args["or"]~=nil then
out = out .. ' and '
out = out .. ' or '
else
out = out .. ' and '
end
else
out = out .. ', '