模块:Citation/CS1:修订间差异

imported>Liangent
无编辑摘要
imported>Liangent
UndoRange: 26350383 ~ 26350563
第1,242行: 第1,242行:
                 config.CitationClass ~= "web" and
                 config.CitationClass ~= "web" and
                 config.CitationClass ~= "book" and
                 config.CitationClass ~= "book" and
                 true) then -- LOCAL
                 config.CitationClass ~= "news") then
            if config.CitationClass ~= "news" then -- LOCAL
             Pages = ": " .. Pages
              Pages = ": " .. Pages
             else -- LOCAL
              Pages = ": (" .. Pages .. ")" -- LOCAL
            end -- LOCAL
         else
         else
             if ( tonumber(Pages) ~= nil ) then
             if ( tonumber(Pages) ~= nil ) then
第1,260行: 第1,256行:
             config.CitationClass ~= "web" and
             config.CitationClass ~= "web" and
             config.CitationClass ~= "book" and
             config.CitationClass ~= "book" and
             true) then -- LOCAL
             config.CitationClass ~= "news") then
            if config.CitationClass ~= "news" then -- LOCAL
             Page = ": " .. Page
              Page = ": " .. Page
             else -- LOCAL
              Page = ": (" .. Page .. ")" -- LOCAL
            end -- LOCAL
         else
         else
             Page = sepc .." " .. PPrefix .. Page .. PSuffix -- LOCAL
             Page = sepc .." " .. PPrefix .. Page .. PSuffix -- LOCAL
第1,475行: 第1,467行:
     -- LOCAL
     -- LOCAL
     local xDate = Date
     local xDate = Date
    local pgtext = Page .. Pages .. At
    if config.CitationClass == "news" then
        xDate = xDate .. pgtext
        pgtext = ''
    end
     if PublicationDate and PublicationDate ~= '' then
     if PublicationDate and PublicationDate ~= '' then
         xDate = xDate .. ' (' .. PublicationDate .. ')'
         xDate = xDate .. ' (' .. PublicationDate .. ')'
第1,496行: 第1,483行:


     local text
     local text
     -- LOCAL local pgtext = Page .. Pages .. At
     local pgtext = Page .. Pages .. At
      
      
     if ( "" ~= Authors ) then
     if ( "" ~= Authors ) then