Anonymous user
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) | <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= | | :<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) | | author =<!--Staff writer(s)/no by-line.--> | ||
| title = | | title = | ||
| url = | | url = | ||
Line 172: | Line 172: | ||
| pages = | | pages = | ||
| at = | | at = | ||
| | | 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) | :<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) | * {{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 | | :<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 | | * {{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}} | ||
==== | ====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": [ | ||
"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" | "type": "string" | ||
}, | }, | ||
Line 685: | Line 680: | ||
"example": "2–3" | "example": "2–3" | ||
}, | }, | ||
" | "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" | ||
}, | }, | ||
"isbn": { | "isbn": { | ||
Line 850: | Line 841: | ||
"type": "string", | "type": "string", | ||
"default": "." | "default": "." | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"author-link": { | "author-link": { | ||
Line 970: | Line 934: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author-link1", | "author-link1", | ||
"author1-link" | "author1-link" | ||
Line 981: | Line 943: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
" | "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 ' | "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" | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"author-link3": { | "author-link3": { | ||
Line 1,029: | Line 976: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author3-link" | "author3-link" | ||
] | ] | ||
Line 1,038: | Line 984: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author4-link" | "author4-link" | ||
] | ] | ||
Line 1,047: | Line 992: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author5-link" | "author5-link" | ||
] | ] | ||
Line 1,056: | Line 1,000: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author6-link" | "author6-link" | ||
] | ] | ||
Line 1,065: | Line 1,008: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author7-link" | "author7-link" | ||
] | ] | ||
Line 1,074: | Line 1,016: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author8-link" | "author8-link" | ||
] | ] | ||
Line 1,083: | Line 1,024: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
"author9-link" | "author9-link" | ||
] | ] | ||
}, | }, | ||
" | "name-list-style": { | ||
"label": " | "label": "Name list style", | ||
"description": " | "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" | ||
}, | }, | ||
"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 | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"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", | ||
" | "suggestedvalues": [ | ||
"dead", | |||
"live", | |||
"usurped", | |||
"unfit" | |||
] | |||
}, | }, | ||
"work": { | "work": { | ||
Line 1,284: | Line 1,219: | ||
"display-authors", | "display-authors", | ||
"author-mask", | "author-mask", | ||
" | "name-list-style", | ||
"others", | "others", | ||
"date", | "date", | ||
"year", | "year", | ||
"orig-year", | "orig-year", | ||
Line 1,300: | Line 1,232: | ||
"page", | "page", | ||
"pages", | "pages", | ||
" | "no-pp", | ||
"at", | "at", | ||
"work", | "work", | ||
Line 1,345: | Line 1,277: | ||
"ref", | "ref", | ||
"postscript", | "postscript", | ||
"lay-url", | "lay-url", | ||
"lay-source", | "lay-source", |