Template:Cite news/doc: Difference between revisions

[unchecked revision][checked revision]
Content deleted Content added
m 1 revision imported
No edit summary
Tag: 2017 source edit
 
Line 10:
{{csdoc|usage common}}
;To cite a news article with a credited author
<code><nowikisyntaxhighlight lang="wikitext" inline>{{cite news |last= |first= |date= |title= |url= |work= |location= |access-date=}}</nowiki></codesyntaxhighlight>
 
<br />
;To cite a news article with no credited author
<code><nowikisyntaxhighlight lang="wikitext" inline>{{cite news |author=<!--not stated--> |date= |title= |url= |work= |location= |access-date=}}</nowiki></codesyntaxhighlight>
 
<br />
;To cite an online news article that has been archived
<code><nowikisyntaxhighlight lang="wikitext" inline>{{cite news |last= |first= |date= |title= |url= |url-status= |work= |location= |archive-url= |archive-date= |access-date=}}</nowiki></codesyntaxhighlight>
 
<br />
;To cite a news article written in a foreign language
<code><nowikisyntaxhighlight lang="wikitext" inline>{{cite news |last= |first= |date= |title= |trans-title= |url= |language= |work= |location= |access-date=}}</nowiki></codesyntaxhighlight>
;To cite and quote an archived news article clipped with an information aggregation service requiring a subscription
<code><nowikisyntaxhighlight lang="wikitext" inline>{{cite news |last1= |first1= |last2= |first2= |date= |title= |trans-title= |url= |url-status= |language= |work= |location= |archive-url= |archive-date= |access-date= |via= |quote=}}</nowiki></codesyntaxhighlight>
{{end}}
 
{{csdoc|usage full}}
:<code><nowikisyntaxhighlight lang="wikitext" inline>{{cite news |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |display-authors= |author-mask= |name-list-style= |date= |year= |orig-date= |title= |script-title= |trans-title= |url= |url-status= |format= |editor1-last= |editor1-first= |editor1-link= |editor2-last= |editor2-first= |editor2-link= |editor3-last= |editor3-first= |editor3-link= |editor4-last= |editor4-first= |editor4-link= |editor5-last= |editor5-first= |editor5-link= |display-editors= |department= |work= |type= |series= |language= |volume= |issue= |others= |edition= |location= |publisher= |publication-date= |agency= |page= |pages= |at= |no-pp= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |archive-url= |archive-date= |access-date= |via= |url-access= |quote= |trans-quote= |postscript= |ref=}}</nowiki></codesyntaxhighlight>
{{end}}
 
{{csdoc|usage vertical common}}
;To cite a news article with a credited author
<presyntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
| last =
Line 41:
| access-date =
}}
</syntaxhighlight>
</pre>
;To cite a news article with no credited author
<presyntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
| author =<!--not stated-->
Line 53:
| access-date =
}}
</syntaxhighlight>
</pre>
;To cite an online news article that has been archived
<presyntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
| last =
Line 69:
| access-date =
}}
</syntaxhighlight>
</pre>
;To cite a news article written in a foreign language
<presyntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
| last =
Line 84:
| access-date =
}}
</syntaxhighlight>
</pre>
;To cite and quote a clipped and archived news article on an information aggregation service requiring a subscription
<presyntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
| last1 =
Line 108:
| quote =
}}
</syntaxhighlight>
</pre>
{{end}}
 
Line 403:
===Choosing between {{tlf|Cite web}} and {{tlf|Cite news}}===
{{anchor|Consistency}}
Before 2014Previously, editors needed to decide whether to use {{tl|Cite web}} or {{tlf|Cite news}} based on their features. In 2014, however, ''most of'' the differences between the two templates were eliminated.
 
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|Cite web}} and {{tlf|Cite news}} have the following differences:
Line 415:
-->
{|
| '''Cite web''': || {{cite web |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015|ref=none}}
|-
| '''Cite news''': || {{cite news |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015|ref=none}}
|}
 
==Examples==
; A news article with a credited author
: <code><nowiki>{{cite news |last=Wolford |first=Ben |date=2013-10-16 |title=Citrus Canker Lawsuit Headed Back to Trial |url=http://www.sun-sentinel.com/news/palm-beach/fl-citrus-canker-ruling-20131016,0,7602285.story |work=South Florida Sun-Sentinel |access-date=2013-10-17|ref=none}}</nowiki></code>
: Displays as:
* {{cite news |last=Wolford |first=Ben |date=2013-10-16 |title=Citrus Canker Lawsuit Headed Back to Trial |url=http://www.sun-sentinel.com/news/palm-beach/fl-citrus-canker-ruling-20131016,0,7602285.story |work=South Florida Sun-Sentinel |access-date=2013-10-17|ref=none}}
 
; A news article released by a news agency and having no credited author
: <code><nowiki>{{cite news |author=<!--not stated--> |title=Bellingham Police Arrest WWU Student in Melee |url=http://blogs.seattletimes.com/today/2013/10/bellingham-police-arrest-wwu-student-in-melee/ |work=The Seattle Times |agency=Associated Press |date=2013-10-17 |access-date=2013-10-17|ref=none}}</nowiki></code>
: Displays as:
* {{cite news |author=<!--not stated--> |title=Bellingham Police Arrest WWU Student in Melee |url=http://blogs.seattletimes.com/today/2013/10/bellingham-police-arrest-wwu-student-in-melee/ |work=The Seattle Times |agency=Associated Press |date=2013-10-17 |access-date=2013-10-17|ref=none}}
 
; A news article that has been archived
: <code><nowiki>{{cite news |last=Pank |first=Philip |date=2013-10-18 |title=Families Accuse Network Rail of Cover-Up |url=http://www.thetimes.co.uk/tto/business/industries/transport/article3897709.ece |url-status=dead |work=The Times |location=London |archive-url=https://www.webcitation.org/6KS5scqfE |archive-date=2013-10-18 |access-date=2013-10-18|ref=none}}</nowiki></code>
: Displays as:
* {{cite news |last=Pank |first=Philip |date=2013-10-18 |title=Families Accuse Network Rail of Cover-Up |url=http://www.thetimes.co.uk/tto/business/industries/transport/article3897709.ece |url-status=dead |work=The Times |location=London |archive-url=https://www.webcitation.org/6KS5scqfE |archive-date=2013-10-18 |access-date=2013-10-18|ref=none}}
 
; A news article written in a foreign language
: <code><nowiki>{{cite news |last=Bourmaud |first=François-Xavier |date=2013-10-17 |title=Hollande dans le bourbier de l'affaire Leonarda |trans-title=Hollande in the quagmire of the Leonarda case |url=http://www.lefigaro.fr/politique/2013/10/17/01002-20131017ARTFIG00575-hollande-dans-le-bourbier-de-l-affaire-leonarda.php |language=French |work=Le Figaro |location=Paris |access-date=2013-10-17|ref=none}}</nowiki></code>
: Displays as:
* {{cite news |last=Bourmaud |first=François-Xavier |date=2013-10-17 |title=Hollande dans le Bourbier de L'affaire Leonarda |trans-title=Holland in the Quagmire of the Leonarda Case |url=http://www.lefigaro.fr/politique/2013/10/17/01002-20131017ARTFIG00575-hollande-dans-le-bourbier-de-l-affaire-leonarda.php |language=French |work=Le Figaro |location=Paris |access-date=2013-10-17|ref=none}}
 
; A clipped and archived news article that you quote, found on an information aggregation service requiring a subscription
: <code><nowiki>{{cite news |url=https://www.newspapers.com/clip/30201172/daily_news/ |title=Czechs honor Yuri |date=30 April 1961 |newspaper=Daily News|access-date=2 April 2019|archive-url=https://web.archive.org/web/20190402233429/https://www.newspapers.com/clip/30201172/daily_news/|archive-date=2 April 2019|url-status=live |agency=Reuters |location=New York |page=35 |via=Newspapers.com |quote=Czech President [[Antonin Novotny]] today made visiting Soviet spaceman Yuri Gagarin a 'Hero of Socialist Labor'.|ref=none}}</nowiki></code>
: Displays as:
* {{cite news |url=https://www.newspapers.com/clip/30201172/daily_news/ |title=Czechs honor Yuri |date=30 April 1961 |newspaper=Daily News|access-date=2 April 2019|archive-url=https://web.archive.org/web/20190402233429/https://www.newspapers.com/clip/30201172/daily_news/|archive-date=2 April 2019|url-status=live |agency=Reuters |location=New York |page=35 |via=Newspapers.com |quote=Czech President [[Antonin Novotny]] today made visiting Soviet spaceman Yuri Gagarin a 'Hero of Socialist Labor'.|ref=none}}
 
==Parameters==
Line 490:
 
====Anchor====
{{distinguish|#Identifiers}}
{{csdoc|ref}}
 
====Identifiers====
{{distinguish|#Anchor}}
{{csdoc|id1}}
{{csdoc|id2}}
Line 501 ⟶ 503:
====Editors====
{{csdoc|editor}}
 
====Lay summary====
{{csdoc|lay}}
 
====Display options====
Line 540 ⟶ 539:
"last1",
"author",
"author1",
"authors"
],
"suggested": true,
Line 625 ⟶ 623:
"issue": {
"label": "Issue",
"description": "Issue identifier when the source is part of a series that is published periodically. Usually a number. Do not prepend with no. ",
"type": "stringline",
"aliases": [
"number"
],
"example": "4"
},
"department": {
Line 667 ⟶ 666:
"volume": {
"label": "Volume",
"description": "For one publication published in several volumes. Usually a number. Do not prepend with vol. or v. ",
"type": "string",
"example": "3"
},
"page": {
Line 695:
"language": {
"label": "Language",
"description": "The language in which the source is written, if not English; use a two-letter language code or the full language name;. doDo not use icons or templates",
"type": "string"
},
Line 832:
"label": "Quote",
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation",
"type": "string"
},
"trans-quote": {
"label": "Translated quote",
"description": "English translation of the quotation if the source quoted is in a foreign language. Displays in square brackets.",
"type": "string"
},
Line 913 ⟶ 918:
"last9": {
"label": "Last name 9",
"description": "The surname of the ninth author; don't wikilink, use 'author-link9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.",
"aliases": [
"author9"
Line 943 ⟶ 948:
"author-link2": {
"label": "Author link 2",
"description": "Title of existing Wikipedia article about the second author. (Up to nine authors can be listed, 3-9 are toward the end of the parameter list)",
"type": "wiki-page-name",
"aliases": [
Line 952 ⟶ 957:
"label": "Archive URL",
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'",
"type": "string",
"suggested": true,
"aliases": [
"archiveurl"
]
},
"archive-date": {
"label": "Archive date",
"description": "Date when the original URL was archived; do not wikilink",
"type": "string",
"suggested": true,
"aliases": [
"archivedate"
]
},
"author-link3": {
Line 1,024 ⟶ 1,037:
"description": "The full date when the original URL was accessed; do not wikilink",
"type": "date",
"suggested": true,
"aliases": [
"accessdate"
]
},
"orig-date": {
Line 1,032 ⟶ 1,048:
},
"via": {
"label": "viaVia",
"description": "Identify the aggregator of the resource that provided the digital version (usually a database provider), when it differs from the publisher (e.g., for The Wikipedia Library)",
"example": "[[EBSCOHost]], [[Proquest]], [[Newspapers.com]]",
Line 1,097 ⟶ 1,113:
"url-status": {
"label": "URL status",
"description": "If set to 'live', the title display is adjusted; useful for when the URL is archived preemptively but still live. Set to \"'dead\"' orif the original URL is broken. If the original URL is 'usurpedlive' forbut brokenno linkslonger supports the article text, set to 'deviated'. EnteringSet to 'unfit' or 'usurped' makesif the original URL is no longer suitable (spam, advertising, etc.) which will make the original link not appear at all.",
"example": "'dead' or 'live'",
"default": "'dead' if an Archive URL is entered",
"type": "string",
"suggested": true,
"suggestedvalues": [
"dead",
"live",
"usurped",
"unfit",
"deviated"
]
},
Line 1,228 ⟶ 1,246:
"first9",
"author-link9",
"display-authors",
"author-mask",
"display-authors",
"name-list-style",
"others",
"date",
"year",
"orig-date",
"editor-linklast",
"editor-first",
"editor-link",
"others",
"title",
"script-title",
"language",
"trans-title",
"editionurl",
"volumeurl-access",
"pageurl-status",
"pagesarchive-url",
"noarchive-ppdate",
"ataccess-date",
"work",
"publisher",
"agency",
"issue",
"department",
"publisher",
"location",
"publication-placepage",
"publication-datepages",
"editor-lastat",
"editor-firstlanguage",
"editor-link",
"type",
"format",
"urledition",
"urlpublication-statusplace",
"urlpublication-accessdate",
"access-datevia",
"archive-urlvolume",
"archive-dateissue",
"issueno-pp",
"arxiv",
"asin",
Line 1,286 ⟶ 1,304:
"id",
"quote",
"trans-quote",
"ref",
"postscript",
"via",
"bibcode-access",
"doi-access",
Line 1,294 ⟶ 1,312:
"jstor-access",
"ol-access",
"osti-access",
"agency",
]
}