Wikipedia:CS1/test parameters

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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[edit]

  • Using: {{... |title=Test Many Parameters |author=Author |author-link=Hyperlink#author |coauthor=Coauthor |others=Others |editormask= |editorformat=EditorFmt |editors=Editors |year =Year |publicationdate=Publicationdate |origyear=Origyear |date= |laydate=Laydate |booktitle=Booktitle |conference=Conference |trans_title=trans_title |department=Department |titlelink=Hyperlink#title |chapter=Chapter |chapterlink=Hyperlink#chapter |trans_chapter=trans_chapter |type=Type |archiveurl=http://archiveurl.com |url=http://url.com |chapterurl=http://chapterurl.com |conferenceurl=http://confurl.com |journal=Journal |series=Series |volume=Volume |issue=Issue |page=page |pages=pages |pp=pp |at=at |edition=Edition |place=Place |publisher=Publisher |subscription=Subscription |via=Via |accessdate=Accessdate |archivedate=Archivedate |agency=Agency |deadurl=deadurl |language=Language |format=Format |ref=harv |arxiv=ArXiv |asin=ASIN |asin-tld=ASIN-tld |bibcode=Bibcode |doi=10.DOI |doi_inactivedate=doi_inactivedate |id=Id |isbn=Isbn |issn=Issn |jfm=JFM |jstor=Jstor |lccn=LCCN |mr=MR |oclc=OCLC |ol=OL |osti=OSTI |pmc=PMC |pmid=PMID |rfc=RFC |ssrn=SSRN |zbl=ZBL |quote=Quote |postscript=Postscript |laysummary=Laysummary |laysource=Laysource |transcript=Transcript |transcripturl=http://transcripturl.com }}
  • Cite journal/old: Author; Coauthor (Year) [Origyear]. Chapter. In Editors. Others. "Test Many Parameters [trans_title]". Department (in Language) (Format). Journal. Series (Place: Publisher) Volume (Issue): page. arXiv:ArXiv. ASIN ASIN. Bibcode Bibcode. doi:10.DOI (inactive doi_inactivedate). ISBN IsbnCheck ISBN. ISSN Issn. JFM JFM. JSTOR Jstor. LCCN LCCN. MR MR. OCLC OCLC. Error: Bad OL specified!. OSTI OSTI. PMC PMC. PMID PMID. RFC RFC. SSRN SSRN. Zbl ZBL. Id. Archived from the original on Archivedate. http://chapterurl.com. Retrieved Accessdate. [Laysummary Lay summary] – Laysource (Laydate). "Quote" 
  • Cite journal/lua: Author; Coauthor (Year) [Origyear]. Editors, eds. Others. "Test Many Parameters" [trans_title]. Department. http://confurl.com |conferenceurl= missing title (help). Journal (Format) (Type). Series (in Language) (Edition ed.). Place: Publisher (published Publicationdate). Agency. Volume (Issue): page. arXiv:ArXivFreely accessible Check |arxiv= value (help). ASIN ASIN Check |asin= value (help). Bibcode:Bibcode Check |bibcode= length (help). doi:10.DOI (inactive doi_inactivedate) Check |doi= value (help). ISBN Isbn Check |isbn= value: invalid character (help). ISSN Issn Check |issn= value (help). JFM JFM. JSTOR Jstor. LCCN LCCN Check |lccn= value (help). MR MR. OCLC OCLC Check |oclc= value (help). OL OL Check |ol= value (help). OSTI OSTI. PMC PMCFreely accessible Check |pmc= value (help). PMID PMID Check |pmid= value (help). RFC RFCFreely accessible. SSRN SSRNFreely accessible. Zbl ZBL. Id http://url.com |url= missing title (help). Archived from the original on Archivedate. Retrieved Accessdate – via Via. [Laysummary Lay summary] Check |laysummary= value (help)Laysource (Laydate). Quote  Unknown parameter |chapterlink= ignored (help); Unknown parameter |editorformat= ignored (help); Cite uses deprecated parameter |coauthor= (help); Invalid |dead-url=deadurl (help); More than one of |pages= and |pp= specified (help); Invalid |subscription=Subscription (help); More than one of |pp=, |pages=, |at=, and |page= specified (help); Check date values in: |lay-date=, |doi-broken-date=, |access-date=, |date=, |archive-date=, |publication-date= (help); |chapter= ignored (help)

  • Using: {{... |title=Test Cite_news Parameters |author=Author |author-link=Hyperlink#author |coauthor=Coauthor |others=Others |origyear=Origyear |date=Date |laydate=Laydate |conference=Conference |trans_title=trans_title |department=Department |titlelink=Hyperlink#title |type=Type |archiveurl=http://archiveurl.com |url=http://url.com |newspaper=Newpaper Name |series=Series |volume=Volume |issue=Issue |page=page |pages=B4 |at=at |edition=Edition |place=Place |publisher=Publisher |subscription=Subscription |via=Via |accessdate=Accessdate |archivedate=Archivedate |agency=Agency |deadurl=deadurl |language=Language |format=Format |ref=harv |arxiv=ArXiv |asin=ASIN |asin-tld=ASIN-tld |bibcode=Bibcode |doi=10.DOI |doi_inactivedate=doi_inactivedate |id=Id |isbn=Isbn |issn=Issn |jfm=JFM |jstor=Jstor |lccn=LCCN |mr=MR |oclc=OCLC |osti=OSTI |pmc=PMC |pmid=PMID |rfc=RFC |ssrn=SSRN |zbl=ZBL |quote=Quote |postscript=Postscript |laysummary=Laysummary |laysource=Laysource |transcript=Transcript |transcripturl=http://transcripturl.com }}
  • Cite news/old: Author; Coauthor (Date) [Origyear]. "Test Cite_news Parameters [trans_title]". Department (in Language) (Format). Newpaper Name. Agency (Place: Publisher) Volume (Issue): p. page. arXiv:ArXiv. ASIN ASIN. Bibcode Bibcode. doi:10.DOI (inactive doi_inactivedate). ISBN IsbnCheck ISBN. ISSN Issn. JFM JFM. JSTOR Jstor. LCCN LCCN. MR MR. OCLC OCLC. OSTI OSTI. PMC PMC. PMID PMID. RFC RFC. SSRN SSRN. Zbl ZBL. Id. Archived from the original on Archivedate. http://archiveurl.com. Retrieved Accessdate. [Laysummary Lay summary] – Laysource (Laydate). "Quote" 
  • Cite news/lua: Lua error in Module:Citation/CS1/sandbox at line 3041: Tried to read nil global Access.

  • Using: {{...|title=Test month/day/year |last=Doe | given=J.B. | year=1969 | month=July |day=20 }}
  • Cite web/old: Doe, J.B. (20 July 1969). "Test month/day/year". 
  • Cite web/lua: Doe, J.B. (1969). "Test month/day/year".  Unknown parameter |month= ignored (help); Unknown parameter |day= ignored (help);

  • Using: {{... |title=Test Blank Parameters |coauthor= |others= |editormask= |editorformat= |editors= |year = |publicationdate= |origyear= |date= |laydate= |booktitle= |conference= |trans_title= |department= |titlelink= |chapter= |chapterlink= |trans_chapter= |type= |archiveurl= |url= |chapterurl= |conferenceurl= |journal= |series= |volume= |issue= |page= |pages= |pp= |at= |edition= |place= |publisher= |subscription= |via= |accessdate= |archivedate= |agency= |deadurl= |language= |format= |ref= |arxiv= |asin= |ASIN-TLD= |bibcode= |doi= |doi_inactivedate= |id= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |quote= |postscript= |laysummary= |laysource= |transcript= |transcripturl= }}
  • Cite web/old: "Test Blank Parameters" 
  • Cite web/lua: "Test Blank Parameters". 

  • 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. 

  • 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". 


  • Using: {{...|title=Test author<n>-link | last=Last | first=First | author1-link=1001 | author2-link = 1002 | author3-link = 1003 | author4-link = 1004 | author5-link = 1005 | author6-link = 1006 | author7-link = 1007 | author8-link = 1008 | author9-link = 1009 | author10-link = 1010 | display-authors=10 | 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=26 February 2013}}
  • Cite web/old: Last, First (26 February 2013). "Test author<n>-link". 
  • Cite web/lua: Last, First; Last2, First2; Last3, First3; Last4, First4; Last5, First5; Last6, First6; Last7, First7; Last8, First8; Last9, First9; Last10, First10 (26 February 2013). "Test author<n>-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". 

  • Using: {{...|title=Test 41 authors |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 | author10=Auth10 | given10=Given10 | author11=Auth11 | given11=Given11 | author12=Auth12 | given12=Given12 | author13=Auth13 | given13=Given13 | author14=Auth14 | given14=Given14 | author15=Auth15 | given15=Given15 | author16=Auth16 | given16=Given16 | author17=Auth17 | given17=Given17 | author18=Auth18 | given18=Given18 | author19=Auth19 | given19=Given19 | author20=Auth20 | given20=Given20 | author21=Auth21 | given21=Given21 | author22=Auth22 | given22=Given22 | author23=Auth23 | given23=Given23 | author24=Auth24 | given24=Given24 | author25=Auth25 | given25=Given25 | author26=Auth26 | given26=Given26 | author27=Auth27 | given27=Given27 | author28=Auth28 | given28=Given28 | author29=Auth29 | given29=Given29 | author30=Auth30 | given30=Given30 | author31=Auth31 | given31=Given31 | author32=Auth32 | given32=Given32 | author33=Auth33 | given33=Given33 | author34=Auth34 | given34=Given34 | author35=Auth35 | given35=Given35 | author36=Auth36 | given36=Given36 | author37=Auth37 | given37=Given37 | author38=Auth38 | given38=Given38 | author39=Auth39 | given39=Given39 | author40=Auth40 | given40=Given40 | author41=Auth41 | given41=Given41 | display-authors=41 | 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 41 authors". 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; Auth10, Given10; Auth11, Given11; Auth12, Given12; Auth13, Given13; Auth14, Given14; Auth15, Given15; Auth16, Given16; Auth17, Given17; Auth18, Given18; Auth19, Given19; Auth20, Given20; Auth21, Given21; Auth22, Given22; Auth23, Given23; Auth24, Given24; Auth25, Given25; Auth26, Given26; Auth27, Given27; Auth28, Given28; Auth29, Given29; Auth30, Given30; Auth31, Given31; Auth32, Given32; Auth33, Given33; Auth34, Given34; Auth35, Given35; Auth36, Given36; Auth37, Given37; Auth38, Given38; Auth39, Given39; Auth40, Given40; Auth41, Given41 (23 February 2013). "Test 41 authors". Author as last name. 

  • 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" [Translated Title] (PDF) (Typer). 

  • 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" [Translated Title] (PDF) (Typer). 23 February 2013. 

  • 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" [Translated Title] (PDF) (Typer). 

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

See also[edit]

  • 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