Module:Citation/CS1: Difference between revisions
replaced more dots "." with sepc
m>Wikid77 (replaced more dots "." with sepc.) |
m>Wikid77 (replaced more dots "." with sepc) |
||
Line 586: | Line 586: | ||
if ( Coauthors ~= nil ) then | if ( Coauthors ~= nil ) then | ||
if ( Authors ~= nil ) then Coauthors = "; " .. Coauthors end | if ( Authors ~= nil ) then Coauthors = "; " .. Coauthors end | ||
if ( Date == nil ) then Coauthors = Coauthors .. | if ( Date == nil ) then Coauthors = Coauthors .. sepc end | ||
else Coauthors = "" end | else Coauthors = "" end | ||
if ( Others ~= nil ) then Others = " " .. Others .. | if ( Others ~= nil ) then Others = " " .. Others .. sepc else Others = "" end | ||
if ( TitleType ~= nil ) then TitleType = " (" .. TitleType .. ")" else TitleType = "" end | if ( TitleType ~= nil ) then TitleType = " (" .. TitleType .. ")" else TitleType = "" end | ||
if ( TitleNote ~= nil ) then TitleNote = " (" .. TitleNote .. ")" else TitleNote = "" end | if ( TitleNote ~= nil ) then TitleNote = " (" .. TitleNote .. ")" else TitleNote = "" end | ||
Line 696: | Line 696: | ||
if ( string.sub(tcommon,-1,1) == sepc) then enddot = "" end | if ( string.sub(tcommon,-1,1) == sepc) then enddot = "" end | ||
if ( config.CitationClass == "journal") then enddot = "" end | if ( config.CitationClass == "journal") then enddot = "" end | ||
if ( config.CitationClass == "citation") then enddot = "" end | |||
tcommon = tcommon .. enddot | tcommon = tcommon .. enddot | ||
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 | ||
Line 701: | Line 702: | ||
local text | local text | ||
if ( "" ~= Authors ) then | if ( "" ~= Authors ) then | ||
if ( "" ~= Date ) then Date = " ("..Date..")" .. OrigYear .. " | if ( "" ~= Date ) then Date = " ("..Date..")" .. OrigYear .. sepc .. " " | ||
else Authors = Authors .. " | else Authors = Authors .. sepc .. " " end | ||
if ( "" ~= Editors ) then Editors = " in " .. Editors .. | if ( "" ~= Editors ) then Editors = " in " .. Editors .. sepc end | ||
text = Authors .. Coauthors .. " "..Date .. Chapter .. Editors .. tcommon .. Page .. Pages .. At .. idcommon | text = Authors .. Coauthors .. " "..Date .. Chapter .. Editors .. tcommon .. Page .. Pages .. At .. idcommon | ||
elseif ( "" ~= Editors) then | elseif ( "" ~= Editors) then |