首页
随机
登录
设置
关于阿加尔塔
免责声明
阿加尔塔
搜索
编辑“︁
模板:Cite web/doc
”︁
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
描写wiki条目时经常需要参考网络上的各种资源,因此更多地使用这个模板可以将所参考的来源记录下来,以便浏览者以及之后的编写者找到这些来源资料。 == 模板-{zh-hans:数据; zh-hant:資料; zh-tw:資料; zh-hk:數據;}- == <templatedata> { "description": "用來列明wiki條目中来自网站的來源。新闻、图书、期刊等不适用这个模板", "params": { "url": { "label": "網址", "type": "string", "required": true, "description": "网站页面的網址。開頭必須帶有通訊協議 例如http://或https://。" }, "title": { "label": "標題", "type": "string", "required": true, "description": "网站页面的標題。" }, "accessdate": { "label": "-{zh-hans:访问; zh-hant:造訪;}-日期", "type": "date", "required": true, "description": "可使用ISO 8601中規定的YYYY-MM-DD格式,例如accessdate= 2013-07-26。" }, "author": { "label": "作者", "type": "string", "suggested": true, "description": "作者的名字。" }, "date": { "label": "發表日期", "type": "date", "suggested": true, "description": "原文出版或發表的日期,請使用包括年、月、日的完整日期格式並與所寫條目風格保持一致。不能與year或month參數同時使用。建议使用ISO 8601中規定的YYYY-MM-DD格式,例如date= 2013-07-26。" }, "last": { "label": "姓", "type": "string", "description": "作者的姓。不要与author参数同时使用" }, "first": { "label": "名", "type": "string", "description": "作者的名字。不要与author参数同时使用" }, "authorlink": { "label": "作者條目", "type": "string/wiki-page-name", "description": "鏈接至作者的wiki百科條目。" }, "coauthors": { "label": "共同作者", "type": "string", "description": "另外的共同作者。" }, "year": { "label": "发表年份", "type": "number", "description": "发表年份。不能與date參數同時使用。" }, "month": { "label": "发表月份", "type": "number", "description": "发表月份。不能與date參數同時使用。" }, "format": { "label": "-{zh-hans:文件; zh-hant:檔案;}-格式", "type": "string", "description": "-{zh-hans:文件; zh-hant:檔案;}-格式,例如PDF-{zh-hans:文件; zh-hant:檔案;}-。此項為空則被缺省認為是HTML格式。" }, "work": { "label": "作品", "type": "string", "description": "如果這個引用項是包括在一個更大「作品」之中,例如是一本書、一份期刊雜誌或是一個網站,那麼請寫下這個「作品」的名字。" }, "publisher": { "label": "出版者", "type": "string", "suggested": true, "description": "如果存在出版者,例如這個網站是由某個政府服務部門、教育機構或公司來提供運作,則可以在此輸入名字。" }, "pages": { "label": "頁數", "type": "string", "description": "引用項所在的頁數或者是所在的起始頁和終止頁,而不是在此寫明所引用書籍的總頁數。此項在引用項為PDF文件時特別有用。" }, "language": { "label": "語言", "type": "string", "description": "引用項使用的語言(為中文時作為缺省情況可以不用提示)。" }, "doi": { "label": "DOI", "type": "string", "description": "有關-{zh-hans:文档; zh-hant:文件;}-的數位物件識別號(DOI)。" }, "archiveurl": { "label": "存檔網址", "type": "string", "description": "重要的網頁可以被類似WebCite這樣的網站存檔,這時候這個參數應該是這個存檔副本的網頁網址(需要同時使用archivedate參數)。" }, "archivedate": { "label": "存檔日期", "type": "date", "description": "此-{zh-hans:文件; zh-hant:檔案;}-存檔的日期(需要同時使用archiveurl參數),請使用ISO 8601YYYY-MM-DD格式,例如2006-02-17。不需要在輸入日期時加上wiki連結,它會自動被系統加上。" }, "quote": { "label": "引文", "type": "string", "description": "被引用的相關原文。" } } } </templatedata> == 模板用法 == === 常用格式 === ; 常用格式(带有当前查阅日期) <tt><nowiki>{{Cite web|url=|title=|accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki>|work=|publisher=|date=}}</nowiki></tt> ; 使用作者姓名参数(名在前,姓在后)以及共同作者参数(带有当前查阅日期) <tt><nowiki>{{Cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |last= |first= |coauthors= |date= |work= |publisher=}}</nowiki></tt> ; 使用作者参数(带有当前查阅日期) <tt><nowiki>{{Cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |author= |date= |work= |publisher=}}</nowiki></tt> ; 使用非链式查阅日期格式及最终作者、最初作者参数 <tt><nowiki>{{Cite web |url= |title= |accessmonthday= |last= |first= |date= |work= |publisher= }}</nowiki></tt> ; 使用非链式查阅日期格式及作者参数 <tt><nowiki>{{Cite web |url= |title= |accessmonthday= |author= |date= |work= |publisher= }}</nowiki></tt> === 所有参数 === 该模版参数既可竖式也可横式排列,使用时复制下列文字并删除不需要的参数即可。 {| class="wikitable" cellpadding="6" !横式排列的全部参数 |- width="50%" valign="top" style="vertical-align:top;" | : <span style="font-family:Courier;"><nowiki>{{Cite web|url=|title=|accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki>|author=|last=|first=|authorlink=|coauthors=|date=|year=|month=|format=|work=|publisher=|pages=|language=|doi=|archiveurl=|archivedate=|quote=}}</nowiki></span> |} ; 竖式排列的全部参数 <pre>{{Cite web |url= |title= |accessdate= |author= |last= |first= |authorlink= |coauthors= |date= |year= |month= |trans_title = |format= |work= |publisher= |pages= |language= |doi= |archiveurl= |archivedate= |quote= }}</pre> ==== 必填参数(<span style="color: red;">否则会报错</span>) ==== * '''url''': 引用项的网址。开头必须带有通讯协议 例如<nowiki>http://或https://</nowiki>。 * '''title''': 引用项的标题(原文)。 * '''accessdate''': 可使用[[wikipedia:zh:ISO 8601|ISO 8601]]中规定的YYYY-MM-DD格式,例如"accessdate= {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}"。 ==== 选填参数 ==== * '''trans_title''':標題的中文翻譯 * '''author''': 作者的名字 * *'''last''' 与 '''first''' 参数一起使用产生效果如<code>名字, 姓名.</code>(主要用于外国名字在前,姓氏在后的情况)。 ** '''authorlink'''参数与'''author'''一同使用,如果是与'''last'''参数和'''first'''参数一同使用则在两个作者之间加上'''|'''。这个参数的作用是链接到相应的wiki条目,而不是链到外部链接。 ** '''coauthors''': 在此处可以添加另外的共同作者。 * '''date''': 原文出版或发表的日期,请使用包括年、月、日的完整日期格式并与所写条目风格保持一致。如果是与使用ISO 8601中规定的YYYY-MM-DD格式时,例如是''2006-02-17'',则不需要在输入日期时加上wiki链接,它会自动被系统加上。 ** 或者使用另一种组合: '''year''': 出版年份和'''month''': 出版月份。如果你有详细的日子,请使用''date''参数。这种方式也不需要加上wiki链接,它会自动被系统加上。 * '''format''': 文件格式,例如PDF文件。此项为空则被缺省认为是HTML格式。 * '''work''': 如果这个引用项是包括在一个更大「作品」之中,例如是一本书、一份期刊杂志或是一个网站,那么请写下这个"作品"的名字。 * '''publisher''': 如果存在出版者--例如这个网站是由某个政府服务部门、教育机构或公司来提供运作,则可以在此输入名字。 * '''pages''': ''pp. 5–7'': 引用项所在的页数或者是所在的起始页和终止页,而不是在此写明所引用书籍的总页数。此项在引用项为PDF文件时特别有用。<!-- COmmentedout:notimplemented in the template! This is especially useful for [[PDF]] format, where the page can be linked to with the <code>#page=''number''</code> anchor tagged on the end of the URL: *: <code><nowiki>pages = [http://www.example.org/file.pdf#page=123 p. 123]</nowiki></code>--> * '''language''': 引用项使用的语言(为中文时作为缺省情况可以不用提示)。 * '''doi''': 有关文档的[[wikipedia:zh:DOI|数位物件识别号]],例如''<nowiki>10.1038/news070508-7</nowiki>'' ** '''Doilabel''': 如果此DOI包括一些必须要进行[[wikipedia:en:Percent-encoding|URL编码]]的字符,请使用"Doilabel}}"参数表明为进行URL编码的版本。 * '''archiveurl''': 重要的网页可以被类似[[wikipedia:en:WebCite|WebCite]]这样的网站[[wikipedia:en:Web archiving|存档]],这时候这个参数应该是这个存档副本的网页网址(需要同时使用'''archivedate'''参数)。 * '''archivedate''': 此文档存档的日期(需要同时使用'''archiveurl'''参数),请使用ISO 8601YYYY-MM-DD格式,例如''2006-02-17''。不需要在输入日期时加上wiki链接,它会自动被系统加上。这个参数不支持(美国/国际)日期格式的日期格式(它们会被显示成错误的红色链接格式)。 * '''quote''': 被引用的相关原文。 == 举例说明 == ; 一些常见用法 * <nowiki>{{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 }}</nowiki><br/>→ <span style="background:white">{{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 }}</span> * <nowiki>{{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 }}</nowiki><br/>→ <span style="background:white">{{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 }}</span> * <nowiki>{{Cite web | author = Doe, John | title = My favorite things part II | date = 2005-04-30 | url = http://www.example.org/ | accessdate = 2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{Cite web | author = Doe, John | title = My favorite things part II | date = 2005-04-30 | url = http://www.example.org/ | accessdate = 2005-07-06 }}</span> * <nowiki>{{Cite web | author = Doe, John | title = My favorite things part II | url = http://www.example.org/ | accessdate = 2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{Cite web | author = Doe, John | title = My favorite things part II | url = http://www.example.org/ | accessdate = 2005-07-06 }}</span> * <nowiki>{{Cite web | title = My favorite things part II | url = http://www.example.org/ | accessdate = 2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{Cite web | title = My favorite things part II | url = http://www.example.org/ | accessdate = 2005-07-06 }}</span> * <nowiki>{{Cite web | url = http://www.nfl.com/fans/ | title = Digest of rules | publisher = National Football League | accessdate = 2005-07-06 }}</nowiki><br>→ <span style="background:white">{{Cite web | url= http://www.nfl.com/fans/ | title= Digest of rules | publisher = National Football League | accessdate = 2005-07-06 }}</span> <br /> ; 使用format参数 * <nowiki>{{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 }}</nowiki><br/> → <span style="background:white">{{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 }}</span> <br /> ; 使用language参数 * <nowiki>{{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 }}</nowiki><br/>→ <span style="background:white">{{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 }}</span> <br /> ; 使用coauthors参数 * <nowiki>{{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 }}</nowiki><br/>→ <span style="background:white">{{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 }}</span> <br /> <!--; 使用authorlink参数 * <nowiki>{{Cite web | url = http://www.ceo.gov.hk/chi/press/oped.htm | title = 「大市場 小政府」── 我們恪守的經濟原則 | accessdate = 2008-08-08 | author = 曾蔭權 | authorlink = 曾蔭權 | date = 2006-9-18 | work = 香港特別行政區行政長官網頁 | publisher = 香港特別行政區政府新聞處 | language = zh-hant | quote = 對於私營界別可以自己做的事,政府不應對市場作任何干預 }}</nowiki><br/>→ <span style="background:white">{{Cite web | url = http://www.ceo.gov.hk/chi/press/oped.htm | title = 「大市場 小政府」── 我們恪守的經濟原則 | accessdate = 2008-08-08 | author = 曾蔭權 | authorlink = 曾蔭權 | date = 2006-9-18 | work = 香港特別行政區行政長官網頁 | publisher = 香港特別行政區政府新聞處 | language = zh-hant | quote = 對於私營界別可以自己做的事,政府不應對市場作任何干預 }}</span> <br />--> ; 不使用author参数 * <nowiki>{{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 }}</nowiki><br/>→ <span style="background:white">{{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 }}</span> <br /> ; 不使用author和publisher参数 * <nowiki>{{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 }}</nowiki></br>→ <span style="background:white">{{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 }}</span> * <nowiki>{{Cite web | title = My favorite things part II | date = 2005-04-30 | url = http://www.example.org/ | accessdate = 2005-07-06 }}</nowiki><br/>→ <span style="background:white">{{Cite web | title = My favorite things part II | date = 2005-04-30 | url = http://www.example.org/ | accessdate = 2005-07-06 }}</span> * <nowiki>{{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 }}</nowiki><br/> → <span style="background:white">{{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 }}</span> <br /> ; 为已被类似[[:en:WebCite|WebCite]]这样的网站存档的网页使用参数archiveurl和archivedate * <nowiki>{{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 }}</nowiki><br/> → <span style="background:white">{{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 }}</span> *<nowiki>{{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 }}</nowiki><br/> → <span style="background:white">{{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 }}</span> <br /> ; 使用quote参数 * <nowiki>{{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. }}</nowiki><br/>→ <span style="background:white">{{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. }}</span> <br /> ; 因title参数忘记填写而导致的错误 * <nowiki>{{Cite web | work = Encyclopedia of things | url = http://www.example.org/ | accessdate = 2005-07-06 | quote = Lorem ipsum dolor. }}</nowiki><br/>→ <span style="background:white">{{Cite web | work = Encyclopedia of things | url = http://www.example.org/ | accessdate = 2005-07-06 | quote = Lorem ipsum dolor. }}</span> == 注意事項 == 某些外文標點符號(-{“ ” ‘ ’}-)在「繁體」模式時會錯誤轉換為引號,例如: <nowiki>{{Cite web|url=http://zh.wikipedia.org|title=“Title text”}}</nowiki> 顯示為: {{Cite web|url=http://zh.wikipedia.org|title=“Title text”}} 這時應為其添加非中文的language參數,例如<code>language=en</code>,此時標題的轉換會關閉,效果: {{Cite web|url=http://zh.wikipedia.org|title=“Title text”|language=en}} 日文漢字被錯誤轉換時請添加<code>language=ja</code>。 使用<nowiki>“Title text”</nowiki>也可強制不轉換,當有標題中外文引號被錯誤轉換,或某些漢字不需要轉換時可以使用。例如: {{Cite web|url=http://zh.wikipedia.org|title=<nowiki>“Title text”</nowiki>}} 如果網頁標題含有「<nowiki> | </nowiki>」,請在填寫title參數時把那些「<nowiki> | </nowiki>」改成「&#124;」。 <includeonly>[[Category:模板]]</includeonly><noinclude>[[Category:模板文件]]</noinclude>
摘要:
请注意,所有对阿加尔塔的贡献均被视为依照Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)发表(详情请见
阿加尔塔:著作权
)。如果您不希望您的文字作品被随意编辑和分发传播,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
该页面使用的模板:
模板:Cite web
(
编辑
)