local p = local htmlerror = require('Module:Error').error
function p.citednv(frame) local origArgs = frame:getParent.args local args = local success=true local register="DNV" local outstr = "" for k, v in pairs(origArgs) do args[k] = v 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']) or )) if vesselid
shipname = ((string.match((args['title'] or ),'\'\'(.-)\'\) or args['title']) or (args['shipname'] or args['name'])) or if shipname