Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
checked 22 more empty parameters; unitalicized "et al." |
set enddot to end line when not class "citation". |
||
வரிசை 673:
if ( ZBL ~= nil and ZBL ~="") then
ZBL = sepc .." " .. externallinkid(frame, {label="Zbl",link="Zentralblatt MATH",prefix="http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:",id=ZBL}) else ZBL = "" end
if ( Quote ~= nil and Quote ~="" ) then
Quote = sepc .." \"" .. Quote .. "\""
PostScript = ""
else
if ( PostScript ~= nil
PostScript = PostScript else PostScript = "" end
Quote = ""
end
local Archived
if ( nil ~= ArchiveURL and "" ~= ArchiveURL ) then
if ( ArchiveDate ~= nil
ArchiveDate = " " .. ArchiveDate
else ArchiveDate = "" end
if ( "no" == DeadURL ) then
வரி 693 ⟶ 695:
end
local Lay
if ( nil ~= LaySummary and "" ~= LaySummary ) then
if ( LayDate ~= nil ) then LayDate = " (" .. LayDate .. ")" else LayDate = "" end
if ( LaySource ~= nil ) then LaySource = " – <i>" .. LaySource .. "</i>" else LaySource = "" end
வரி 700 ⟶ 702:
Lay = ""
end
if ( nil ~= Transcript and "" ~= Transcript ) then
if ( TranscriptURL ~= nil ) then Transcript = "[" .. TranscriptURL .. Transcript .. "]" end
else
வரி 706 ⟶ 708:
end
local Publisher = ""
if ( Periodical ~= nil and Periodical ~= "" and
config.CitationClass ~= "web" ) then
if ( PublicationDate ~= nil
PublicationDate = " " .. PublicationDate else PublicationDate = "" end
if ( PublisherName ~= nil and PublisherName ~="" ) then
Publisher = " (" .. PublicationPlace .. PublisherName .. PublicationDate .. ")"
else
வரி 717 ⟶ 720:
Edition = ""
else
if ( PublicationDate ~= nil
PublicationDate = " (published " .. PublicationDate .. ")"
if ( PublisherName ~= nil ) then Publisher = sepc .. " " .. PublicationPlace .. PublisherName .. PublicationDate else Publisher = "" end▼
else PublicationDate = "" end
if ( PublisherName ~= nil and PublisherName ~="" ) then
▲
end
-- Several of the above rely upon detecting this as nil, so do it last.
வரி 734 ⟶ 740:
else tcommon = Title .. TitleType .. TitleNote .. Series .. Language .. Format .. Edition .. Conference .. Periodical .. Volume .. Others .. Issue .. Publisher .. Agency .. Position end
-- 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
local enddot = sepc▼
if (Title == "") then enddot = "" end▼
if ( string.sub(tcommon,-1,1) == sepc) then enddot = "" end▼
if ( config.CitationClass == "journal") then enddot = "" end▼
if ( config.CitationClass == "citation") then enddot = "" end▼
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 text
வரி 1,066 ⟶ 1,073:
--21Feb2013 Set OCinSdata.rft_val_fmt = "info:ofi/fmt:kev:mtx:book"
--21Feb2013 Checked to omit blank codes (asin= | doi= etc.).
--21Feb2013 Set enddot to end line if not config.CitationClass "citation".
--
--End
| |||