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

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
checked more blank codes
undid 2 revisions after "Script error"
வரிசை 340:
 
-- At this point fields may be nil if they weren't specified in the template use. We can use that fact.
 
if ( URL == nil ) then
if ( PMC ~= nil ) then
URL = "http://www.ncbi.nlm.nih.gov/pmc/articles/PMC" .. PMC .. "/?tool=pmcentrez"
end
end
-- Account for the oddity that is {{cite conference}}, before generation of COinS data.
வரி 612 ⟶ 606:
then AccessDate = '<span class="reference-accessdate"> Retrieved ' .. AccessDate .. '.</span>'
else AccessDate = "" end
if ( SubscriptionRequired ~= nil and) then
SubscriptionRequired ~= "" ) then
SubscriptionRequired = " " .. z.mw.text.tag({name="span", contents="(subscription required)", params={style="font-size:0.95em; font-size: 90%; color: #555"}})
else
SubscriptionRequired = ""
end
if ( ARXIV ~= nil and) then ARXIV ~= " " .. externallinkid(frame, {label="arXiv",link="arXiv",prefix="http://arxiv.org/abs/",id=ARXIV,separator=":"}) thenelse ARXIV = "" end
if ( ASIN ~= ARXIVnil ) then ASIN = " " .. externallinkidamazon(frame, {label="arXiv"ASIN,link="arXiv",prefix="http://arxiv.org/abs/",id=ARXIV,separator=":"} ASINTLD) else ARXIVASIN = "" end
if ( JSTORBIBCODE >~= ""nil ) then JSTORBIBCODE = " " .. externallinkid(frame, {label="JSTORBibcode",link="JSTORBibcode",prefix="http://wwwadsabs.jstorharvard.orgedu/stableabs/",id=JSTORBIBCODE,separator=":"}) else JSTORBIBCODE = "" end
if ( ASIN ~= nil and ASIN ~= "" ) then
if ( DOI ~= nil ) then ASINDOI = " " .. amazondoi(frame, ASINDOI, ASINTLDDoiBroken) else ASINDOI = "" end
if ( BIBCODEID ~= nil and) BIBCODEthen ID ~= " " ).. thenID else ID = "" end
if ( ISBN ~= BIBCODEnil ) then ISBN = " " .. externallinkidinternallinkid(frame, {label="BibcodeISBN",link="BibcodeInternational Standard Book Number",prefix="httpSpecial://adsabs.harvard.edu/absBookSources/",id=BIBCODE,separator=":"ISBN}) else BIBCODEISBN = "" end
if ( ISSN ~= nil ) then ISSN = " " .. externallinkid(frame, {label="ISSN",link="International Standard Serial Number",prefix="//www.worldcat.org/issn/",id=ISSN}) else ISSN = "" end
if ( DOI ~= nil and DOI ~= "" ) then
if ( JFM ~= nil ) then JFM = " " .. externallinkid(frame, {label="JFM",link="Jahrbuch über die Fortschritte der Mathematik",prefix="http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:",id=JFM}) else JFM = "" end
DOI = " " .. doi(frame, DOI, DoiBroken) else DOI = "" end
if ( IDJSTOR ~= nil and ID ~= "" ) then IDJSTOR = " " .. IDexternallinkid(frame, {label="JSTOR",link="JSTOR",prefix="http://www.jstor.org/stable/",id=JSTOR}) else IDJSTOR = "" end
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 ( ISBN ~= nil and ISBN ~= "" ) then
if ( MR ~= nil ) then ISBNMR = " " .. internallinkidexternallinkid(frame, {label="ISBNMR",link="InternationalMathematical Standard Book NumberReviews",prefix="Specialhttp:BookSources//www.ams.org/mathscinet-getitem?mr=",id=ISBNMR}) else ISBNMR = "" end
if ( OCLC >~= ""nil ) then OCLC = " " .. externallinkid(frame, {label="OCLC",link="OCLC",prefix="//www.worldcat.org/oclc/",id=OCLC}) else OCLC = "" end
if ( ISSN ~= nil and ISSN ~= "" ) then
ISSN = " " .. externallinkid(frame, {label="ISSN",link="International Standard Serial Number",prefix="//www.worldcat.org/issn/",id=ISSN}) else ISSN = "" end
if ( JFM ~= nil and JFM ~= "" ) then
JFM = " " .. externallinkid(frame, {label="JFM",link="Jahrbuch über die Fortschritte der Mathematik",prefix="http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:",id=JFM}) else JFM = "" end
if ( JSTOR > "" ) then JSTOR = " " .. externallinkid(frame, {label="JSTOR",link="JSTOR",prefix="http://www.jstor.org/stable/",id=JSTOR}) else JSTOR = "" end
if ( LCCN > "" ) then LCCN = " " .. externallinkid(frame, {label="LCCN",link="Library of Congress Control Number",prefix="http://lccn.loc.gov/",id=LCCN}) else LCCN = "" end
if ( MR > "" ) then MR = " " .. externallinkid(frame, {label="MR",link="Mathematical Reviews",prefix="http://www.ams.org/mathscinet-getitem?mr=",id=MR}) else MR = "" end
if ( OCLC > "" ) then OCLC = " " .. externallinkid(frame, {label="OCLC",link="OCLC",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
வரி 1,034 ⟶ 1,020:
--20Feb2013 Fix empty "authorlink=" as person.link ~= "".
--20Feb2013 Added space after AuthorSep & AuthorNameSep.
--21Feb2013 If empty URL with PMC, then defaulted URL as PMC url.
--21Feb2013 Checked for empty codes (ASIN ~= "") as well as nil.
--
--End
"https://tamilar.wiki/w/Module:Citation/CS1" இலிருந்து மீள்விக்கப்பட்டது