Help:Citation Style 1/testcases
Appearance
![]() | This is an essay. It contains the advice or opinions of one or more Wikipedia contributors. This page is not an encyclopedia article, nor is it one of Wikipedia's policies or guidelines, as it has not been thoroughly vetted by the community. Some essays represent widespread norms; others only represent minority viewpoints. |
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)
Other examples, to show typical parameters in use, should be added above.
See also
- wp:CS1/test_parameters - list of cites to show each parameter
- wp:CS1/test_basics - list of cites to show basic, typical examples
- wp:CS1/test_problems - list of cites which test known problems/fixes