Difference between revisions of "Template:Cite journal/testcases"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
<noinclude>{{Template sandbox notice}}</noinclude>{{Citation/core/sandbox
This page is a list of test cases for [[Template:Cite journal/sandbox]], compared to [[Template:Citation]].
  |Citation class=news
 
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
When proposing changes to [[Template:Citation/core]], please ensure that [[Template:Cite journal/sandbox]] is using [[Template:Citation/core/sandbox]], and check that there are no unexpected effects on the template output.
  |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
 
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
;Current:{{cite journal
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
|author = Smith, R.E.
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
|coauthors=and Jones, P.I.}}
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
;Sandbox:{{cite journal/sandbox
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
|author = Smith, R.E.
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
|coauthors=and Jones, P.I.}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
 
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
;Current:{{cite journal|last=Campbell |first=Lyle |first2=Una|last2=Canger |year=1978 |contribution=Chicomuceltec's last throes |url=http://en.wikipedia.org |format=[[PDF]]|series=American linguistics series|title=International Journal of American Linguistics|location=Chicago, IL |publisher=University of Chicago Press|volume=44|issue=1|pages=228–230 |doi=10.1086/465548 |issn=0020-7071|accessdate=2008-09-30}}
  |Given2 = {{{first2|{{{given2|}}}}}}
;Sandbox:{{cite journal/sandbox |last=Campbell |first=Lyle|first2= Una|last2= Canger |year=1978 |contribution=Chicomuceltec's last throes |url=http://en.wikipedia.org |format=[[PDF]]|series=American linguistics series|title=International Journal of American Linguistics|location=Chicago, IL |publisher=University of Chicago Press|volume=44|issue=1|pages=228–230 |doi=10.1086/465548 |issn=1234567890|accessdate=2008-09-30}}
  |Given3 = {{{first3|{{{given3|}}}}}}
 
  |Given4 = {{{first4|{{{given4|}}}}}}
;Current:{{cite journal |last=Campbell |first=Lyle |year=1986|month=January |date=|title=A paper |journal=A Journal}}
  |Given5 = {{{first5|{{{given5|}}}}}}
;Sandbox:{{cite journal/sandbox |last=Campbell |first=Lyle |year=1986|month=January |date=|title=A paper |journal=A Journal}}
  |Given6 = {{{first6|{{{given6|}}}}}}
 
  |Given7 = {{{first7|{{{given7|}}}}}}
*<nowiki>{{cite journal}}</nowiki>:
  |Given8 = {{{first8|{{{given8|}}}}}}
{{cite journal|last=Müller|first=Erwin W.|authorlink=Erwin Müller|coauthors=[[J. A. Panitz|Panitz, John A.]]; [[McLane, S. Brooks]]|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
  |Given9 = {{{first9|{{{given9|}}}}}}
 
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
*<nowiki>{{cite journal/sandbox}}</nowiki>
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
{{cite journal/sandbox|last=Müller|first=Erwin W.|authorlink=Erwin Müller|coauthors=[[J. A. Panitz|Panitz, John A.]]; [[McLane, S. Brooks]]|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
 
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
*<nowiki>{{cite journal/sandbox}}</nowiki> with separtor=. and a terminal period added manually.
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
{{cite journal/sandbox|last=Müller|first=Erwin W.|authorlink=Erwin Müller|coauthors=[[J. A. Panitz|Panitz, John A.]]; [[McLane, S. Brooks]]|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116|separator=.}}.
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
 
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
*'''Current''' {{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}}
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
*'''Sandbox'''{{cite journal/sandbox |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}}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
With no URL
  |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
*'''Current''' {{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 }}
            #if: {{{date|}}}
*'''Sandbox'''{{cite journal/sandbox |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 }}
            |{{
;Status:{{fixed}}
                #iferror:{{#time:Y|{{{date|}}} }}
 
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
*'''Current''' {{cite journal|last=Müller|first=Erwin W.|authorlink=Erwin Müller|coauthors=[[J. A. Panitz|Panitz, John A.]]; [[McLane, S. Brooks]]|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
                |{{#time:Y|{{{date|}}} }}
*'''Sandbox''' {{cite journal/sandbox|last=Müller|first=Erwin W.|authorlink=Erwin Müller|coauthors=[[J. A. Panitz|Panitz, John A.]]; [[McLane, S. Brooks]]|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
              }}
 
            |{{{publication-date|}}} <!-- last resort -->
*'''Current''' {{cite journal|last=Müller|first=Erwin W.|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
          }}
*'''Sandbox''' {{cite journal/sandbox|last=Müller|first=Erwin W.|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
        }}}
 
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
*'''Current''' {{citation|last=Müller|first=Erwin W.|last2=Müller2|first2=Erwin W.|last3=Müller3|first3=Erwin W.|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
  |Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}}
 
  |URL={{{archiveurl|{{{url|}}}}}}
*'''Sandbox''' {{citation/sandbox|last=Müller|first=Erwin W.|last2=Müller2|first2=Erwin W.|last3=Müller3|first3=Erwin W.|year=1968|title=The Atom-Probe Field Ion Microscope|journal=Review of Scientific Instruments|volume=39|issue=1|pages=83–86|issn=0034-6748|doi=10.1063/1.1683116}}
  |Series={{{agency|}}}
  |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}
  |Volume = {{{volume|}}}
  |Issue = {{{issue|{{{number|}}}}}}
  |At = {{
          #if: {{{page|}}}
          |p.&nbsp;{{{page}}}
          |{{
              #if: {{{pages|}}}
              |pp.&nbsp;{{{pages}}}
              |{{{at|}}}
            }}
        }}
  |IncludedWorkTitle = {{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}||{{{title|}}}}}
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
  |Edition = {{{edition|}}}
  |Place = {{{place|{{{location|}}}}}}
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
  |Publisher = {{{publisher|}}}
  |PublicationDate = {{{publication-date|}}}
  |language = {{{language|{{{in|}}}}}}
  |format = {{{format|}}}
  |ID={{{id|{{{ID|}}}}}}
  |ISBN={{{isbn|{{{ISBN|}}}}}}
  |ISSN={{{issn|{{{ISSN|}}}}}}
  |OCLC={{{oclc|{{{OCLC|}}}}}}
  |PMID={{{pmid|{{{PMID|}}}}}}
  |PMC={{{pmc|{{{PMC|}}}}}}
  |Bibcode={{{bibcode|}}}
  |DOI={{{doi|{{{DOI|}}}}}}
  |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}|{{
    #if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
      #if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
      {{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
      }}
    }}
  }}
  |laysummary = {{{laysummary|}}}
  |quote = {{{quote|}}}
  |laydate = {{{laydate|}}}
  |Ref={{{ref|}}}
  |Sep = {{{separator|{{{seperator|.}}}}}}
  |Archive = {{
              #if:{{{archiveurl|}}}|Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}} {{#if:{{{archivedate|}}}| on {{{archivedate}}}|. You must specify the date the archive was made using the <code>archivedate=</code> parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
            }}
}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>

Latest revision as of 14:55, 3 February 2009

This page is a list of test cases for Template:Cite journal/sandbox, compared to Template:Citation.

When proposing changes to Template:Citation/core, please ensure that Template:Cite journal/sandbox is using Template:Citation/core/sandbox, and check that there are no unexpected effects on the template output.

Current
Smith, R.E.; and Jones, P.I.. 
Sandbox
Smith, R.E.; and Jones, P.I.. 
Current
Campbell, Lyle; Canger, Una (1978). "Chicomuceltec's last throes" (PDF). International Journal of American Linguistics. American linguistics series. 44. Chicago, IL: University of Chicago Press. pp. 228–230. doi:10.1086/465548. ISSN 0020-7071. http://en.wikipedia.org. Retrieved on 30 September 2008. 
Sandbox
Campbell, Lyle; Canger, Una (1978). "Chicomuceltec's last throes" (PDF). International Journal of American Linguistics. American linguistics series. 44. Chicago, IL: University of Chicago Press. pp. 228–230. doi:10.1086/465548. ISSN 1234567890. http://en.wikipedia.org. Retrieved on 30 September 2008. 
Current
Campbell, Lyle (January 1986). "A paper". A Journal. 
Sandbox
Campbell, Lyle (January 1986). "A paper". A Journal. 
  • {{cite journal}}:

Müller, Erwin W.; Panitz, John A.; McLane, S. Brooks (1968). "The Atom-Probe Field Ion Microscope". Review of Scientific Instruments 39 (1): 83–86. doi:10.1063/1.1683116. ISSN 0034-6748. 

  • {{cite journal/sandbox}}

Müller, Erwin W.; Panitz, John A.; McLane, S. Brooks (1968). "The Atom-Probe Field Ion Microscope". Review of Scientific Instruments 39 (1): 83–86. doi:10.1063/1.1683116. ISSN 0034-6748. 

  • {{cite journal/sandbox}} with separtor=. and a terminal period added manually.

Müller, Erwin W.; Panitz, John A.; McLane, S. Brooks (1968). "The Atom-Probe Field Ion Microscope". Review of Scientific Instruments 39 (1): 83–86. doi:10.1063/1.1683116. ISSN 0034-6748. .

With no URL

Status
Pictogram voting keep.svg Fixed
  • Current Müller, Erwin W.; Panitz, John A.; McLane, S. Brooks (1968). "The Atom-Probe Field Ion Microscope". Review of Scientific Instruments 39 (1): 83–86. doi:10.1063/1.1683116. ISSN 0034-6748. 
  • Sandbox Müller, Erwin W.; Panitz, John A.; McLane, S. Brooks (1968). "The Atom-Probe Field Ion Microscope". Review of Scientific Instruments 39 (1): 83–86. doi:10.1063/1.1683116. ISSN 0034-6748. 
  • Current Müller, Erwin W. (1968). "The Atom-Probe Field Ion Microscope". Review of Scientific Instruments 39 (1): 83–86. doi:10.1063/1.1683116. ISSN 0034-6748. 
  • Sandbox Müller, Erwin W. (1968). "The Atom-Probe Field Ion Microscope". Review of Scientific Instruments 39 (1): 83–86. doi:10.1063/1.1683116. ISSN 0034-6748. 
  • Current Müller, Erwin W.; Müller2, Erwin W.; Müller3, Erwin W. (1968), "The Atom-Probe Field Ion Microscope", Review of Scientific Instruments 39 (1): 83–86, doi:10.1063/1.1683116, ISSN 0034-6748 
  • Sandbox Müller, Erwin W.; Müller2, Erwin W.; Müller3, Erwin W. (1968), "The Atom-Probe Field Ion Microscope", Review of Scientific Instruments 39 (1): 83–86, doi:10.1063/1.1683116, ISSN 0034-6748.