模板:Cite web/doc

来自WikiFur
跳转至: 导航搜索

模板:Template doc page viewed directly

Wikipedia-logo-v2.svg

简介[编辑]

描写维基条目时经常需要参考网络上的各种资源,因此更多地使用这个模板可以将所参考的来源记录下来,以便浏览者以及之后的编写者找到这些来源资料。

本模板是用来列明维基条目中非新闻来源 (参见列明来源的关于维基条目列明的一般注意事项,并参见{{Cite news}}以学习如何列名新闻来源)。
此模板用来取代过时的{{Web reference}}。它的参数仅允许小写

模板用法[编辑]

常用格式[编辑]

常用格式(带有当前查阅日期)

{{Cite web |url= |title= |accessdate=2024-03-28 |work= |publisher= |date= }}

使用作者姓名参数(名在前,姓在后)以及共同作者参数(带有当前查阅日期)

{{Cite web |url= |title= |accessdate=2024-03-28 |last= |first= |coauthors= |date= |work= |publisher=}}

使用作者参数(带有当前查阅日期)

{{Cite web |url= |title= |accessdate=2024-03-28 |author= |date= |work= |publisher=}}

使用非链式查阅日期格式及最终作者、最初作者参数

{{Cite web |url= |title= |accessmonthday= |accessyear= |last= |first= |date= |work= |publisher= }}

使用非链式查阅日期格式及作者参数

{{Cite web |url= |title= |accessmonthday= |accessyear= |author= |date= |work= |publisher= }}

全部参数[编辑]

该模版参数既可竖式也可横式排列,使用时复制下列文字并删除不需要的参数即可。

横式排列的全部参数
{{Cite web |url= |title= |accessdate=2024-03-28 |accessmonthday= |accessdaymonth= |accessyear= |author= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |doi= |archiveurl= |archivedate= |quote= }}
竖式排列的全部参数
{{Cite web
|url= 
|title= 
|accessdate= 
|accessdaymonth= 
|accessmonthday= 
|accessyear= 
|author= 
|last= 
|first= 
|authorlink= 
|coauthors= 
|date= 
|year= 
|month= 
|trans_title = 
|format= 
|work= 
|publisher= 
|pages= 
|language= 
|doi= 
|archiveurl= 
|archivedate= 
|quote= 
}}

必填参数(否则会报错[编辑]

  • url: 引用项的网址。开头必须带有通讯协议 例如http://或https://。
  • title: 引用项的标题。
  • 从下列选项中选择一种查阅日期格式以符合所写条目的风格。
查阅处显示维基链式日期格式
  • accessdate: 可使用ISO 8601中规定的YYYY-MM-DD格式,例如"accessdate= 2024-03-28"。当为了与所写条目的风格一致而使用(美国/国际)日期格式时,请使用accessyearaccessmonthdayaccessdaymonth参数,否则如果这时候还使用accessdate参数,则(美国/国际)日期格式的日期就会无法正确显示。
查阅处显示非维基链式日期格式:
  • accessmonthdayaccessyear参数: 例如当输入日、月数值为"accessmonthday= 5 10",同时输入年份数值为"accessyear= 2006"时会显示: 于2006年5月10日查阅.
  • accessdaymonthaccessyear参数: 例如当输入日、月数值为"accessdaymonth= 10 May",同时输入年份数值为"accessyear= 2006"时会显示: Retrieved on 10 May 2006.(中文模板accessdaymonth参数显示会出错,不支持此项组合)


可正确显示的查阅日期参数组合
参数组合 accessdate accessmonthday accessyear 显示
1 2008-08-01 置空 置空 于2008年8月1日查阅.
2 08-01 置空 2008
3 8月1日 置空 2008
4 置空 08-01 2008
5 置空 8月1日 2008

注:这里的日、月日期前的0可写可不写,即08-018-1都是正确的

选填参数[编辑]

  • author: 作者的名字
    • lastfirst 参数一起使用产生效果如名字, 姓名.(主要用于外国名字在前,姓氏在后的情况)。
    • authorlink参数与author一同使用,如果是与last参数和first参数一同使用则在两个作者之间加上|。这个参数的作用是链接到相应的维基条目,而不是链到外部链接。
    • coauthors: 在此处可以添加另外的共同作者。
  • date: 原文出版或发表的日期,请使用包括年、月、日的完整日期格式并与所写条目风格保持一致。如果是与使用ISO 8601中规定的YYYY-MM-DD格式时,例如是2006-02-17,则不需要在输入日期时加上维基链接,它会自动被系统加上。
    • 或者使用另一种组合: year: 出版年份和month: 出版月份。如果你有详细的日子,请使用date参数。这种方式也不需要加上维基链接,它会自动被系统加上。。
  • format: 文件格式,例如PDF文件。此项为空则被缺省认为是HTML格式。
  • work: 如果这个引用项是包括在一个更大“作品”之中,例如是一本书、一份期刊杂志或是一个网站,那么请写下这个"作品"的名字。
  • publisher: 如果存在出版者--例如这个网站是由某个政府服务部门、教育机构或公司来提供运作,则可以在此输入名字。
  • pages: pp. 5–7: 引用项所在的页数或者是所在的起始页和终止页,而不是在此写明所引用书籍的总页数。此项在引用项为PDF文件时特别有用。
  • language: 引用项使用的语言(为中文时作为缺省情况可以不用提示)。
  • doi: 有关文档的数位物件识别号,例如10.1038/news070508-7
    • Doilabel: 如果此DOI包括一些必须要进行URL编码的字符,请使用"Doilabel}}"参数表明为进行URL编码的版本。参见{{doi}}: "id"等同于"doi"而"label"等同于"doilabel"
  • archiveurl: 重要的网页可以被类似WebCite这样的网站存档,这时候这个参数应该是这个存档副本的网页网址(需要同时使用archivedate参数)。
  • archivedate: 此文档存档的日期(需要同时使用archiveurl参数),请使用ISO 8601YYYY-MM-DD格式,例如2006-02-17。不需要在输入日期时加上维基链接,它会自动被系统加上。这个参数不支持(美国/国际)日期格式的日期格式(它们会被显示成错误的红色链接格式)。
  • quote: 被引用的相关原文。

举例说明[编辑]


一些常见用法
  • {{Cite web |author=Doe, John |title=My favorite things part II |publisher=Open Publishing |date=2005-04-30 |work=Encyclopedia of things |url=http://www.example.org/ |accessdate=2005-07-06 }}
    Doe, John. My favorite things part II. Encyclopedia of things. Open Publishing. 2005-04-30 [2005-07-06]. 
  • {{Cite web |author=Doe, John |title=My favorite things part II |date=2005-04-30 |work=Encyclopedia of things |url=http://www.example.org/ |accessdate=2005-07-06 }}
    Doe, John. My favorite things part II. Encyclopedia of things. 2005-04-30 [2005-07-06]. 
  • {{Cite web |author=Doe, John |title=My favorite things part II |date=2005-04-30 |url=http://www.example.org/ |accessdate=2005-07-06 }}
    Doe, John. My favorite things part II. 2005-04-30 [2005-07-06]. 
  • {{Cite web |author=Doe, John |title=My favorite things part II |url=http://www.example.org/ |accessdate=2005-07-06 }}
    Doe, John. My favorite things part II [2005-07-06]. 
  • {{Cite web |title=My favorite things part II |url=http://www.example.org/ |accessdate=2005-07-06 }}
    My favorite things part II [2005-07-06]. 
  • {{Cite web |url=http://www.nfl.com/fans/ |title=Digest of rules |publisher= National Football League |accessdate=2005-07-06 }}
    Digest of rules. National Football League [2005-07-06]. 


使用非链式的查阅日期(使用参数accessmonthday和accessyear)
  • {{Cite web |title=My favorite things part II |work=Encyclopedia of things |url=http://www.example.org/ |accessmonthday= 07-06 |accessyear=2005 }}
    My favorite things part II. Encyclopedia of things [2005]. 


使用format参数
  • {{Cite web |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |accessdate=2005-07-06 }}
    List of psychotropic substances under international control (PDF). International Narcotics Control Board [2005-07-06]. 


使用language参数
  • {{Cite web |author=Joliet, François |title=Honnit soit qui mal y pense |date=2005-04-30 |url=http://www.example.org/ |accessdate=2005-07-06 |language= Fr }}
    Joliet, François. Honnit soit qui mal y pense. 2005-04-30 [2005-07-06] (Fr). 


使用coauthors参数
  • {{Cite web |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |title=My favorite things part II |publisher=Open Publishing |date=2005-04-30 |work=Encyclopedia of things |url=http://www.example.org/ |accessdate=2006-05-16 }}
    Doe, John; Smith, Peter; Smythe, Jim. My favorite things part II. Encyclopedia of things. Open Publishing. 2005-04-30 [2006-05-16]. 


使用authorlink参数
  • {{Cite web |url= http://www.ceo.gov.hk/chi/press/oped.htm |title= 「大市場 小政府」── 我們恪守的經濟原則 |accessdate= 2008-08-08 |accessdaymonth= |accessmonthday= |accessyear= |author= 曾蔭權 |authorlink= 曾蔭權 |date= 2006-9-18 |work= 香港特別行政區行政長官網頁 |publisher= 香港特別行政區政府新聞處 |language= zh-hant |quote= 對於私營界別可以自己做的事,政府不應對市場作任何干預 }}
    曾荫权. 「大市场 小政府」── 我们恪守的经济原则. 香港特别行政区行政长官网页. 香港特别行政区政府新闻处. 2006-9-18 [2008-08-08] (zh-hant). "对于私营界别可以自己做的事,政府不应对市场作任何干预" 


不使用author参数
  • {{Cite web |title=My favorite things part II |publisher=Open Publishing |date=2005-04-30 |work=Encyclopedia of things |url=http://www.example.org/ | accessdate=2006-05-16 }}
    My favorite things part II. Encyclopedia of things. Open Publishing. 2005-04-30 [2006-05-16]. 


不使用author和publisher参数
  • {{Cite web |title=My favorite things part II |date=2005-04-30 |work=Encyclopedia of things |url=http://www.example.org/ |accessdate=2005-07-06 }}</br>→ My favorite things part II. Encyclopedia of things. 2005-04-30 [2005-07-06]. 
  • {{Cite web |title=My favorite things part II |date=2005-04-30 |url=http://www.example.org/ |accessdate=2005-07-06}}
    My favorite things part II. 2005-04-30 [2005-07-06]. 
  • {{Cite web |title=List of psychotropic substances under international control |date=2005-04-30 |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |accessdate=2005-07-06 |language= el }}
    List of psychotropic substances under international control (PDF). 2005-04-30 [2005-07-06] (el). 


为已被类似WebCite这样的网站存档的网页使用参数archiveurl和archivedate
  • {{Cite web |title=List of psychotropic substances under international control |date=2005-04-30 |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |accessdate=2005-07-06 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=2005-09-11 }}
    List of psychotropic substances under international control (PDF). 2005-04-30 [2005-07-06] (原始内容存档于2005-09-11). 
  • {{Cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=2006-03-31 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=2006-04-26 }}
    Interview with Maggie Downs. The Desert Sun. 2006-03-31 (原始内容存档于2006-04-26). 


使用quote参数
  • {{Cite web |title=My favorite things part II |work=Encyclopedia of things |url=http://www.example.org/ |accessdate=2005-07-06 |quote=Lorem ipsum dolor. }}
    My favorite things part II. Encyclopedia of things [2005-07-06]. "Lorem ipsum dolor." 


因title参数忘记填写而导致的错误
  • {{Cite web |work=Encyclopedia of things |url=http://www.example.org/ |accessdate=2005-07-06 |quote=Lorem ipsum dolor. }}
    模板:Citation error. Encyclopedia of things [2005-07-06]. "Lorem ipsum dolor." 

参见[编辑]