Module:Sports reference and Module:Sports reference/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
update default archive |
GreenC bot (talk | contribs) Reformat 1 archive link. Wayback Medic 2.5 |
||
Line 8: | Line 8: | ||
local function linktext(s1,s2,s3) |
local function linktext(s1,s2,s3) |
||
if (s3 == nil) or (s3 == "") then |
if (s3 == nil) or (s3 == "") then |
||
return "[https://web.archive.org/web/ |
return "[https://web.archive.org/web/20161122063743/http://www.sports-reference.com/olympics/athletes/ " .. s1 .. ".html " .. s2 .. "] at [[Sports Reference#Olympics|Olympics at Sports-Reference.com]] (archived)" .. category("missing archive parameter") |
||
else |
else |
||
return "[https://web.archive.org/web/" .. s3 .. "/https://www.sports-reference.com/olympics/athletes/" .. s1 .. ".html " .. s2 .. "] at [[Sports Reference#Olympics|Olympics at Sports-Reference.com]] (archived)" |
return "[https://web.archive.org/web/" .. s3 .. "/https://www.sports-reference.com/olympics/athletes/" .. s1 .. ".html " .. s2 .. "] at [[Sports Reference#Olympics|Olympics at Sports-Reference.com]] (archived)" |