Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
set AccessDate + <span class="reference-accessdate">; fixed url when deadurl=no.
added sepc for separator character between parameters; set "OCLC"
வரிசை 333:
local Transcript = args.transcript
local TranscriptURL = args["transcript-url"] or args.transcripturl
local sepc = args.separator
 
if ( config.CitationClass == "citation" ) then sepc = "," end
if ( sepc == nil ) then sepc = "." end
if ( DeadURL == nil ) then DeadURL = "no" end
 
வரி 590 ⟶ 594:
if ( Volume ~= nil ) then Volume = " <b>" .. Volume .. "</b>" else Volume = "" end
if ( Issue ~= nil ) then Issue = " (" .. Issue .. ")" else Issue = "" end
if ( Series ~= nil ) then Series = "sepc .. " " .. Series else Series = "" end
if ( Format ~= nil ) then Format = " (" .. Format .. ")" else Format = "" end
if ( OrigYear ~= nil ) then OrigYear = " [" .. OrigYear .. "]" else OrigYear = "" end
if ( Agency ~= nil ) then Agency = "sepc .. " " .. Agency else Agency = "" end
------------------------------------ totally unrelated data
if ( Date ~= nil ) then Date = Date else Date = "" end
if ( Via ~= nil ) then Via = " &mdash; via " .. Via .. "."sepc else Via = "" end
if ( AccessDate ~= nil )
then AccessDate = '<span class="reference-accessdate"> Retrieved ' .. AccessDate .. '.</span>'
வரி 616 ⟶ 620:
if ( LCCN ~= nil ) then LCCN = " " .. externallinkid(frame, {label="LCCN",link="Library of Congress Control Number",prefix="http://lccn.loc.gov/",id=LCCN}) else LCCN = "" end
if ( MR ~= nil ) then MR = " " .. externallinkid(frame, {label="MR",link="Mathematical Reviews",prefix="http://www.ams.org/mathscinet-getitem?mr=",id=MR}) else MR = "" end
if ( OCLC ~= nil ) then OCLC = " " .. externallinkid(frame, {label="OCLC",link="Online Computer Library CenterOCLC",prefix="//www.worldcat.org/oclc/",id=OCLC}) else OCLC = "" end
if ( OL ~= nil ) then OL = " " .. openlibrary(frame, OL) else OL = "" end
if ( OSTI ~= nil ) then OSTI = " " .. externallinkid(frame, {label="OSTI",link="Office of Scientific and Technical Information",prefix="http://www.osti.gov/energycitations/product.biblio.jsp?osti_id=",id=OSTI}) else OSTI = "" end
வரி 684 ⟶ 688:
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
tcommon = tcommon .. enddot
வரி 703 ⟶ 707:
text = Editors .. Date .. Chapter .. tcommon .. Page .. Pages .. At .. idcommon
else
if ( "" ~= Date ) then Date = " " .. Date .. "'''" .. string.sub(".",-1,-1) .. "'''" end
text = Chapter .. tcommon .. Date .. Page .. Pages .. At .. idcommon
end
-- Now enclose the whole thing in a <span/> element
if ( Year == nil ) then Year = ""string.sub(Date,-3) end
local args = { class="citation " .. (config.CitationClass or "") }
if ( Ref ~= nil ) then
வரி 1,007 ⟶ 1,011:
--20Feb2013 Set AccessDate + <span class="reference-accessdate">
--20Feb2013 Fixed url when deadurl=no.
--20Feb2013 Added sepc for separator character between parameters.
--20Feb2013 Put "OCLC" for "Online Computer Library Center".
--
--End
"https://tamilar.wiki/w/Module:Citation/CS1" இலிருந்து மீள்விக்கப்பட்டது