Template:Cite news/doc: Difference between revisions

imported>Samuel Wiki
updated url-status TemplateData
m 1 revision imported: template update
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{pp-template}}</noinclude>
<noinclude>{{pp-template}}</noinclude>
{{Documentation subpage}}
{{Documentation subpage}}
{{High-risk|1020075+}}
{{High-risk}}
{{cascade-protected template}}
{{csdoc|lua}}
{{csdoc|lua}}
{{csdoc|cs1}}
{{csdoc|cs1}}
Line 10: Line 11:
{{csdoc|usage common}}
{{csdoc|usage common}}
;To cite a news article with a credited author
;To cite a news article with a credited author
<code><nowiki>{{cite news |last= |first= |date= |title= |url= |work= |location= |access-date=}}</nowiki></code>
<syntaxhighlight lang="wikitext" inline>{{cite news |last= |first= |date= |title= |url= |work= |location= |access-date=}}</syntaxhighlight>
<br />
 
;To cite a news article with no credited author
;To cite a news article with no credited author
<code><nowiki>{{cite news |author=<!--not stated--> |date= |title= |url= |work= |location= |access-date=}}</nowiki></code>
<syntaxhighlight lang="wikitext" inline>{{cite news |author=<!--not stated--> |date= |title= |url= |work= |location= |access-date=}}</syntaxhighlight>
<br />
 
;To cite an online news article that has been archived
;To cite an online news article that has been archived
<code><nowiki>{{cite news |last= |first= |date= |title= |url= |url-status= |work= |location= |archive-url= |archive-date= |access-date=}}</nowiki></code>
<syntaxhighlight lang="wikitext" inline>{{cite news |last= |first= |date= |title= |url= |url-status= |work= |location= |archive-url= |archive-date= |access-date=}}</syntaxhighlight>
<br />
 
;To cite a news article written in a foreign language
;To cite a news article written in a foreign language
<code><nowiki>{{cite news |last= |first= |date= |title= |trans-title= |url= |language= |work= |location= |access-date=}}</nowiki></code>
<syntaxhighlight lang="wikitext" inline>{{cite news |last= |first= |date= |title= |trans-title= |url= |language= |work= |location= |access-date=}}</syntaxhighlight>
;To cite and quote an archived news article clipped with an information aggregation service requiring a subscription
;To cite and quote an archived news article clipped with an information aggregation service requiring a subscription
<code><nowiki>{{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></code>
<syntaxhighlight 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=}}</syntaxhighlight>
{{end}}
{{end}}


{{csdoc|usage full}}
{{csdoc|usage full}}
:<code><nowiki>{{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= |postscript= |ref=}}</nowiki></code>
:<syntaxhighlight 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=}}</syntaxhighlight>
{{end}}
{{end}}


{{csdoc|usage vertical common}}
{{csdoc|usage vertical common}}
;To cite a news article with a credited author
;To cite a news article with a credited author
<pre style="margin:0px; border:none;">
<syntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
{{cite news
| last        =  
| last        =  
Line 41: Line 42:
| access-date  =  
| access-date  =  
}}
}}
</pre>
</syntaxhighlight>
;To cite a news article with no credited author
;To cite a news article with no credited author
<pre style="margin:0px; border:none;">
<syntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
{{cite news
| author      =<!--not stated-->
| author      =<!--not stated-->
Line 53: Line 54:
| access-date  =
| access-date  =
}}
}}
</pre>
</syntaxhighlight>
;To cite an online news article that has been archived
;To cite an online news article that has been archived
<pre style="margin:0px; border:none;">
<syntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
{{cite news
| last        =  
| last        =  
Line 69: Line 70:
| access-date  =  
| access-date  =  
}}
}}
</pre>
</syntaxhighlight>
;To cite a news article written in a foreign language
;To cite a news article written in a foreign language
<pre style="margin:0px; border:none;">
<syntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
{{cite news
| last        =  
| last        =  
Line 84: Line 85:
| access-date  =  
| access-date  =  
}}
}}
</pre>
</syntaxhighlight>
;To cite and quote a clipped and archived news article on an information aggregation service requiring a subscription
;To cite and quote a clipped and archived news article on an information aggregation service requiring a subscription
<pre style="margin:0px; border:none;">
<syntaxhighlight lang="wikitext" style="margin:0px; border:none;">
{{cite news
{{cite news
| last1        =  
| last1        =  
Line 108: Line 109:
| quote        =  
| quote        =  
}}
}}
</pre>
</syntaxhighlight>
{{end}}
{{end}}


Line 403: Line 404:
===Choosing between {{tlf|Cite web}} and {{tlf|Cite news}}===
===Choosing between {{tlf|Cite web}} and {{tlf|Cite news}}===
{{anchor|Consistency}}
{{anchor|Consistency}}
Before 2014, 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.
Previously, editors had to decide whether to use {{tl|Cite web}} or {{tlf|Cite news}} based on these templates' 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:
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|Cite web}} and {{tlf|Cite news}} have the following differences:
Line 417: Line 418:
| '''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 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}}
| '''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}}
|}
|}


Line 432: Line 433:


; A news article that has been archived
; 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>
: <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://web.archive.org/web/20140118173559/http://www.thetimes.co.uk/tto/business/industries/transport/article3897709.ece |archive-date=2014-01-18 |access-date=2013-10-18|ref=none}}</nowiki></code>
: Displays as:
: 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}}
* {{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://web.archive.org/web/20140118173559/http://www.thetimes.co.uk/tto/business/industries/transport/article3897709.ece |archive-date=2014-01-18 |access-date=2013-10-18|ref=none}}


; A news article written in a foreign language
; A news article written in a foreign language
Line 503: Line 504:
====Editors====
====Editors====
{{csdoc|editor}}
{{csdoc|editor}}
====Lay summary====
{{csdoc|lay}}


====Display options====
====Display options====
Line 542: Line 540:
"last1",
"last1",
"author",
"author",
"author1",
"author1"
"authors"
],
],
"suggested": true,
"suggested": true,
Line 699: Line 696:
"language": {
"language": {
"label": "Language",
"label": "Language",
"description": "The language in which the source is written, if not English; use the full language name; do not use icons or templates",
"description": "The language in which the source is written, if not English; use a two-letter language code (use ISO 639-1) or the full language name. Do not use icons or templates.",
"type": "string"
"type": "string",
"example": "Spanish"
},
},
"script-title": {
"script-title": {
Line 836: Line 834:
"label": "Quote",
"label": "Quote",
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation",
"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"
"type": "string"
},
},
Line 917: Line 920:
"last9": {
"last9": {
"label": "Last name 9",
"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.",
"description": "The surname of the ninth author; don't wikilink, use 'author-link9'.",
"aliases": [
"aliases": [
"author9"
"author9"
Line 947: Line 950:
"author-link2": {
"author-link2": {
"label": "Author link 2",
"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)",
"description": "Title of existing Wikipedia article about the second author.",
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
Line 956: Line 959:
"label": "Archive URL",
"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'",
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'",
"type": "string",
"type": "url",
"suggested": true,
"aliases": [
"aliases": [
"archiveurl"
"archiveurl"
Line 965: Line 969:
"description": "Date when the original URL was archived; do not wikilink",
"description": "Date when the original URL was archived; do not wikilink",
"type": "string",
"type": "string",
"suggested": true,
"aliases": [
"aliases": [
"archivedate"
"archivedate"
Line 1,045: Line 1,050:
},
},
"via": {
"via": {
"label": "via",
"label": "Via",
"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)",
"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]]",
"example": "[[EBSCOHost]], [[Proquest]], [[Newspapers.com]]",
Line 1,114: Line 1,119:
"default": "'dead' if an Archive URL is entered",
"default": "'dead' if an Archive URL is entered",
"type": "string",
"type": "string",
"suggested": true,
"suggestedvalues": [
"suggestedvalues": [
"dead",
"dead",
Line 1,242: Line 1,248:
"first9",
"first9",
"author-link9",
"author-link9",
"author-mask",
"display-authors",
"display-authors",
"author-mask",
"name-list-style",
"name-list-style",
"others",
"date",
"date",
"year",
"year",
"orig-date",
"orig-date",
"editor-last",
"editor-first",
"editor-link",
"others",
"title",
"title",
"script-title",
"script-title",
"language",
"trans-title",
"trans-title",
"edition",
"url",
"volume",
"url-access",
"url-status",
"archive-url",
"archive-date",
"access-date",
"work",
"department",
"publisher",
"location",
"page",
"page",
"pages",
"pages",
"no-pp",
"at",
"at",
"work",
"language",
"publisher",
"type",
"agency",
"format",
"issue",
"edition",
"department",
"location",
"publication-place",
"publication-place",
"publication-date",
"publication-date",
"editor-last",
"via",
"editor-first",
"volume",
"editor-link",
"issue",
"type",
"no-pp",
"format",
"url",
"url-status",
"url-access",
"access-date",
"archive-url",
"archive-date",
"arxiv",
"arxiv",
"asin",
"asin",
Line 1,300: Line 1,306:
"id",
"id",
"quote",
"quote",
"trans-quote",
"ref",
"ref",
"postscript",
"postscript",
"via",
"bibcode-access",
"bibcode-access",
"doi-access",
"doi-access",
Line 1,308: Line 1,314:
"jstor-access",
"jstor-access",
"ol-access",
"ol-access",
"osti-access"
"osti-access",
"agency"
]
]
}
}