Jump to content

Help:Citation Style 1/test parameters

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wikid77 (talk | contribs) at 05:44, 23 February 2013 (created, as a Wikipedia essay, to explain using testcases to show all parameters of wp:CS1 cite templates.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This page, for Citation Style 1 cite templates, such as {cite_web} or {cite_book}, contains testcases to show all the various parameters.

Method: The testcases here show the appearance of every possible parameter, in simple form, although not all combinations are shown here.

Testcases

  • Using: {{...|title=Test authors | author=Author | author2=Auth2 | author3=Auth3 | author4=Auth4 | author5=Auth5 | author6=Auth6 | author7=Auth7 | author8=Auth8 | author9=Auth9 | date=23 February 2013|postscript=. ''No first names''.}}
  • Cite web/old: Author; Auth2; Auth3; Auth4; Auth5; Auth6; Auth7; Auth8 et al. (23 February 2013). "Test authors". No first names. 
  • Cite web/lua: Author; Auth2; Auth3; Auth4; Auth5; Auth6; Auth7; Auth8; Auth9 (23 February 2013). "Test authors". No first names. {{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 last names |last=Last | first=First | last2=Last2 | first2=First2 | last3=Last3 | first3=First3 | last4=Last4 | first4=First4 | last5=Last5 | first5=First5 | last6=Last6 | first6=First6 | last7=Last7 | first7=First7 | last8=Last8 | first8=First8 | last9=Last9 | first9=First9 | last10=Last10 | first10=First10 | date=23 February 2013}}
  • Cite web/old: Last, First; Last2, First2; Last3, First3; Last4, First4; Last5, First5; Last6, First6; Last7, First7; Last8, First8 et al. (23 February 2013). "Test last names". 
  • Cite web/lua: Last, First; Last2, First2; Last3, First3; Last4, First4; Last5, First5; Last6, First6; Last7, First7; Last8, First8; Last9, First9; Last10, First10 (23 February 2013). "Test last names". {{cite web}}: Missing or empty |url= (help)CS1 maint: numeric names: authors list (link)

  • Using: {{...|title=Test surnames |last=Name | given=Given | surname2=Name2 | given2=Given2 | surname3=Name3 | given3=Given3 | surname4=Name4 | given4=Given4 | surname5=Name5 | given5=Given5 | surname6=Name6 | given6=Given6 | surname7=Name7 | given7=Given7 | surname8=Name8 | given8=Given8 | surname9=Name9 | given9=Given9 | surname10=Name10 | given10=Given10 | date=23 February 2013}}
  • Cite web/old: Name, Given; Name2, Given2; Name3, Given3; Name4, Given4; Name5, Given5; Name6, Given6; Name7, Given7; Name8, Given8 et al. (23 February 2013). "Test surnames". 
  • Cite web/lua: Name, Given; Name2, Given2; Name3, Given3; Name4, Given4; Name5, Given5; Name6, Given6; Name7, Given7; Name8, Given8; Name9, Given9; Name10, Given10 (23 February 2013). "Test surnames". {{cite web}}: Missing or empty |url= (help)CS1 maint: numeric names: authors list (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)

Other examples, to show all parameters, should be added above.

See also