සැකිල්ල:Cite news/testcases
Appearance
(සැකිල්ල:Cite news/test cases වෙතින් යළි-යොමු කරන ලදි)
This is the template test cases page for the sandbox of සැකිල්ල:Cite news. Purge this page to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
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 (Language බසින්). Location: Publisher. Agency. p. Page. ID. ARchiveDate දින මුල් පිටපත (Format) වෙතින් සංරක්ෂණය කරන ලදී. සම්ප්රවේශය 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 |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)ττττττ
| ||||
|
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. සම්ප්රවේශය 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)ττ
| ||||
|
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. සම්ප්රවේශය 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)τ
| ||||
|
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. සම්ප්රවේශය 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)τ
| ||||
|
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. සම්ප්රවේශය 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)τ
| ||||
|
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)τ
| ||||
|
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)τ
| ||||
|
Archiving
[සංස්කරණය]Using archiveurl and archivedate to refer to items that went away but are available from an archive site | ||||
---|---|---|---|---|
{{cite news | author=Staff writer | title=News | url=http://www.example.org/News.pdf | format=PDF | publisher=News co. | pages= 37–39 | date=21 November 2005 | accessdate=11 December 2005 | archiveurl=https://web.archive.org/web/20070628082911/http://www.example.org/News.pdf | archivedate=28 June 2008 }} | ||||
Staff writer (21 November 2005). "News" (PDF). News co. pp. 37–39. 28 June 2008 දින මුල් පිටපත (PDF) වෙතින් සංරක්ෂණය කරන ලදී. සම්ප්රවේශය 11 December 2005. {{cite news}} : |archive-date= / |archive-url= timestamp mismatch; $1 suggested (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
| ||||
Staff writer (21 November 2005). "News" (PDF). News co. pp. 37–39. Archived from the original (PDF) on 28 June 2008. Retrieved 11 December 2005. {{cite news}} : |archive-date= / |archive-url= timestamp mismatch; 28 ජූනි 2007 suggested (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)ττ
| ||||
|
Error when blank url specified: archiveurl and archivedate to refer to items that went away but are available from an archive site | ||||
---|---|---|---|---|
{{cite news | author=Staff writer | title=News | url= | format=PDF | publisher=News co. | pages= 37–39 | date=21 November 2005 | accessdate=11 December 2005 | archiveurl=https://web.archive.org/web/20070628082911/http://www.example.org/News.pdf | archivedate=28 June 2008 }} | ||||
Staff writer (21 November 2005). "News". News co. pp. 37–39. {{cite news}} : |access-date= requires |url= (help); |archive-date= / |archive-url= timestamp mismatch; $1 suggested (help); |archive-url= requires |url= (help); |format= requires |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
| ||||
Staff writer (21 November 2005). "News" (PDF). News co. pp. 37–39. {{cite news}} : |access-date= requires |url= (help); |archive-date= / |archive-url= timestamp mismatch; 28 ජූනි 2007 suggested (help); |archive-url= requires |url= (help); |format= requires |url= (help); Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)τττττ
| ||||
|
Date formatting problems | ||||
---|---|---|---|---|
{{cite news |title = All Hope Is Gone is #1!! |publisher = Sparkart |date = 2008-09-03 |url = https://www.webcitation.org/5aYydJpQI |accessdate = 2008-09-03}} | ||||
"All Hope Is Gone is #1!!". Sparkart. 2008-09-03. සම්ප්රවේශය 2008-09-03. {{cite news}} : Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)
| ||||
"All Hope Is Gone is #1!!". Sparkart. 2008-09-03. Retrieved 2008-09-03. {{cite news}} : Unknown parameter |template doc demo= ignored (|no-tracking= suggested) (help)τ
| ||||
|