Module:Citation/CS1: Difference between revisions

Archive date error condition
m>Dragons flight
(fun, fun, Series ordering)
m>Dragons flight
(Archive date error condition)
Line 844: Line 844:
         if ( ArchiveDate ~= nil and ArchiveDate ~="" ) then
         if ( ArchiveDate ~= nil and ArchiveDate ~="" ) then
             ArchiveDate = " " .. ArchiveDate
             ArchiveDate = " " .. ArchiveDate
         else ArchiveDate = "" end
         else  
            ArchiveDate = "<strong class='error'>Error: If you specify archiveurl=, you must also specify archivedate=</strong> "
        end
         local arch_text = " archived"
         local arch_text = " archived"
         if (sepc == ".") then arch_text = " Archived" end
         if (sepc == ".") then arch_text = " Archived" end
Anonymous user