Jump to content

Module:Swap

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Raph Williams65 (talk | contribs) at 20:50, 9 April 2025 (Fixed). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}

function p.main(frame)
  x = frame.args[1]
  y = frame.args[3]
  sep = frame.args[2] or frame.args.sep
  x,y = y,sep,x
  return x,y
end
return p