Module:Citation/CS1: Difference between revisions

moved Publisher / Agency before pages
m>Wikid77
(changed OrigYear to use [__] for CS1 style.)
m>Wikid77
(moved Publisher / Agency before pages)
Line 673: Line 673:
     -- We build things this way because it is more efficient in LUA not to keep reassigning to the same string variable over and over.
     -- We build things this way because it is more efficient in LUA not to keep reassigning to the same string variable over and over.
     local idcommon = ARXIV .. ASIN .. BIBCODE .. DOI .. ID .. ISBN .. JFM .. JSTOR .. LCCN .. MR .. OCLC .. OL .. OSTI .. PMC .. PMID .. RFC .. SSRN .. URL .. ZBL .. Archived .. AccessDate .. Via .. SubscriptionRequired .. Lay .. Quote .. PostScript
     local idcommon = ARXIV .. ASIN .. BIBCODE .. DOI .. ID .. ISBN .. JFM .. JSTOR .. LCCN .. MR .. OCLC .. OL .. OSTI .. PMC .. PMID .. RFC .. SSRN .. URL .. ZBL .. Archived .. AccessDate .. Via .. SubscriptionRequired .. Lay .. Quote .. PostScript
     local tcommon = Title .. TitleType .. TitleNote .. Format .. Edition .. Language .. Conference .. Periodical .. Series .. Volume .. Issue .. Position .. Page .. Pages .. At
     local tcommon = Title .. TitleType .. TitleNote .. Format .. Edition .. Language .. Conference .. Periodical .. Series .. Volume .. Issue .. Publisher .. Agency .. Position .. Page .. Pages .. At
     -- DEBUG: tcommon = "/Title="..Title .. "/TitleType="..TitleType .. "/TitleNote="..TitleNote .. "/Format="..Format .. "/Edition="..Edition .. "/Language="..Language .. "/Conference="..Conference .. "/Periodical="..Periodical .. "/Series="..Series .. "/Volume="..Volume .. "/Issue="..Issue .. "/Position="..Position .. Page .. Pages .. At
     -- DEBUG: tcommon = "/Title="..Title .. "/TitleType="..TitleType .. "/TitleNote="..TitleNote .. "/Format="..Format .. "/Edition="..Edition .. "/Language="..Language .. "/Conference="..Conference .. "/Periodical="..Periodical .. "/Series="..Series .. "/Volume="..Volume .. "/Issue="..Issue .. "/Position="..Position .. Page .. Pages .. At


Line 681: Line 681:
         else Authors = Authors .. ". " end
         else Authors = Authors .. ". " end
         if ( "" ~= Editors ) then Editors = " in " .. Editors .. "." end
         if ( "" ~= Editors ) then Editors = " in " .. Editors .. "." end
         text = Authors .. Coauthors .. " "..Date .. Chapter .. Others .. Editors .. tcommon .. Publisher .. Agency .. idcommon
         text = Authors .. Coauthors .. " "..Date .. Chapter .. Others .. Editors .. tcommon .. idcommon
     elseif ( "" ~= Editors) then
     elseif ( "" ~= Editors) then
         Editors = Editors .. " (eds.)"
         Editors = Editors .. " (eds.)"
Anonymous user