הבדלים בין גרסאות בדף "תבנית:Cite journal"

מתוך ויקיסקס
קפיצה לניווט קפיצה לחיפוש
שורה 47: שורה 47:
 
  | {{#if:{{{curly|}}}|”|"}}  
 
  | {{#if:{{{curly|}}}|”|"}}  
 
  }}{{#if:{{{language|}}}  
 
  }}{{#if:{{{language|}}}  
   |  (in {{{language}}})
+
   |  (ב{{{language}}})
 
}}{{#if:{{{format|}}}
 
}}{{#if:{{{format|}}}
 
   |  ({{{format}}})
 
   |  ({{{format}}})
שורה 74: שורה 74:
 
   }}{{{publisher}}}
 
   }}{{{publisher}}}
 
}}{{#if:{{{doi|}}}  
 
}}{{#if:{{{doi|}}}  
   |. doi:{{#if: {{{doi_brokendate|}}}  
+
   |. [[doi]]:{{#if: {{{doi_brokendate|}}}  
     | {{#tag:nowiki|{{{doi}}}}} (inactive }}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | }}
+
     | {{#tag:nowiki|{{{doi}}}}} (inactive [[{{{doi_brokendate|}}}]]) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[קטגוריה:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate|}}} }}]] }}
 
     | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]</span>
 
     | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]</span>
 
     }}
 
     }}
 
}}{{#if:{{{issn|}}}
 
}}{{#if:{{{issn|}}}
   |. ISSN [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
+
   |. [[wikipedia:ISSN|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
 
}}{{#if:{{{pmid|}}}
 
}}{{#if:{{{pmid|}}}
 
   |. PMID {{{pmid}}}
 
   |. PMID {{{pmid}}}
 
}}{{#if:{{{pmc|}}}  
 
}}{{#if:{{{pmc|}}}  
   | {{#if:{{{url|}}} |. PMC:[http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}} {{{pmc}}}]}}
+
   | {{#if:{{{url|}}} |. [[PubMed Central|PMC]]:[http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}} {{{pmc}}}]}}
 
}}{{#if:{{{bibcode|}}}
 
}}{{#if:{{{bibcode|}}}
   |. Bibcode:&nbsp;[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]
+
   |. [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]
 
}}{{#if:{{{oclc|}}}  
 
}}{{#if:{{{oclc|}}}  
   |. OCLC [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
+
   |. [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
 
}}{{#if:{{{id|}}}
 
}}{{#if:{{{id|}}}
 
   |. {{{id}}}
 
   |. {{{id}}}
 
}}{{#if:{{{accessdate|}}}
 
}}{{#if:{{{accessdate|}}}
   |<span class="reference-accessdate">. Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}
+
   |<span class="reference-accessdate">. אוחזר ב־{{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}
 
}}{{#if:{{{accessmonthday|}}}
 
}}{{#if:{{{accessmonthday|}}}
   | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}
+
   | &#32;אוחזר ב־{{{accessmonthday}}} ,{{{accessyear}}}
 
}}{{#if:{{{accessdaymonth|}}}
 
}}{{#if:{{{accessdaymonth|}}}
   | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}</span>
+
   | &#32;אוחזר ב־{{{accessdaymonth}}} {{{accessyear}}}</span>
 
}}{{#if:{{{laysummary|}}}  
 
}}{{#if:{{{laysummary|}}}  
 
   |. [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
 
   |. [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
שורה 124: שורה 124:
 
   -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!-- DOI
 
   -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!-- DOI
 
   -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!-- URL
 
   -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!-- URL
   -->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>
+
   -->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>[[קטגוריה:תבניות ציטוט]]</noinclude>
<div style="direction: ltr;">
 
'''Cite journal''' is for formatting references to articles in magazines and academic journals in a consistent and legible manner. It can be used at the end of the article, directly in the References section. It can also be placed within <nowiki><ref></nowiki> tags for in-line citations (see Wikipedia:Footnotes).
 
 
 
==Usage==
 
;Common parameters, horizontal format (with today's date)
 
<tt><nowiki>{{cite journal |last= |first= |authorlink= |coauthors= |year= |month= |title= |journal= |volume= |issue= |pages= |id= |url= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |quote= }}</nowiki></tt>
 
 
 
;Common parameters, horizontal format
 
<tt><nowiki>{{cite journal |last= |first= |authorlink= |coauthors= |year= |month= |title= |journal= |volume= |issue= |pages= |id= |url= |accessdate= |quote= }}</nowiki></tt>
 
 
 
;All parameters, horizontal format
 
<tt><nowiki>{{cite journal |quotes= |last= |first= |author= |authorlink= |coauthors= |date= |year= |month= |title= |journal= |volume= |issue= |pages= |publisher= |location= |issn= |pmid= |pmc= |doi= |bibcode= |oclc= |id= |url= |language= |format= |accessdate= |laysummary= |laysource= |laydate= |quote=}}</nowiki></tt>
 
 
 
 
 
{| cellpadding="5" cellspacing="6"
 
! Using lastname, firstname !! Using author (firstname lastname)
 
|- width="50%"
 
|
 
<pre>
 
{{cite journal
 
|quotes=
 
|last=
 
|first=
 
|authorlink=
 
|coauthors=
 
|date=
 
|year=
 
|month=
 
|title=
 
|journal=
 
|volume=
 
|issue=
 
|pages=
 
|publisher=
 
|location=
 
|issn=
 
|pmid=
 
|pmc=
 
|doi=
 
|bibcode=
 
|oclc=
 
|id=
 
|url=
 
|language=
 
|format=
 
|accessdate=
 
|laysummary=
 
|laysource=
 
|laydate=
 
|quote=}}</pre>
 
| style="vertical-align: top;" |
 
<pre>
 
{{cite journal
 
|quotes=
 
|author=
 
|date=
 
|year=
 
|month=
 
|title=
 
|journal=
 
|volume=
 
|issue=
 
|pages=
 
|publisher=
 
|location=
 
|issn=
 
|pmid=
 
|pmc=
 
|doi=
 
|bibcode=
 
|oclc =
 
|id=
 
|url=
 
|language=
 
|format=
 
|accessdate=
 
|laysummary=
 
|laysource=
 
|laydate=
 
|quote=}}</pre>
 
|}
 
 
 
*'''quotes''': Specify "quotes=no" to disable the quotation marks around the title. If "quotes" is not defined or set to the empty string, the template places quotation marks around the title (default).
 
*'''author''': Author
 
**'''last''' works with '''first''' to produce <code>last, first;</code>
 
**'''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article (interwiki link)
 
**'''coauthors''': allows additional authors
 
*'''date''': ''<nowiki>January 1, 2006</nowiki>''. Full date of publication.
 
**'''year''': ''2006''. Year of publication (ignored if the ''date'' field is used).
 
***'''month''': ''January''. Month of publication (ignored if the ''date'' field is used, or if the ''year'' field is ''not'' used).
 
*'''title''': Title of article. '''''This is the only required parameter. All other parameters are optional.'''''
 
*'''journal''': Name of the journal or periodical.
 
*'''volume''': Volume number of the journal in which the article is found
 
*'''issue''': Issue number of the journal in which the article is found
 
*'''pages''': ''<nowiki>45&ndash;47</nowiki>'': first page, and optional last page (separated by an en dash &ndash;). Manually prepend with ''p.'' or ''pp.'' if desired.
 
*'''publisher''': Publisher of journal or periodical; should not include corporate designation such as "Ltd" or "Inc". Only include if ISSN and DOI are unavailable.
 
**'''location''': Place of publication for journal or periodical.
 
*'''issn''': The publication's International Standard Serial Number such as ''1111-2220''. Only include if a DOI is unavailable.
 
*'''pmid''': The document's PubMed Unique Identifier, such as ''15128012''
 
*'''pmc''': The document's PubMed Central article number for full-text free repository of an article, such as  ''246835''
 
*'''oclc''': The periodical's Online Computer Library Center ID number, such as ''3185581''
 
*'''doi''': A digital object identifier for the document, such as <code><nowiki>10.1130/0091-7613(1990)018<1153:TAFSIA>2.3.CO;2</nowiki></code>.
 
:*'''doi_brokendate''': Sometimes the doi target link might not function (e.g. the journal is transferred to a new publisher which does not provide doi access). A blanked out '''doi''' parameter could lead to a later editor or bot re-adding the doi. Instead, use this parameter which, like '''accessdate''', takes ISO 8601 YYYY-MM-DD format, for example "doi_brokendate= {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}". ''Must not be wikilinked''. <br/>The '''doi''' value is still shown, but without a link, and the mainspace article is added to "Category:Pages with DOIs broken since YYYY".
 
*'''bibcode''': The document's bibcode in the Astrophysics Data System, e.g., ''1924MNRAS..84..308E''
 
*'''id''': A unique identifier, used if none of the above are applicable.  In this case, you need to specify the kind of identifier you are using, preferably with a template like {{tl|US patent}}, {{tl|MR}} / {{tl|MathSciNet}}, {{tl|Zbl}}, {{tl|arXiv}} or {{tl|JFM}}.  (Use one of the more specialized parameters if possible; they are linked automatically.  In other words, don't use <code><nowiki>id = PMID 15128012</nowiki></code> anymore.  Use <code>pmid = 15128012</code>.)
 
*'''url''': This should point to, in descending order of preference:
 
:#A ''free'' online version of the full text
 
:#An online version of the ''full text'', for which subscription is required
 
:#An abstract or information page, ''if'' no DOI or PMID record is available
 
::If a DOI or PMID is available, the URL should only be specified if it would point to a different page to that which a DOI or PMID would redirect to.
 
:*'''format''': Format, e.g. PDF. Don't specify for HTML (implied as default).
 
::* Specify as'' 'fee required' ''if free access no longer available.
 
::* Specify as'' 'Reprint' ''if a full original version but not hosted by the original publisher.
 
*'''accessdate''': Full date when URL was last checked. Use ISO 8601 YYYY-MM-DD format, for example "accessdate = {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}". This parameter is hidden from readers and only visible in the source of the page.
 
:''Note:'' The access date will not be displayed as it is only intended to help editors recover dead links.
 
*'''laysummary''': URL of a lay summary, which could be in a popular science magazine or newspaper.
 
**'''laysource''': Name of the source, e.g. ''The Guardian'' (UK newspaper) or ''New Scientist''.
 
**'''laydate''': Date of publication or, where this is not available, date of retrieval of the lay summary.
 
*'''quote''': Relevant excerpt from the journal.
 
 
 
An alternate method of adding one or more references to common media (preferably in Layman's terms) from the related journal citation can be specified ''within'' a single <code><nowiki><ref>...</ref></nowiki></code> tag using other citation templates; for example:
 
:<tt>''Text in the article.'''''&lt;ref&gt;'''<nowiki>{{cite journal | ... }}<br/></nowiki><br/><nowiki>
 
'''Related news articles:'''</nowiki><br/><nowiki>
 
*{{cite news | ... }}</nowiki><br/><nowiki>
 
*{{cite web | ... }}</nowiki>'''&lt;/ref&gt;'''</tt>
 
 
 
==Notes==
 
Although it may appear redundant to include multiple ids for articles, it is helpful for many editors who only have access to a certain resource.  If only one ID is to be included, the DOI should be used, as this is the universal standard preferred by professional publications.  Specifying a link as a doi, pmid etc is always preferable to including it as a url parameter, as it makes it clear that the link is accurate and stable.
 
 
 
==Examples==
 
;Formal citation
 
:<tt><nowiki>
 
{{cite journal
 
|last=Smith
 
|first=Joseph III
 
|title=Last Testimony of Sister Emma
 
|journal=The Saints' Herald
 
|volume=26
 
|year=1879
 
|month=October
 
|pages=289}}
 
</nowiki></tt>
 
:→ {{cite journal
 
|last=Smith
 
|first=Joseph III
 
|title=Last Testimony of Sister Emma
 
|journal=The Saints' Herald
 
|volume=26
 
|year=1879
 
|month=October
 
|pages=289}}
 
 
 
;Include URL link to free-article, pre-print or abstract; also supply access date unless the URL is known to be stable.
 
:<tt><nowiki>
 
{{cite journal
 
|author=Winston S. Churchill
 
|title=A silent toast to William Willett
 
|url=http://www.winstonchurchill.org/i4a/pages/index.cfm?pageid=266
 
|accessdate=2007-05-16
 
|journal=Pictorial Weekly
 
|date=1934-04-28}}
 
</nowiki></tt>
 
:→ {{cite journal
 
|author=Winston S. Churchill
 
|title=A silent toast to William Willett
 
|url=http://www.winstonchurchill.org/i4a/pages/index.cfm?pageid=266
 
|accessdate=2007-05-16
 
|journal=Pictorial Weekly
 
|date=1934-04-28}}
 
 
 
;Specify the DOI to provide a permanent link. Also give the PMID abstract for medical articles, and the URL if the article is free. PubMed Central free full-text repository links may also be supplied and will link the title if URL not specified, else as additional linked PMC value at the end of the citation
 
:<tt><nowiki>
 
{{cite journal
 
|author=Viollet B, Andreelli F, Jørgensen SB, ''et al''
 
|title=The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity
 
|journal=J. Clin. Invest.
 
|volume=111
 
|issue=1
 
|pages=91–8
 
|year=2003
 
|month=January
 
|pmid=12511592
 
|pmc=151837
 
|doi=10.1172/JCI16567
 
|url=http://www.jci.org/articles/view/16567}}
 
</nowiki></tt>
 
:→ {{cite journal
 
|author=Viollet B, Andreelli F, Jørgensen SB, ''et al''
 
|title=The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity
 
|journal=J. Clin. Invest.
 
|volume=111
 
|issue=1
 
|pages=91–8
 
|year=2003
 
|month=January
 
|pmid=12511592
 
|pmc=151837
 
|doi=10.1172/JCI16567
 
|url=http://www.jci.org/articles/view/16567}}
 
 
 
Whereas if the url had not been specified, then the title is linked to PubMed Central's copy of the article and no duplicate PMC link is shown for compactness:
 
:<tt><nowiki>
 
{{cite journal
 
|author=Viollet B, Andreelli F, Jørgensen SB, ''et al''
 
|title=The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity
 
|journal=J. Clin. Invest.
 
|volume=111
 
|issue=1
 
|pages=91–8
 
|year=2003
 
|month=January
 
|pmid=12511592
 
|pmc=151837
 
|doi=10.1172/JCI16567
 
|url=}}
 
</nowiki></tt>
 
:→ {{cite journal
 
|author=Viollet B, Andreelli F, Jørgensen SB, ''et al''
 
|title=The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity
 
|journal=J. Clin. Invest.
 
|volume=111
 
|issue=1
 
|pages=91–8
 
|year=2003
 
|month=January
 
|pmid=12511592
 
|pmc=151837
 
|doi=10.1172/JCI16567
 
|url=}}
 
 
 
If the doi link is broken, then use of the doi_brokendate parameter unlinks the doi value, indicates when the doi-problem was first noticed, and will also add the page to "Category:Pages with DOIs broken since YYYY":
 
:<tt><nowiki>
 
{{cite journal
 
|author=Viollet B, Andreelli F, Jørgensen SB, ''et al''
 
|title=The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity
 
|journal=J. Clin. Invest.
 
|volume=111
 
|issue=1
 
|pages=91–8
 
|year=2003
 
|month=January
 
|pmid=12511592
 
|pmc=151837
 
|doi=10.1172/JCI16567
 
|doi_brokendate=2008-06-18
 
|url=}}
 
</nowiki></tt>
 
:→ {{cite journal
 
|author=Viollet B, Andreelli F, Jørgensen SB, ''et al''
 
|title=The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity
 
|journal=J. Clin. Invest.
 
|volume=111
 
|issue=1
 
|pages=91–8
 
|year=2003
 
|month=January
 
|pmid=12511592
 
|pmc=151837
 
|doi=10.1172/JCI16567
 
|doi_brokendate=2008-06-18
 
|url=}}
 
 
 
;Other examples
 
*<tt><nowiki>
 
{{cite journal
 
|last=Fowler
 
|first=Martin
 
|authorlink=Martin Fowler
 
|coauthors=Kent Beck
 
|title=Last Testimony of Sister Emma
 
|journal=The Saints' Herald
 
|volume=26
 
|year=1879
 
|month=October
 
|pages=289}}
 
</nowiki></tt>
 
:→ {{cite journal
 
|last=Fowler
 
|first=Martin
 
|authorlink=Martin Fowler
 
|coauthors=Kent Beck
 
|title=Last Testimony of Sister Emma
 
|journal=The Saints' Herald
 
|volume=26
 
|year=1879
 
|month=October
 
|pages=289}}
 
 
 
*<tt><nowiki>
 
{{cite journal
 
|first=W. Hugh
 
|last=Woodin
 
|title=The Continuum Hypothesis, Part I
 
|journal=Notices of the AMS
 
|volume=48
 
|issue=6
 
|year=2001
 
|pages=567–576
 
|location=Providence, RI
 
|publisher=American Mathematical Society
 
|url=http://www.ams.org/notices/200106/fea-woodin.pdf
 
|format=PDF
 
|issn=1088-9477
 
|oclc=34550461}}
 
</nowiki></tt>
 
:→ {{cite journal
 
|first=W. Hugh
 
|last=Woodin
 
|title=The Continuum Hypothesis, Part I
 
|journal=Notices of the AMS
 
|volume=48
 
|issue=6
 
|year=2001
 
|pages=567–576
 
|location=Providence, RI
 
|publisher=American Mathematical Society
 
|url=http://www.ams.org/notices/200106/fea-woodin.pdf
 
|format=PDF
 
|issn=1088–9477
 
|oclc=34550461}}
 
*<tt><nowiki>{{cite journal
 
|title=Disney Releases 10 Titles on Laser Videodisc
 
|year=1982
 
|journal=VIDEODISC/VIDEOTEX
 
|volume=2
 
|issue=3
 
|pages=175}}</nowiki></tt>
 
:→ {{cite journal
 
|title=Disney Releases 10 Titles on Laser Videodisc
 
|year=1982
 
|journal=VIDEODISC/VIDEOTEX
 
|volume=2
 
|issue=3
 
|pages=175}}
 
 
 
==Useful links==
 
*Diberri's [http://diberri.dyndns.org/cgi-bin/templatefiller/ Wikipedia template filling tool] that will generate cite journal templates from PMID or PMC values (as well as cite book, cite web and various infobox templates)
 
*DOI bot – You can ask this bot to automatically complete partial citations on pages of your choice. Click here for more information.
 
*The [http://toolserver.org/~verisimilus/Scholar/ Universal Reference Formatter] – find articles using built-in Google Scholar interface, or DOI, PMID or PMC; automatically produce an appropriate cite template. Also features a BibTeX to <nowiki>{{cite}}</nowiki> converter.
 
*Zotero – find articles in Mozilla Firefox and easily paste them into Wikipedia as citation templates with Ctrl-Alt-C
 
</div>
 
 
 
[[קטגוריה:תבניות ציטוט]]</noinclude>
 

גרסה מ־18:18, 11 במאי 2014