Module:London Stock Exchange

local getArgs = require('Module:Arguments').getArgs local p = {}

function p.GetURL(frame) local args = getArgs(frame) return p._GetURL(args) end function p._GetURL(args) local ticker = args[1] if not ticker then return "https://www.londonstockexchange.com/" else -- "//" is a workaround that causes a redirect to the proper page. This way, the URL ID does not need to be added separately. return "https://www.londonstockexchange.com/stock/" .. ticker .. "//"	end end

return p