Module:Sandbox/Ahecht/Cite DNV: Difference between revisions

Content deleted Content added
failsafe
allow empty input
Line 13:
end
url, vesselid = string.match(string.lower(args['url'] or ''),'//exchange.dnv.com/exchange/main.aspx?(.*)vesselid=(g?%d%d%d%d%d%d?)')
vesselid = vesselid or string.lower((args['id'] or args['ID']) or args['vesselid'])
if not vesselid then