Jump to content

Module:Citation/CS1: Difference between revisions

more
m>Wikid77
(reset Volume)
m>Wikid77
(more)
Line 57: Line 57:
     end
     end
     if ( string.sub(id,1,3) ~= "10." ) then
     if ( string.sub(id,1,3) ~= "10." ) then
         cat = cat .. "[[Category:Pages with DOI errors]]" .. '<span class="error">Bad DOI (expected "10." prefix)</span>'
         cat = cat .. "[[Category:Pages with DOI errors]]" .. '<span class="error"> Bad DOI (expected "10." prefix)</span>'
     end
     end
     if ( nocat and nocat ~= "" ) then cat = "" end
     if ( nocat and nocat ~= "" ) then cat = "" end
Line 617: Line 617:
     end
     end
     if ( args.vol ~= nil and args.vol ~="" ) then
     if ( args.vol ~= nil and args.vol ~="" ) then
         if ( string.len(args.vol) < 5 )
         if ( string.sub(args.vol,1,3) ~= "vol" )
             then Volume = " <b>" .. args.vol .. "</b>"  
             then Volume = " <b>" .. args.vol .. "</b>"  
             else Volume = sepc .." " .. args.vol  
             else Volume = sepc .." " .. args.vol  
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.