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

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
replaced more dots "." with sepc
when empty URL with PMC, then defaulted URL to use PMC url; omitted when blank codes as "".
வரிசை 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.
வரி 606 ⟶ 612:
then AccessDate = '<span class="reference-accessdate"> Retrieved ' .. AccessDate .. '.</span>'
else AccessDate = "" end
if ( SubscriptionRequired ~= nil ) thenand
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 ) thenand ARXIV ~= " " .. externallinkid(frame, {label="arXiv",link="arXiv",prefix="http://arxiv.org/abs/",id=ARXIV,separator=":"}) else ARXIV = "" endthen
if ( ASIN ~= nil ) then ASINARXIV = " " .. amazonexternallinkid(frame, ASIN{label="arXiv", ASINTLDlink="arXiv",prefix="http://arxiv.org/abs/",id=ARXIV,separator=":"}) else ASINARXIV = "" end
if ( ASIN ~= nil and ASIN ~= "" ) then
if ( BIBCODE ~= nil ) then BIBCODE = " " .. externallinkid(frame, {label="Bibcode",link="Bibcode",prefix="http://adsabs.harvard.edu/abs/",id=BIBCODE,separator=":"}) else BIBCODE = "" end
if ( DOI ~= nil ) then DOIASIN = " " .. doiamazon(frame, DOIASIN, DoiBrokenASINTLD) else DOIASIN = "" end
if ( IDBIBCODE ~= nil )and then IDBIBCODE ~= " " ..) ID else ID = "" endthen
if ( ISBN ~= nil ) then ISBNBIBCODE = " " .. internallinkidexternallinkid(frame, {label="ISBNBibcode",link="International Standard Book NumberBibcode",prefix="Specialhttp:BookSources//adsabs.harvard.edu/abs/",id=ISBNBIBCODE,separator=":"}) else ISBNBIBCODE = "" end
if ( DOI ~= nil and DOI ~= "" ) then
if ( ISSN ~= nil ) then ISSN = " " .. externallinkid(frame, {label="ISSN",link="International Standard Serial Number",prefix="//www.worldcat.org/issn/",id=ISSN}) else ISSN = "" end
DOI = " " .. doi(frame, DOI, DoiBroken) else DOI = "" end
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
if ( ID ~= nil and ID ~= "" ) then ID = " " .. ID else ID = "" end
if ( ISBN ~= nil and ISBN ~= "" ) then
if ( ISSN ~= nil ) then ISSNISBN = " " .. externallinkidinternallinkid(frame, {label="ISSNISBN",link="International Standard SerialBook Number",prefix="//www.worldcat.org/issnSpecial:BookSources/",id=ISSNISBN}) else ISSNISBN = "" end
if ( ISSN ~= nil and ISSN ~= "" ) then
if ( BIBCODE ~= nil ) then BIBCODEISSN = " " .. externallinkid(frame, {label="BibcodeISSN",link="BibcodeInternational Standard Serial Number",prefix="http://adsabswww.harvardworldcat.eduorg/absissn/",id=BIBCODE,separator=":"ISSN}) else BIBCODEISSN = "" end
if ( JFM ~= nil and JFM ~= "" ) 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
if ( JSTOR ~= nil ) then JSTOR = " " .. externallinkid(frame, {label="JSTOR",link="JSTOR",prefix="http://www.jstor.org/stable/",id=JSTOR}) else JSTOR = "" 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
வரி 1,020 ⟶ 1,034:
--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" இலிருந்து மீள்விக்கப்பட்டது