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

imported>Liangent
无编辑摘要
imported>Liangent
无编辑摘要
第1,243行: 第1,243行:
                 config.CitationClass ~= "book" and
                 config.CitationClass ~= "book" and
                 true) then -- LOCAL
                 true) then -- LOCAL
             if config.CitationClass == "news" then -- LOCAL
             if config.CitationClass ~= "news" then -- LOCAL
               Pages = ": " .. Pages
               Pages = ": " .. Pages
             else -- LOCAL
             else -- LOCAL
第1,261行: 第1,261行:
             config.CitationClass ~= "book" and
             config.CitationClass ~= "book" and
             true) then -- LOCAL
             true) then -- LOCAL
             Page = ": " .. Page
             if config.CitationClass ~= "news" then -- LOCAL
              Page = ": " .. Page
            else -- LOCAL
              Page = ": (" .. Page .. ")" -- LOCAL
            end -- LOCAL
         else
         else
             Page = sepc .." " .. PPrefix .. Page .. PSuffix -- LOCAL
             Page = sepc .." " .. PPrefix .. Page .. PSuffix -- LOCAL
第1,472行: 第1,476行:
     local xDate = Date
     local xDate = Date
     local pgtext = Page .. Pages .. At
     local pgtext = Page .. Pages .. At
     if config.CitationClass ~= "news" then
     if config.CitationClass == "news" then
         xDate = xDate .. pgtext
         xDate = xDate .. pgtext
         pgtext = ''
         pgtext = ''