Content deleted Content added
bugfix |
bugfix |
||
Line 20:
vesselid = string.upper(vesselid)
register = "GL"
elseif tonumber(vesselid) > 99999 then
vesselid = "G"..vesselid
register = "GL"
Line 29:
if success then
return '{{cite ship register|register='..register..'|id='..vesselid..'|shipname='..shipname..'|accessdate='..((args['accessdate'] or args['access-date']) or '')..'}}'
elseif args['url'] then
outstr = '{{cite web'
|