Template:Cite news/testcases

Full template
{{cite news |first= First|last= Last|authorlink= Link|author= Author|coauthors= Coauthors|title= Title|department= Department|url= http://url.com|format= Format|agency=Agency |work= Work|publisher= Publisher|location= Location|id= ID|page= Page|date= Date|accessdate=29 November 2008 |language= Language|quote= Quote|archiveurl= archiveURL|archivedate= ARchiveDate}}
Last, First (Date). "Title". Department. Work (in Language). Location: Publisher. Agency. p. Page. ID. Archived from the original (Format) on ARchiveDate. Retrieved 29 November 2008. Quote {{cite news}}: Check |archiveurl= value (help); Check date values in: |date= and |archivedate= (help); More than one of |author= and |last= specified (help); Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)CS1 maint: unrecognized language (link)
Last, First (Date). "Title". Work (in Language). Location: Publisher. Agency. p. Page. ID. Archived from the original (Format) on ARchiveDate. Retrieved 29 November 2008. Quote {{cite news}}: Check date values in: |date= and |archivedate= (help); More than one of |author= and |last= specified (help); Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)CS1 maint: unrecognized language (link)
Expanded code
'"`UNIQ--templatestyles-00000006-QINU`"'<cite id="CITEREFLast" class="citation news cs1">[[Link|Last, First]] (Date). [http://archiveURL "Title"]. Department. ''Work'' (in Language). Location: Publisher. Agency. p.&nbsp;Page. ID. Archived from [http://url.com the original] <span class="cs1-format">(Format)</span> on ARchiveDate<span class="reference-accessdate">. Retrieved <span class="nowrap">29 November</span> 2008</span>. <q>Quote</q></cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Work&rft.atitle=Title&rft.pages=Page&rft.aulast=Last&rft.aufirst=First&rft_id=http%3A%2F%2Furl.com&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Check <code class="cs1-code">&#124;archiveurl=</code> value ([[Help:CS1 errors#bad_url|help]])</span>; <span class="cs1-visible-error citation-comment">Check date values in: <code class="cs1-code">&#124;date=</code> and <code class="cs1-code">&#124;archivedate=</code> ([[Help:CS1 errors#bad_date|help]])</span>; <span class="cs1-visible-error citation-comment">More than one of <code class="cs1-code">&#124;author=</code> and <code class="cs1-code">&#124;last=</code> specified ([[Help:CS1 errors#redundant_parameters|help]])</span>; <span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;coauthors=</code> ignored (<code class="cs1-code">&#124;author=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>; <span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span><span class="cs1-maint citation-comment">CS1 maint: unrecognized language ([[:Category:CS1 maint: unrecognized language|link]])</span>
'"`UNIQ--templatestyles-00000008-QINU`"'<cite id="CITEREFLast" class="citation news cs1">[[Link|Last, First]] (Date). [http://archiveURL "Title"]. ''Work'' (in Language). Location: Publisher. Agency. p.&nbsp;Page. ID. Archived from [http://url.com the original] <span class="cs1-format">(Format)</span> on ARchiveDate<span class="reference-accessdate">. Retrieved <span class="nowrap">29 November</span> 2008</span>. <q>Quote</q></cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Work&rft.atitle=Title&rft.pages=Page&rft.aulast=Last&rft.aufirst=First&rft_id=http%3A%2F%2Furl.com&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Check date values in: <code class="cs1-code">&#124;date=</code> and <code class="cs1-code">&#124;archivedate=</code> ([[Help:CS1 errors#bad_date|help]])</span>; <span class="cs1-visible-error citation-comment">More than one of <code class="cs1-code">&#124;author=</code> and <code class="cs1-code">&#124;last=</code> specified ([[Help:CS1 errors#redundant_parameters|help]])</span>; <span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;coauthors=</code> ignored (<code class="cs1-code">&#124;author=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>; <span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span><span class="cs1-maint citation-comment">CS1 maint: unrecognized language ([[:Category:CS1 maint: unrecognized language|link]])</span>
Using first and last to identify the author, and id to supply the ISSN
{{cite news
| first=John
| last=Doe
| title=News
| url=http://www.example.org/
| work=Encyclopedia of Things
| publisher=News co.
| location=Toronto
| pages= 37–39
| date=21 November 2005
| ISSN=0028–0836
| accessdate=11 December 2005
}}
Doe, John (21 November 2005). "News". Encyclopedia of Things. Toronto: News co. pp. 37–39. ISSN 0028–0836. Retrieved 11 December 2005. {{cite news}}: Check |issn= value (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Doe, John (21 November 2005). "News". Encyclopedia of Things. Toronto: News co. pp. 37–39. ISSN 0028–0836. Retrieved 11 December 2005. {{cite news}}: Check |issn= value (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Expanded code
'"`UNIQ--templatestyles-0000000F-QINU`"'<cite id="CITEREFDoe2005" class="citation news cs1">Doe, John (21 November 2005). [http://www.example.org/ "News"]. ''Encyclopedia of Things''. Toronto: News co. pp.&nbsp;37–39. [[ISSN (identifier)|ISSN]]&nbsp;[https://search.worldcat.org/issn/0028–0836 0028–0836]<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Encyclopedia+of+Things&rft.atitle=News&rft.pages=37-39&rft.date=2005-11-21&rft.aulast=Doe&rft.aufirst=John&rft_id=http%3A%2F%2Fwww.example.org%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Check <code class="cs1-code">&#124;issn=</code> value ([[Help:CS1 errors#bad_issn|help]])</span>; <span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
'"`UNIQ--templatestyles-00000010-QINU`"'<cite id="CITEREFDoe2005" class="citation news cs1">Doe, John (21 November 2005). [http://www.example.org/ "News"]. ''Encyclopedia of Things''. Toronto: News co. pp.&nbsp;<span class="nowrap">37–</span>39. [[ISSN (identifier)|ISSN]]&nbsp;[https://search.worldcat.org/issn/0028–0836 0028–0836]<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Encyclopedia+of+Things&rft.atitle=News&rft.pages=%3Cspan+class%3D%22nowrap%22%3E37-%3C%2Fspan%3E39&rft.date=2005-11-21&rft.aulast=Doe&rft.aufirst=John&rft_id=http%3A%2F%2Fwww.example.org%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Check <code class="cs1-code">&#124;issn=</code> value ([[Help:CS1 errors#bad_issn|help]])</span>; <span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
Using author instead of first and last, and adding a news agency
{{cite news
| author=Staff writer
| title=News
| url=http://www.example.org/News.pdf
| format=PDF
| agency=Wireservice
| publisher=News co.
| pages= 37–39
| date=21 November 2005
| accessdate=11 December 2005
}}
Staff writer (21 November 2005). "News" (PDF). News co. Wireservice. pp. 37–39. Retrieved 11 December 2005. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Staff writer (21 November 2005). "News" (PDF). News co. Wireservice. pp. 37–39. Retrieved 11 December 2005. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Expanded code
'"`UNIQ--templatestyles-00000015-QINU`"'<cite id="CITEREFStaff_writer2005" class="citation news cs1">Staff writer (21 November 2005). [http://www.example.org/News.pdf "News"] <span class="cs1-format">(PDF)</span>. News co. Wireservice. pp.&nbsp;37–39<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=News&rft.pages=37-39&rft.date=2005-11-21&rft.au=Staff+writer&rft_id=http%3A%2F%2Fwww.example.org%2FNews.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
'"`UNIQ--templatestyles-00000016-QINU`"'<cite id="CITEREFStaff_writer2005" class="citation news cs1">Staff writer (21 November 2005). [http://www.example.org/News.pdf "News"] <span class="cs1-format">(PDF)</span>. News co. Wireservice. pp.&nbsp;<span class="nowrap">37–</span>39<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=News&rft.pages=%3Cspan+class%3D%22nowrap%22%3E37-%3C%2Fspan%3E39&rft.date=2005-11-21&rft.au=Staff+writer&rft_id=http%3A%2F%2Fwww.example.org%2FNews.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
Using authorlink to link to the author’s article
{{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.example.org/background
| format=Reprint
| publisher=News co.
| date=21 November 2005
| accessdate=11 December 2005
}}
Doe, John (21 November 2005). "News" (Reprint). News co. Retrieved 11 December 2005. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Doe, John (21 November 2005). "News" (Reprint). News co. Retrieved 11 December 2005. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Expanded code
'"`UNIQ--templatestyles-0000001B-QINU`"'<cite id="CITEREFDoe2005" class="citation news cs1">[[John Doe|Doe, John]] (21 November 2005). [http://www.example.org/background "News"] <span class="cs1-format">(Reprint)</span>. News co<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=News&rft.date=2005-11-21&rft.aulast=Doe&rft.aufirst=John&rft_id=http%3A%2F%2Fwww.example.org%2Fbackground&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
'"`UNIQ--templatestyles-0000001C-QINU`"'<cite id="CITEREFDoe2005" class="citation news cs1">[[John Doe|Doe, John]] (21 November 2005). [http://www.example.org/background "News"] <span class="cs1-format">(Reprint)</span>. News co<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=News&rft.date=2005-11-21&rft.aulast=Doe&rft.aufirst=John&rft_id=http%3A%2F%2Fwww.example.org%2Fbackground&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
Using format
{{cite news
| title=News
| url=http://www.example.org/Archive/News
| format=Fee required
| publisher=News co.
| date=21 November 2005
| accessdate=11 December 2005
}}
"News" (Fee required). News co. 21 November 2005. Retrieved 11 December 2005. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
"News" (Fee required). News co. 21 November 2005. Retrieved 11 December 2005. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Expanded code
'"`UNIQ--templatestyles-00000021-QINU`"'<cite class="citation news cs1">[http://www.example.org/Archive/News "News"] <span class="cs1-format">(Fee required)</span>. News co. 21 November 2005<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=News&rft.date=2005-11-21&rft_id=http%3A%2F%2Fwww.example.org%2FArchive%2FNews&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
'"`UNIQ--templatestyles-00000022-QINU`"'<cite class="citation news cs1">[http://www.example.org/Archive/News "News"] <span class="cs1-format">(Fee required)</span>. News co. 21 November 2005<span class="reference-accessdate">. Retrieved <span class="nowrap">11 December</span> 2005</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=News&rft.date=2005-11-21&rft_id=http%3A%2F%2Fwww.example.org%2FArchive%2FNews&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
Using page to identify the reference by page
{{cite news
| first=John
| last=Doe
| title=FooBar
| page=1
}}
Doe, John. "FooBar". p. 1. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Doe, John. "FooBar". p. 1. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Expanded code
'"`UNIQ--templatestyles-00000027-QINU`"'<cite id="CITEREFDoe" class="citation news cs1">Doe, John. "FooBar". p.&nbsp;1.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=FooBar&rft.pages=1&rft.aulast=Doe&rft.aufirst=John&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
'"`UNIQ--templatestyles-00000028-QINU`"'<cite id="CITEREFDoe" class="citation news cs1">Doe, John. "FooBar". p.&nbsp;1.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=FooBar&rft.pages=1&rft.aulast=Doe&rft.aufirst=John&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
A very simple citation
{{cite news
| title=FooBar
| page=1
}}
"FooBar". p. 1. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
"FooBar". p. 1. {{cite news}}: Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
Expanded code
'"`UNIQ--templatestyles-0000002D-QINU`"'<cite class="citation news cs1">"FooBar". p.&nbsp;1.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=FooBar&rft.pages=1&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>
'"`UNIQ--templatestyles-0000002E-QINU`"'<cite class="citation news cs1">"FooBar". p.&nbsp;1.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=FooBar&rft.pages=1&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3ACite+news%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{[[Template:cite news|cite news]]}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;template doc demo=</code> ignored (<code class="cs1-code">&#124;no-tracking=</code> suggested) ([[Help:CS1 errors#parameter_ignored_suggest|help]])</span>

Developed by StudentB