Changes
fix up some more parameters to handle blanks
end
if ( PublicationDate == Date or PublicationDate == Year ) then PublicationDate = nil end
if ( nil ~= ArchiveURL and "" < ArchiveURL ) then
local temp = URL
URL = ArchiveURL
end
if ( TransTitle ~= nil and "" < TransTitle ) then TransTitle = " [" .. TransTitle .. "]." else TransTitle = "" end if ( TransChapter ~= nil and "" < TransChapter ) then TransChapter = " [" .. TransChapter .. "]." else TransChapter = "" end if ( Chapter ~= nil and "" < Chapter ) then if ( ChapterLink ~= nil and "" < ChapterLink ) then Chapter = "[[" .. ChapterLink .. "|" .. Chapter .. "]]" end if ( Periodical ~= nil and "" < Periodical ) then
Chapter = "<i>" .. Chapter .. "</i>"
else
Chapter = Chapter .. TransChapter
if ( ChapterLink == nil ) then
if ( ChapterURL ~= nil and "" < ChapterURL ) then
Chapter = "[" .. ChapterURL .. " " .. Chapter .. "]"
elseif ( URL ~= nil and "" < URL ) then
Chapter = "[" .. URL .. " " .. Chapter .. "]"
URL = nil
Chapter = ""
end
if ( Title ~= nil and "" < Title ) then if ( TitleLink ~= nil and "" < TitleLink ) then
Title = "[[" .. TitleLink .. "|" .. Title .. "]]" end
if ( Periodical ~= nil and "" < Periodical ) then
Title = "\"" .. Title .. "\""
elseif ( config.CitationClass == "web"
end
Title = Title .. TransTitle
if ( TitleLink == nil and URL ~= nil and "" < URL ) then
Title = "[" .. URL .. " " .. Title .. "]"
URL = nil