Jump to content

Help:Citation Style 1/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wikid77 (talk | contribs) at 14:48, 5 March 2013 (Testcases: +example Cite_encyclopedia/old & /lua). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This page, for Citation Style 1 cite templates, contains testcases to show some typical examples.

Method: The testcases below show examples of typical parameters in use, in simple form, although not all combinations are shown here. In practice, the most crucial data is the common live data, for typical citations, because rare options might not be used, nor noticed, even with errors. Focus on typical cases, to catch the most important ones in the majority of articles.

Testcases

  • Using: {{...|title=Test typical data |author=John Doe | url=http://en.wikipedia.org | publisher=Wikimedia Foundation | location=California/Virginia | date=23 February 2013}}
  • Cite web/old: John Doe (23 February 2013). "Test typical data". California/Virginia: Wikimedia Foundation. http://en.wikipedia.org. 
  • Cite web/lua: John Doe (23 February 2013). "Test typical data". California/Virginia: Wikimedia Foundation.

  • Using: {{...|title=Test author+given |author=Author | given=Given | author2=Auth2 | given2=Given2 | author3=Auth3 | given3=Given3 | author4=Auth4 | given4=Given4 | author5=Auth5 | given5=Given5 | author6=Auth6 | given6=Given6 | author7=Auth7 | given7=Given7 | author8=Auth8 | given8=Given8 | author9=Auth9 | given9=Given9 | date=23 February 2013|postscript=. ''Author as last name''.}}
  • Cite web/old: Author, Given; Auth2, Given2; Auth3, Given3; Auth4, Given4; Auth5, Given5; Auth6, Given6; Auth7, Given7; Auth8, Given8 et al. (23 February 2013). "Test author+given". Author as last name. 
  • Cite web/lua: Author, Given; Auth2, Given2; Auth3, Given3; Auth4, Given4; Auth5, Given5; Auth6, Given6; Auth7, Given7; Auth8, Given8; Auth9, Given9 (23 February 2013). "Test author+given". Author as last name. {{cite web}}: |author= has generic name (help); Missing or empty |url= (help)CS1 maint: numeric names: authors list (link) CS1 maint: postscript (link)

  • Using: {{...|title=Test title data |last=Doe | given=J.B. | trans_title=Translated Title |format=PDF | type=Typer }}
  • Cite web/old: Doe, J.B.. "Test title data [Translated Title]" (PDF) (Typer). 
  • Cite web/lua: Doe, J.B. "Test title data" (Typer). {{cite web}}: |format= requires |url= (help); Missing or empty |url= (help); Unknown parameter |trans_title= ignored (|trans-title= suggested) (help)

  • Using: {{...|title=Test no-author title | trans_title=Translated Title |format=PDF | type=Typer | date=23 February 2013}}
  • Cite web/old: "Test no-author title [Translated Title]" (PDF) (Typer). 23 February 2013. 
  • Cite web/lua: "Test no-author title" (Typer). 23 February 2013. {{cite web}}: |format= requires |url= (help); Missing or empty |url= (help); Unknown parameter |trans_title= ignored (|trans-title= suggested) (help)

  • Using: {{...|title=Test title+editor |editor=Edie Tor | trans_title=Translated Title |format=PDF | type=Typer | date=23 February 2013}}
  • Cite web/old: Edie Tor, ed. (23 February 2013). "Test title+editor [Translated Title]" (PDF) (Typer). 
  • Cite web/lua: Edie Tor, ed. (23 February 2013). "Test title+editor" (Typer). {{cite web}}: |format= requires |url= (help); Missing or empty |url= (help); Unknown parameter |trans_title= ignored (|trans-title= suggested) (help)

  • Using: {{...|title=Test Book Data |last=Doe |given=J. | publisher=Acme |location=Chicago, IL |date=March 1969 |pages=47 }}
  • Cite book/old: Doe, J. (March 1969). Test Book Data. Chicago, IL: Acme. pp. 47. 
  • Cite book/lua: Template:Cite book/lua

  • Using: {{...|title=Test Book Chapter |last=Doe |given=J. |chapter=Part 1|publisher=Acme|place=Chicago|date=May 1969 |pages=47}}
  • Cite book/old: Doe, J. (May 1969). "Part 1". Test Book Chapter. Chicago: Acme. pp. 47. 
  • Cite book/lua: Template:Cite book/lua

  • Using: {{...|title=Test Book Editor |last=Dawson | first=R. | editor=Edie Tor | chapter=Adrift | publisher=Acme |place=London |date=June 1913 |pages=96 }}
  • Cite book/old: Dawson, R. (June 1913). "Adrift". In Edie Tor. Test Book Editor. London: Acme. pp. 96. 
  • Cite book/lua: Template:Cite book/lua

  • Using: {{...| |last=Doe |first=J.B. |authorlink=John Doe|editor-first=Edie |editor-last=Tor |editor-link=Editor |encyclopedia=My Encyclopaedia |title=Mein Artikel |trans_title=My Article |url=http://www.aeiou.com |accessdate=5 March 2013 |language=German |edition=2012 |date=1 December 2012 |year= |month= |publisher=AEIOU Staff |volume=IV |location=Vienna |id= |isbn=1234567890 |oclc=Oclc 45 |doi=10.DOI_number |pages=77 |quote=This is a direct quote |ref=harv}}
  • Cite encyclopedia/old: Doe, J.B. (1 December 2012). "Mein Artikel". In Tor, Edie (in German). My Encyclopaedia [My Article]. IV (2012 ed.). Vienna: AEIOU Staff. pp. 77. doi:10.DOI_number. ISBN 1234567890 Parameter error in {{ISBN}}: checksum. OCLC 45 Oclc 45. http://www.aeiou.com. Retrieved 5 March 2013. "This is a direct quote" 
  • Cite encyclopedia/lua: Doe, J.B. (1 December 2012). "Mein Artikel". In Tor, Edie (ed.). My Encyclopaedia (in German). Vol. IV (2012 ed.). Vienna: AEIOU Staff. p. 77. doi:10.DOI_number. ISBN 1234567890. OCLC Oclc 45. Retrieved 5 March 2013. This is a direct quote {{cite encyclopedia}}: Check |doi= value (help); Check |isbn= value: checksum (help); Check |oclc= value (help); Cite has empty unknown parameter: |month= (help); Invalid |ref=harv (help); Unknown parameter |trans_title= ignored (|trans-title= suggested) (help)

Other examples, to show typical parameters in use, should be added above.

See also