Template:Cite news/doc
40px | 本文档是Template:Cite news的文档子页面(见template:subjectspace zh页自身)。 本页包含用法信息、分类和其他非原template:subjectspace zh页面的内容。 |
40px | 本模板已应用于84,000+页面。 为避免大规模的破坏及不必要的服务器负荷,任何改动均应先在模板的沙盒、测试样例页面或您自己的用户页测试,经过测试後即可一次性改动本模板。为尊重其他用户,任何改动在生效前都应先在讨论页讨论。 |
30px | 使用Lua語言編寫: |
模板簡介
描写维基条目时经常需要参考各种新聞類资源,因此更多地使用这个模板可以将所参考的来源记录下来,以便浏览者以及之后的编写者找到这些来源资料。
本模板是用來列明維基條目中的新聞來源(參見列明来源的關於於維基條目列明的一般注意事項,並參見{{cite web}}學習如何列明非新聞來源)。
模板用法
所有参数都必须使用小写字母。
使用时可以复制下面的空白模板。参数之间以“|”符号分隔。请删除未使用的参数以保持编辑框的整齐。
複製以下其中一個空白的版本來使用。所有參數名稱必須使用小寫。每個參數之間使用“|”(管道)字符分隔。刪除未使用的參數,以避免在編輯窗口出現。某些範例可能包括當前日期。如果不是當前的日期,然後
頁面。
|
|
- 直式排列的全部參數
{{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 = | title = | script-title = | trans-title = | url = | dead-url = | 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 = | newspaper = | 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 = }}
欄位參數
-
title
:新闻标题(原文)。唯一必需参数,下列其余参数可选。此参数不应以引号,斜体或其他方式标记格式。-
trans_title
:新闻标题的中文翻譯。
-
-
author
: 作者。-
last
和first
:标识作者的姓名,显示为last, first
(主要用于外国名字在前,姓氏在后的情况)。 -
authorlink
:作者在维基百科中的条目,而不是外部的網址。
-
-
url
: 如果新聞引用項在互聯網上有链接,可以在此輸入其外部鏈接地址,而不应链接至新闻发布者的主页。开头必须带有通讯协议 例如http://或https://。-
format
: 新闻格式,如PDF。默认为HTML格式。- 如该连接不再提供免费浏览,请注明“收费”。
- 如该连接到非原发布者提供的全文链接,请注明“再版”。
-
-
work
: 刊登該新聞的出版物名称,如新闻周刊或人民日报等,也可以是某個专栏或者副刊的名称。請不要使用斜体。- 等效參數:journal, newspaper, magazine, periodical, website
-
publisher
: 发表该新闻的公司、机构或组织,例如萬華媒體集團或綠色和平組織等。 -
id
: 以{{ISSN|0028-0836}}
之类表明的编号。如果使用此参数,一定要标明编号的类别,而不应只提供一个编号。 -
date
: 出版日,建议使用ISO 8601 YYYY-MM-DD 标准,如“2008-01-01” -
page
或pages
: 新闻所在的页数,两者只能使用一个。| page = 30
显示为“p. 30”,| pages = 30-40
显示为“pp. 30-40”。 -
accessdate
: 查阅日期。可使用ISO 8601中规定的YYYY-MM-DD格式,例如"accessdate= 2024-11-28"。 -
language
: 新闻来源的语言,如en、zh-cn等。填入{{en}}会导致错误。 -
quote
: 被引用的相关原文。 -
archiveurl
: 存档的URL地址。 -
archivedate
: 存档日期
举例說明
- 使用last和first以标明作者,并使用ISSN作为 id 。
- {{cite news
| first=琼斯
| last=道
| title=新闻标题
| url=http://www.example.org/
| work=世界百科全书
| publisher=新闻集团
| pages= 37–39
| date=2005-11-21
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11
}}
- 使用author替代last和first。
- {{cite news
| author=道琼斯
| title=新闻
| url=http://www.example.org/News.pdf
| format=PDF
| publisher=新闻集团
| pages= 37–39
| date=2005-11-21
| accessdate=2005-12-11
}}
- 使用authorlink以链接到作者的条目。
- {{cite news
| first=琼斯
| last=道
| authorlink=道琼斯
| title=新闻
| url=http://www.example.org/background
| format=再版
| publisher=新闻集团
| date=2005-11-21
| accessdate=2005-12-11
}}
- 使用format参数。
- {{cite news
| title=新闻
| url=http://www.example.org/Archive/News
| format=收费
| publisher=新闻集团
| date=2005-11-21
| accessdate=2005-12-11
}}
- 使用page参数说明页码。
- {{cite news
| first=琼斯
| last=道
| title=FooBar
| page=1
}}→ 道, 琼斯. FooBar. : 1.
- 一个非常简单的引用。
- {{cite news
| title=FooBar
| page=1
}}→ FooBar. : 1.
- 使用archiveurl和archivedate參數引用被存档网站存档的网页。
- {{cite news
| author=Staff writer
| title=新闻
| url=http://www.example.org/News.pdf
| format=PDF
| publisher=新闻集团
| pages= 37–39
| date=2005-11-21
| accessdate=2005-12-11
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
| archivedate=2007-06-28
}}
- 忽略archivedate参数會造成的错误。
- {{cite news
| author=Staff writer
| title=新闻
| url=http://www.example.org/News.pdf
| format=PDF
| publisher=新闻集团
| pages= 37–39
| date=2005-11-21
| accessdate=2005-12-11
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
}}
→ Staff writer. 新闻 (PDF). 新闻集团. 2005-11-21: 37–39 [2005-12-11]. (原始内容 (PDF)存档于使用|archiveurl=
需要含有|archivedate=
(帮助)).
模板数据
<templatedata> { "description": "本模板是用來列明維基條目中的新聞來源。描写维基条目时经常需要参考各种新聞類资源,因此更多地使用这个模板可以将所参考的来源记录下来,以便浏览者以及之后的编写者找到这些来源资料。", "params": { "url": { "label": "URL", "description": "如果新聞引用項在互聯網上有链接,可以在此輸入其外部鏈接地址,而不应链接至新闻发布者的主页。开头必须带有通讯协议 例如http://或https://。", "type": "string", "suggested": true, "aliases": [ "URL" ] }, "title": { "label": "来源标题", "description": "新闻标题(原文)。唯一必需参数,其余参数可选。此参数不应以引号,斜体或其他方式标记格式。", "type": "string", "required": true }, "author": { "label": "作者", "description": "作者的姓名,如名字在前、姓氏在后请使用last及first参数。欲連結至作者條目,勿直接使用內部連結,請填入「作者條目名」參數", "type": "string", "aliases": [ "author", " author1", " authors" ], "suggested": true }, "last": { "label": "姓", "description": "作者的姓氏,不要与author参数同时使用。如欲連結至作者條目,勿直接使用內部連結,請填入「作者條目名」參數", "type": "string", "aliases": [ " last1" ], }, "first": { "label": "名", "description": "作者的名字、中間名或縮寫,不要与author参数同时使用。如欲連結至作者條目,勿直接使用內部連結,請填入「作者條目名」參數。", "type": "string", "aliases": [ "first1" ], }, "date": { "label": "出版日期", "description": "出版日,建议使用ISO 8601 YYYY-MM-DD 标准,如“2008-01-01”", "type": "string", "suggested": true }, "work": { "label": "出版物名", "description": "刊登該新聞的出版物名称,如新闻周刊或人民日报等,也可以是某個专栏或者副刊的名称。請不要使用斜体。", "type": "string", "suggested": true }, "publisher": { "label": "出版社", "description": "发表该新闻的公司、机构或组织,例如萬華媒體集團或綠色和平組織等。", "type": "string" }, "authorlink": { "label": "作者條目名", "description": "作者在维基百科中已存在之条目名稱,而不是外部的網址。", "type": "wiki-page-name", "aliases": [ "author-link", " author1-link", " authorlink1" ] }, "author2": { "label": "第二作者", "description": "第二個作者的姓名,如名字在前、姓氏在后请使用last2及first2参数。欲連結至作者條目,勿直接使用內部連結,請填入「作者條目名」參數。", "type": "string" }, "last2": { "label": "姓", "description": "第二個作者的姓氏,不要与author2参数同时使用。如欲連結至作者條目,勿直接使用內部連結,請填入「作者條目名」參數。", "type": "string" }, "first2": { "label": "名", "description": "第二個作者的姓氏、中間名或縮寫,不要与author2参数同时使用。如欲連結至作者條目,勿直接使用內部連結,請填入「作者條目名」參數。", "type": "string" }, "authorlink2": { "label": "作者條目名", "description": "作者在维基百科中已存在之条目名稱,而不是外部的網址。(最多可列出九位作者,第3至9為作者的參數位於此列表最下方。)", "type": "wiki-page-name", "aliases": [ "author2-link" ] }, "newspaper": { "label": "報紙", "description": "報紙的名稱;將在標題後顯示。", "type": "string" }, "via": { "label": "Via", "description": "数字版的提供者(通常是数据库);请勿在出版社与提供者相同时使用", "type": "string" }, "accessdate": { "label": "網址連結日期", "description": "引用時連結原始網址的日期;請勿加入維基百科內部連結", "type": "string", "suggested": true }, "deadurl": { "label": "死URL", "description": "失效的鏈接", "type": "string" }, "others": { "label": "其他", "description": "列出來源的其他貢獻者,例如「照片由王小明攝影」,或「由張小芳翻譯」。", "type": "string" }, "month": { "label": "出版月份", "description": "出版的月份;請勿加入維基百科內部連結。如果有出版的日期資料,請改用「日期」參數。", "type": "string" }, "year": { "label": "出版年份", "description": "出版的年份;請勿加入維基百科內部連結。如果有出版的月份和日期資料,請改用「日期」參數。", "type": "string" }, "origyear": { "label": "原始出版年份", "description": "來源原始的出版年份。", "type": "string" }, "editor-last": { "label": "編輯姓", "description": "編輯的姓氏;勿使用內部連結語法,請改用「編輯條目名」參數;此參數又名「editor1-last」、「editor」和「editors」" }, "editor-first": { "label": "編輯名", "description": "編輯的名字;勿使用內部連結語法,請改用「編輯條目名」參數;此參數又名「editor1-first」" }, "editor-link": { "label": "編輯條目名", "description": "編輯在维基百科中已存在之条目名稱,此參數又名「editor1-link」", "type": "wiki-page-name" }, "issue": { "label": "期", "description": "當出版物為期刊時,請標明期數", "type": "string" }, "department": { "label": "部", "description": "期刊的部數", "type": "string" }, "location": { "label": "出版地", "description": "出版物的地理位置;通常不使用內部連結語法;當出版物名稱已包含地名時(例如:舊金山日報),請不要使用本參數;本參數又名「place」", "type": "string" }, "publication-place": { "label": "出版位置", "description": "在標題後顯示的出版位置;若同時填入「place」或「location」參數時,將會在標題前顯示,並在地名前加上「撰寫於」", "type": "string" }, "publication-date": { "label": "出版日期", "description": "當出版日期與撰文日期不同時,請在此填入出版日期;請勿加入內部連結", "type": "string" }, "agency": { "label": "通訊社", "description": "當內容由新聞通訊社提供時,請在此填入通訊社名稱(例如:路透社、美聯社、法新社等)", "type": "string" }, "edition": { "label": "版", "description": "當出版物有一個以上的版本時,請填入此參數;例如:第2版、於2015-01-08修正", "type": "string" }, "volume": { "label": "集/卷", "description": "當出版物分為多集或多卷發行時,請填入此參數", "type": "string" }, "page": { "label": "頁", "description": "引用內容在來源中的頁數;將在「p.」後顯示;只需填入數字即可", "type": "string" }, "pages": { "label": "頁碼", "description": "當來源所在頁數超過1頁時,引用內容在來源中的頁數;將在「pp.」後顯示;只需填入數字即可(例如:10-14)", "type": "string" }, "nopp": { "label": "多頁頁碼", "description": "此參數可控制是否在「頁碼」或「多頁頁碼」參數中填入的值前顯示「p.」或「pp.」,可在適當時使用(例如:封面)", "type": "string" }, "at": { "label": "於", "description": "當頁碼參數不適用時可在此填入來源的所在", "type": "string" }, "language": { "label": "語言", "description": "新闻来源的语言,如en、zh-cn等。填入{{en}}会导致错误。", "type": "string" }, "script-title": { "label": "非拉丁字母標題", "description": "For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Hebrew, Japanese, etc). Prefix with two-character ISO639-1 language code followed by a colon. For Japanese use: |script-title=ja:...", "type": "string" }, "trans-title": { "label": "譯標題", "description": "外语来源的中文标题;请另填入'language'参数", "type": "string" }, "type": { "label": "類型", "description": "Additional information about the media type of the source; format in sentence case", "type": "string" }, "format": { "label": "格式", "description": "被引用的著作的'url'參數的文件檔案格式;例子:PDF,DOC,XLS;不要指定為HTML", "type": "string" }, "arxiv": { "label": "arXiv識別碼", "description": "An identifier for arXive electronic preprints of scientific papers", "type": "string" }, "asin": { "label": "AZIN", "description": "十个字元的亚马逊标准识别号", "type": "string" }, "asin-tld": { "label": "AZIN TLD", "description": "ASIN top-level domain for Amazon sites other than the US", "type": "string" }, "bibcode": { "label": "Bibcode", "description": "Bibliographic Reference Code (REFCODE); 19 characters", "type": "string" }, "doi": { "label": "DOI", "description": "數位物件識別碼;以'10.'开始", "type": "string" }, "doi-broken-date": { "label": "DOI失效日期", "description": "數位物件識別碼的失效日期", "type": "string" }, "isbn": { "label": "ISBN", "description": "国际标准书号;请尽量使用13个字元的书号", "type": "string" }, "issn": { "label": "ISSN", "description": "8个字元的国际标准连续出版物号,可分为以连字号分隔的两组四个字元", "type": "string" }, "jfm": { "label": "jfm代碼", "description": "Jahrbuch über die Fortschritte der Mathematik classification code", "type": "string" }, "jstor": { "label": "JSTOR", "description": "JSTOR识别号", "type": "string" }, "lccn": { "label": "LCCN", "description": "Library of Congress Control Number", "type": "string" }, "mr": { "label": "MR", "description": "Mathematical Reviews identifier", "type": "string" }, "oclc": { "label": "OCLC", "description": "Online Computer Library Center number", "type": "string" }, "ol": { "label": "OL", "description": "Open Library identifier", "type": "string" }, "osti": { "label": "OSTI", "description": "Office of Scientific and Technical Information identifier", "type": "string" }, "pmc": { "label": "PMC", "description": "PubMed Center article number", "type": "string" }, "pmid": { "label": "PMID", "description": "PubMed Unique Identifier", "type": "string" }, "rfc": { "label": "RFC", "description": "Request for Comments number", "type": "string" }, "ssrn": { "label": "SSRN", "description": "Social Science Research Network", "type": "string" }, "zbl": { "label": "Zbl", "description": "Zentralblatt MATH journal identifier", "type": "string" }, "id": { "label": "id", "description": "A unique identifier used where none of the specialized ones are applicable", "type": "string" }, "archiveurl": { "label": "存檔網址", "description": "存档的URL地址。", "type": "string" }, "archivedate": { "label": "存擋日期", "description": "存档日期。", "type": "string" }, "quote": { "label": "引用原文", "description": "被引用的相关原文。", "type": "string" }, "ref": { "label": "Ref", "description": "An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template", "type": "string" }, "separator": { "label": "Separator", "description": "The punctuation used to separate lists of authors, editors, etc.; a space must be encoded as do not use an asterisk, colon, or hash mark", "type": "string", "default": "." }, "postscript": { "label": "Postscript", "description": "The closing punctuation for the citation; ignored if 'quote' is defined", "type": "string", "default": "." }, "layurl": { "label": "Lay URL", "description": "URL link to a non-technical summary or review of the source; alias of 'laysummary'", "type": "string" }, "laysource": { "label": "Lay source", "description": "Name of the source of the laysummary; displays in italics, preceded by an en dash", "type": "string" }, "laydate": { "label": "Lay date", "description": "Date of the summary; displays in parentheses", "type": "string" }, "last3": { "label": "Last name", "description": "The surname of the third author; don't wikilink, use 'authorlink3'.", "aliases": [ "author3" ] }, "first3": { "label": "First name", "description": "Given or first name, middle names, or initials of the third author; don't wikilink." }, "authorlink3": { "label": "Author link", "description": "Title of existing Wikipedia article about the third author.", "type": "wiki-page-name", "aliases": [ "author3-link" ] }, "last4": { "label": "Last name", "description": "The surname of the fourth author; don't wikilink, use 'authorlink4'.", "aliases": [ "author4" ] }, "first4": { "label": "First name", "description": "Given or first name, middle names, or initials of the fourth author; don't wikilink." }, "authorlink4": { "label": "Author link", "description": "Title of existing Wikipedia article about the fourth author.", "type": "wiki-page-name", "aliases": [ "author4-link" ] }, "last5": { "label": "Last name", "description": "The surname of the fifth author; don't wikilink, use 'authorlink5'.", "aliases": [ "author5" ] }, "first5": { "label": "First name", "description": "Given or first name, middle names, or initials of the fifth author; don't wikilink." }, "authorlink5": { "label": "Author link", "description": "Title of existing Wikipedia article about the sixth author.", "type": "wiki-page-name", "aliases": [ "author5-link" ] }, "last6": { "label": "Last name", "description": "The surname of the sixth author; don't wikilink, use 'authorlink6'.", "aliases": [ "author6" ] }, "first6": { "label": "First name", "description": "Given or first name, middle names, or initials of the sixth author; don't wikilink.", "aliases": [ "author6-link" ] }, "authorlink6": { "label": "Author link", "description": "Title of existing Wikipedia article about the sixth author.", "type": "wiki-page-name" }, "last7": { "label": "Last name", "description": "The surname of the seventh author; don't wikilink, use 'authorlink7'.", "aliases": [ "author7" ] }, "first7": { "label": "First name", "description": "Given or first name, middle names, or initials of the seventh author; don't wikilink." }, "authorlink7": { "label": "Author link", "description": "Title of existing Wikipedia article about the seventh author.", "type": "wiki-page-name", "aliases": [ "author7-link" ] }, "last8": { "label": "Last name", "description": "The surname of the eighth author; don't wikilink, use 'authorlink8'.", "aliases": [ "author8" ] }, "first8": { "label": "First name", "description": "Given or first name, middle names, or initials of the eighth author; don't wikilink." }, "authorlink8": { "label": "Author link", "description": "Title of existing Wikipedia article about the eighth author.", "type": "wiki-page-name", "aliases": [ "author8-link" ] }, "last9": { "label": "Last name", "description": "The surname of the ninth author; don't wikilink, use 'authorlink9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.", "aliases": [ "author9" ] }, "first9": { "label": "First name", "description": "Given or first name, middle names, or initials of the ninth author; don't wikilink." }, "authorlink9": { "label": "Author link", "description": "Title of existing Wikipedia article about the ninth author.", "type": "wiki-page-name", "aliases": [ "author9-link" ] }, "author-mask": { "label": "Author mask", "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" }, "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 do not use an asterisk, colon, or hash mark", "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 do not use an asterisk, colon, or hash mark", "type": "string", "default": "; " }, "display-authors": { "label": "Display authors", "description": "number of authors to display before 'et al.' is used; default is to do so after 8 of 9 are listed; alias of 'displayauthors'", "type": "number", "default": "8", "aliases": [ "displayauthors" ] }, "lastauthoramp": { "label": "Last author ampersand", "description": "When set to any value, changes the separator between the last two names of the author list to 'space ampersand space'", "type": "string" } }, "maps": { "citoid": { "title": "title", "url": "url", "publisher": "publisher", "publicationTitle": "newspaper", "date": "date", "accessDate": "accessdate", "location": "location", "ISSN": [ "issn" ], "ISBN": [ "isbn" ], "PMCID": "pmc", "PMID": "pmid", "oclc": "oclc", "pages": "pages", "volume": "volume", "issue": "issue", "DOI": "doi", "language": "language", "contributor": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "author": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "editor": [ [ "editor-first", "editor-last" ] ] } } } </templatedata>
参见
- Wikipedia:列明来源:格式指引
- Wikipedia:模板消息/条目来源:相關模板
-
{{Cite web}}
:引用來源為網頁時 -
{{Cite book}}
:引用來源為書籍時 -
{{Cite journal en}}
:引用來源為英文期刊時 -
{{Cite journal zh}}
:引用來源為中文期刊時
|