Template:Cite news/doc: Difference between revisions

removed no longer supported trans_title= parameter
m (1 revision imported: copy from w:Template:Cite book‏‎‏‎‏‎)
(removed no longer supported trans_title= parameter)
Line 3:
{{csdoc|cs1}}
{{csdoc|lead|news articles in print, video, audio or web}}
{{High-risk|8500001020075+}}
 
==Usage==
Line 15:
<br />
;To cite an online news article that has been archived
<code><nowiki>{{cite news |last= |first= |date= |title= |url= |dead-url-status= |work= |location= |archive-url= |archive-date= |access-date= }}</nowiki></code>
<br />
;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>
;To cite and quote an archived, two-author, foreign language news article re-published as a PDFclipped onwith an information aggregation service requiring a subscription
<code><nowiki>{{cite news |last1= |first1= |last2= |first2= |date= |title= |trans-title= |url= |dead-url= |format-status= |language= |work= |location= |archive-url= |archive-date= |access-date= |via= |subscription= |quote= }}</nowiki></code>
{{end}}
 
{{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-format= |last-author-amp= |date= |year= |orig-year= |title= |script-title= |trans-title= |url= |dead-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= |nopp= |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= |registration= |subscription= |lay-url= |lay-source= |lay-date= |quote= |postscript= |ref= }}</nowiki></code>
{{end}}
 
Line 61:
| title =
| url =
| dead-url -status =
| work =
| location =
Line 84:
}}
</pre>
;To cite and quote ana archived,clipped two-author,and foreign languagearchived news article re-published as a PDF on an information aggregation service requiring a subscription
<pre style="margin:0px; border:none;">
{{cite news
Line 95:
| trans-title =
| url =
| dead-url -status =
| format =
| language =
Line 104:
| access-date =
| via =
| subscriptionurl-access =
| quote =
}}
Line 134:
| date =
| year =
| orig-year =
| title =
| script-title =
| trans-title =
| url =
| dead-url -status =
| format =
| editor1-last =
Line 197 ⟶ 198:
| access-date =
| via =
| registration =
| subscription =
| lay-url =
| lay-source =
Line 410 ⟶ 409:
 
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|Cite web}} and {{tlf|Cite news}} have the following differences:
*{{tlf|Cite news}} can be used for [[WP:OFFLINE|offline]] (paper) sources whereas {{tlf|Cite web}} generates a missing URL error when no URL is provided
*{{tlf|Cite news}} accepts {{para|issue}} and {{para|volume}} parameters while {{tlf|Cite web}} does not (See {{section link|1=Help talk:Citation Style 1/Archive 10|2=&#x7C;volume=, &#x7C;issue=, &#x7C;page(s)= and cite magazine}}.)
But given the same set of valid parameters, their output is exactly the same:
Line 436 ⟶ 435:
 
;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 |dead-url-status=nodead |work=The Times |location=London |archiveurl=https://www.webcitation.org/6KS5scqfE |archivedate=2013-10-18 |access-date=2013-10-18}}</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 |dead-url-status=nodead |work=The Times |location=London |archiveurl=https://www.webcitation.org/6KS5scqfE |archivedate=2013-10-18 |access-date=2013-10-18}}
 
;A news article written in a foreign language
Line 445 ⟶ 444:
* {{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}}
 
;A twoclipped authorand archived news article that you quote and archive, is written in a foreign language and has been re-published as a PDFfound 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".}}</nowiki></code>
:<code><nowiki>{{cite news |last1=Sueiro |first1=Marcos |last2=Guzman |first2=Lucia |date=2012-05-12 |title=El Crimen de Lucia Barranta Será Juzgado por un Jurado Popular |trans-title=Lucia Barranta's Crime Will Be Judged by a Jury |url=http://www.elmundo.es/elmundo/2013/10/17/espana/6845003888.html |dead-url=yes |format=PDF |language=Spanish |work=El Mundo |location=Madrid, Spain |archiveurl=https://www.webcitation.org/6KS7JR04T |archivedate=2012-06-22 |access-date=2012-06-22 |via=Highbeam Research |subscription=yes |quote=Los comparecientes lo harán en calidad de imputados por un delito de homicidio.}}</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".}}
* {{cite news |last1=Sueiro |first1=Marcos |last2=Guzman |first2=Lucia |date=2012-05-12 |title=El crimen de Lucia Barranta será juzgado por un jurado popular |trans-title=Lucia Barranta's crime will be tried by a popular jury |url=http://www.elmundo.es/elmundo/2013/10/17/espana/6845003888.html |dead-url=no |format=PDF |language=Spanish |work=El Mundo |location=Madrid, Spain |archiveurl=https://www.webcitation.org/6KS7JR04T |archivedate=2012-06-22 |access-date=2012-06-22 |via=Highbeam Research |subscription=yes |quote=Los comparecientes lo harán en calidad de imputados por un delito de homicidio.}}
 
==Parameters==
Line 458 ⟶ 457:
===COinS===
{{csdoc|coins}}
 
===What's new===
{{csdoc|whats new}}
 
===Deprecated===
Line 475 ⟶ 477:
====Date====
{{csdoc|date}}
 
====Periodical====
{{csdoc|journal|issue=no}}
 
====Publisher====
Line 487 ⟶ 492:
{{csdoc|pages}}
 
===={{Anchor|url}}URL====
{{csdoc|url}}
 
Line 579 ⟶ 584:
"label": "First name 2",
"description": "Given or first name, middle names, or initials of the second author; don't wikilink."
},
"work": {
"label": "Name of publication",
"description": "Name of the newspaper, magazine or periodical; displays after title",
"type": "string",
"suggested": true,
"aliases": [
"journal",
"magazine",
"periodical",
"newspaper"
],
"example": "The Wall Street Journal"
},
"others": {
Line 719 ⟶ 711:
"label": "Translated title",
"description": "An English language title, if the source cited is in a foreign language; 'language' is recommended",
"type": "string",
"aliases": [
"trans_title"
]
},
"type": {
Line 868 ⟶ 857:
"label": "Registration",
"description": "For online sources that require registration, set to 'yes' (or 'y', or 'true'); superseded by subscription if both are set",
"type": "string",
"deprecated": true
},
"subscription": {
"label": "Subscription",
"description": "For online sources that require subscription, set to 'yes' (or 'y', or 'true'); supersedes registration if both are set",
"type": "string",
"deprecated": true
},
"last3": {
Line 1,010 ⟶ 1,001:
"aliases": [
"archivedate"
]
},
"dead-url": {
"label": "Dead URL",
"description": "If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live",
"type": "string",
"aliases": [
"deadurl"
]
},
Line 1,135 ⟶ 1,118:
"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)",
"example": "EBSCOHost , Proquest, Newspapers.com",
"type": "string"
},
"url-access": {
"label": "URL access level",
"description": "Classification of the access restrictions on the URL ('registration', 'subscription' or 'limited')",
"type": "string"
},
"bibcode-access": {
"label": "Bibcode access level",
"description": "If the full text is available from ADS via this Bibcode, type 'free'.",
"type": "string"
},
"doi-access": {
"label": "DOI access level",
"description": "If the full text is free to read via the DOI, type 'free'.",
"type": "string"
},
"hdl-access": {
"label": "HDL access level",
"description": "If the full text is free to read via the HDL, type 'free'.",
"type": "string"
},
"jstor-access": {
"label": "Jstor access level",
"description": "If the full text is free to read on Jstor, type 'free'.",
"type": "string"
},
"ol-access": {
"label": "OpenLibrary access level",
"description": "If the full text is free to read on OpenLibrary, type 'free'.",
"type": "string"
},
"osti-access": {
"label": "OSTI access level",
"description": "If the full text is free to read on OSTI, type 'free'.",
"type": "string"
},
"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\" or 'usurped' for broken links. Entering 'unfit' or 'usurped' makes the original link not appear at all.",
"example": "'dead' or 'live'",
"default": "'dead' if an Archive URL is entered",
"type": "string",
"autovalue": "live",
"suggested": true
},
"work": {
"aliases": [
"journal",
"magazine",
"periodical",
"newspaper"
],
"label": "Name of publication",
"description": "Name of the newspaper, magazine or periodical; displays after title",
"example": "The Wall Street Journal",
"type": "string",
"suggested": true
}
},
Line 1,216 ⟶ 1,257:
"format": "inline",
"paramOrder": [
"url",
"title",
"last",
"first",
"url",
"title",
"date",
"work",
"access-date",
"url-status",
"archive-url",
"archive-date",
"dead-url",
"publisher",
"agency",
Line 1,310 ⟶ 1,351:
"last-author-amp",
"orig-year",
"via",
"url-access",
"bibcode-access",
"doi-access",
"hdl-access",
"jstor-access",
"ol-access",
"osti-access"
]
}
Line 1,323 ⟶ 1,371:
{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Citation Style 1 templates|N]]
}}</includeonly>
}}
</includeonly>