Module:LinkMarker

-- local p = {}

local vals

function arrow(num, ab, width) if vals[ab] then ab = 'A'   else ab = 'B'   end return '' end

function p.main(frame) for i, v in ipairs(frame.args) do       if tonumber(i) then vals[v] = true end end return arrow(8, 'TL', 18) .. arrow(1, 'T', 27) .. arrow(2, 'TR', 18) .. ' ' ..          arrow(7, 'L', 27) .. '' ..          arrow(3, 'R', 27) .. ' ' ..          arrow(6, 'BL', 18) .. arrow(5, 'B', 27) .. arrow(4, 'BR', 18) end

return p