Template:Cite news/doc: Difference between revisions

→‎TemplateData: update url-status
m (Reverted 1 edit by 200.95.170.67 (talk) to last revision by Tom.Reding)
 
(→‎TemplateData: update url-status)
Line 12: Line 12:
<br />
<br />
;To cite a news article with no credited author
;To cite a news article with no credited author
<code><nowiki>{{cite news |author=<!--Staff writer(s); no by-line.--> |title= |url= |work= |location= |date= |access-date=}}</nowiki></code>
<code><nowiki>{{cite news |author=<!--Staff writer(s)/no by-line.--> |title= |url= |work= |location= |date= |access-date=}}</nowiki></code>
<br />
<br />
;To cite an online news article that has been archived
;To cite an online news article that has been archived
Line 24: Line 24:


{{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-year= |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= |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= |lay-url= |lay-source= |lay-date= |quote= |postscript= |ref=}}</nowiki></code>
:<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-year= |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= |lay-url= |lay-source= |lay-date= |quote= |postscript= |ref=}}</nowiki></code>
{{end}}
{{end}}


Line 44: Line 44:
<pre style="margin:0px; border:none;">
<pre style="margin:0px; border:none;">
{{cite news
{{cite news
| author      =<!--Staff writer(s); no by-line.-->
| author      =<!--Staff writer(s)/no by-line.-->
| title        =  
| title        =  
| url          =  
| url          =  
Line 172: Line 172:
| pages                =  
| pages                =  
| at                    =  
| at                    =  
| nopp                  =  
| no-pp                =  
| arxiv                =  
| arxiv                =  
| asin                  =  
| asin                  =  
Line 429: Line 429:


;A news article released by a news agency and having no credited author
;A news article released by a news agency and having no credited author
:<code><nowiki>{{cite news |author=<!--Staff writer(s); no by-line.--> |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}}</nowiki></code>
:<code><nowiki>{{cite news |author=<!--Staff writer(s)/no by-line.--> |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}}</nowiki></code>
:Displays as:
:Displays as:
* {{cite news |author=<!--Staff writer(s); no by-line.--> |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}}
* {{cite news |author=<!--Staff writer(s)/no by-line.--> |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}}


;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 |archiveurl=https://www.webcitation.org/6KS5scqfE |archivedate=2013-10-18 |access-date=2013-10-18}}</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://www.webcitation.org/6KS5scqfE |archive-date=2013-10-18 |access-date=2013-10-18}}</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 |archiveurl=https://www.webcitation.org/6KS5scqfE |archivedate=2013-10-18 |access-date=2013-10-18}}
* {{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}}


;A news article written in a foreign language
;A news article written in a foreign language
Line 504: Line 504:
{{csdoc|editor}}
{{csdoc|editor}}


====Laysummary====
====Lay summary====
{{csdoc|lay}}
{{csdoc|lay}}


Line 515: Line 515:
==TemplateData==
==TemplateData==
{{TemplateData header}}
{{TemplateData header}}
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}
<templatedata>
<templatedata>
{
{
Line 565: Line 566:
"type": "string",
"type": "string",
"aliases": [
"aliases": [
"distributor",
"institution"
"institution"
],
],
Line 584: Line 584:
"label": "Others",
"label": "Others",
"description": "Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'",
"description": "Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'",
"type": "string"
},
"month": {
"label": "Month of publication",
"description": "Name of the month of publication; do not wikilink; use 'date' instead, if day of month is also known",
"type": "string"
"type": "string"
},
},
Line 685: Line 680:
"example": "2–3"
"example": "2–3"
},
},
"nopp": {
"no-pp": {
"label": "No pp",
"label": "No pp",
"description": "Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')",
"description": "Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')",
Line 748: Line 743:
"label": "DOI broken date",
"label": "DOI broken date",
"description": "The date that the DOI was determined to be broken",
"description": "The date that the DOI was determined to be broken",
"type": "string",
"type": "string"
"aliases": [
"doi_brokendate",
"doi-inactive-date"
]
},
},
"isbn": {
"isbn": {
Line 850: Line 841:
"type": "string",
"type": "string",
"default": "."
"default": "."
},
"registration": {
"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": {
"last3": {
Line 944: Line 923:
"description": "Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead",
"description": "Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead",
"type": "string"
"type": "string"
},
"author-name-separator": {
"label": "Author name separator",
"description": "Changes the separator between last and first names; defaults to a comma and space; a space must be encoded as &#32;",
"type": "string",
"default": ", "
},
"author-separator": {
"label": "Author separator",
"description": "Changes the separator between authors; defaults to a semicolon and space; a space must be encoded as &#32;",
"type": "string",
"default": "; "
},
},
"display-authors": {
"display-authors": {
"label": "Display authors",
"label": "Display authors",
"description": "number of authors to display before 'et al.' is used;",
"description": "number of authors to display before 'et al.' is used;",
"type": "number",
"type": "number"
"aliases": [
"displayauthors"
]
},
},
"author-link": {
"author-link": {
Line 970: Line 934:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink",
"authorlink1",
"author-link1",
"author-link1",
"author1-link"
"author1-link"
Line 981: Line 943:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink2"
"author2-link"
]
]
},
},
"archive-url": {
"archive-url": {
"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 'archivedate'",
"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": "string"
"aliases": [
"archiveurl"
]
},
},
"archive-date": {
"archive-date": {
"label": "Archive date",
"label": "Archive date",
"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"
"aliases": [
"archivedate"
]
},
},
"lay-url": {
"lay-url": {
"label": "Lay URL",
"label": "Lay URL",
"description": "URL link to a non-technical summary or review of the source; alias of 'laysummary'",
"description": "URL link to a non-technical summary or review of the source; alias of 'laysummary'",
"type": "string",
"type": "string"
"aliases": [
"layurl"
]
},
},
"lay-source": {
"lay-source": {
"label": "Lay source",
"label": "Lay source",
"description": "Name of the source of the laysummary; displays in italics, preceded by an en dash",
"description": "Name of the source of the laysummary; displays in italics, preceded by an en dash",
"type": "string",
"type": "string"
"aliases": [
"laysource"
]
},
},
"lay-date": {
"lay-date": {
"label": "Lay date",
"label": "Lay date",
"description": "Date of the summary; displays in parentheses",
"description": "Date of the summary; displays in parentheses",
"type": "string",
"type": "string"
"aliases": [
"laydate"
]
},
},
"author-link3": {
"author-link3": {
Line 1,029: Line 976:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink3",
"author3-link"
"author3-link"
]
]
Line 1,038: Line 984:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink4",
"author4-link"
"author4-link"
]
]
Line 1,047: Line 992:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink5",
"author5-link"
"author5-link"
]
]
Line 1,056: Line 1,000:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink6",
"author6-link"
"author6-link"
]
]
Line 1,065: Line 1,008:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink7",
"author7-link"
"author7-link"
]
]
Line 1,074: Line 1,016:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink8",
"author8-link"
"author8-link"
]
]
Line 1,083: Line 1,024:
"type": "wiki-page-name",
"type": "wiki-page-name",
"aliases": [
"aliases": [
"authorlink9",
"author9-link"
"author9-link"
]
]
},
},
"last-author-amp": {
"name-list-style": {
"label": "Last author ampersand",
"label": "Name list style",
"description": "When set to any value, changes the separator between the last two names of the author list to 'space ampersand space'",
"description": "Set to 'amp' or 'and' to change the separator between the last two names of the name list to ' & ' or ' and ', respectively. Set to 'vanc' to display name lists in Vancouver style.",
"type": "string",
"type": "string"
"aliases": [
"lastauthoramp"
]
},
},
"access-date": {
"access-date": {
Line 1,099: Line 1,036:
"description": "The full date when the original URL was accessed; do not wikilink",
"description": "The full date when the original URL was accessed; do not wikilink",
"type": "string",
"type": "string",
"suggested": true,
"suggested": true
"aliases": [
"accessdate"
]
},
},
"orig-year": {
"orig-year": {
"label": "Original year",
"label": "Original year",
"description": "Original year of publication; provide specifics",
"description": "Original year of publication; provide specifics",
"type": "string",
"type": "string"
"aliases": [
"origyear"
]
},
},
"via": {
"via": {
Line 1,159: Line 1,090:
"default": "'dead' if an Archive URL is entered",
"default": "'dead' if an Archive URL is entered",
"type": "string",
"type": "string",
"autovalue": "live",
"suggestedvalues": [
"suggested": true
"dead",
"live",
"usurped",
"unfit"
]
},
},
"work": {
"work": {
Line 1,284: Line 1,219:
"display-authors",
"display-authors",
"author-mask",
"author-mask",
"last-author-amp",
"name-list-style",
"author-name-separator",
"author-separator",
"others",
"others",
"date",
"date",
"month",
"year",
"year",
"orig-year",
"orig-year",
Line 1,300: Line 1,232:
"page",
"page",
"pages",
"pages",
"nopp",
"no-pp",
"at",
"at",
"work",
"work",
Line 1,345: Line 1,277:
"ref",
"ref",
"postscript",
"postscript",
"registration",
"subscription",
"lay-url",
"lay-url",
"lay-source",
"lay-source",
Anonymous user