2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

模板:Cite web

萌娘百科,萬物皆可萌的百科全書!轉載請標註來源頁面的網頁連結,並聲明引自萌娘百科。內容不可商用。
跳至導覽 跳至搜尋
Template-info.svg 模板文檔  [查看] [編輯] [歷史] [刷新]
引用模板
{{Citation}} 引用模板元模板
{{Cite AV media}} 影音媒體
{{Cite book}} 書籍
{{Cite encyclopedia}} 引用百科全書的資料
{{Cite gup encyclopedia}} 引用少女與戰車百科全書的資料
{{Cite episode}} 廣播和電視節目
{{Cite interview}} 訪談
{{Cite journal}} 學術期刊
{{Cite magazine}} 雜誌和期刊
{{Cite map}} 地圖
{{Cite news}} 新聞報導
{{Cite podcast}} 播客
{{Cite press release}} 新聞稿
{{Cite serial}} 廣播和電視節目系列
{{Cite sign}} 標誌、匾額、銘牌或徽章
{{Cite speech}} 演講
{{Cite web}} 上述模板未包含的其他網絡資料

簡介

描寫條目時經常需要參考網絡上的各種資源,因此更多地使用這個模板可以將所參考的來源記錄下來,以便瀏覽者以及之後的編寫者找到這些來源資料。

本模板是用來列明條目中非新聞的網絡參考資料。
所有的參數僅允許小寫

用法

所有參數都必須使用小寫字母。

使用時可以複製下面的空白模板。參數之間以「|」符號分隔。請刪除未使用的參數以保持編輯框的整齊。

有作者的參考

{{Cite web|url=|title=|author=|date=|website=|publisher=|access-date=|quote=}}

沒有作者的參考

{{Cite web|url=|title=|date=|website=|publisher=|access-date=|quote=}}
直式排列的最常用參數
{{Cite web
|url=
|title=
|author=
|last=
|first=
|date=
|website=
|publisher=
|access-date=
|quote=
}}
直式排列的全部參數

{{Cite web|url=|title=|last=|first=|author=|author-link=|last2=|first2=|author2=|author-link2=|date=|year=|editor-last=|editor-first=|editor=|editor-link=|editor2-last=|editor2-first=|editor2-link=|editors=|department=|website=|series=|publisher=|location=|page=|pages=|at=|language=|script-title=|trans-title=|type=|format=|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=|dead-url=|access-date=|quote=|ref=|postscript=|subscription=|registration=}}

{{Cite web
|url=
|title=
|last=
|first=
|author=
|author-link=
|last2=
|first2=
|author2= 
|author-link2=
|date=
|year=
|editor-last=
|editor-first=
|editor-link=
|editor2-last=
|editor2-first=
|editor2-link=
|department=
|website=
|series=
|publisher=
|via=
|location=
|page=
|pages=
|at=
|language=
|script-title=
|trans-title=
|type=
|format=
|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=
|dead-url=
|access-date=
|quote=
|ref=
|postscript=
|subscription=
|registration=
}}

必填參數(否則會報錯

  • title: 引用項的標題(原文)。
    • script-title:外語文獻(特別是可能錯誤簡繁轉換的日文)建議使用該參數代替,開頭需用ja:等形式標示語言。請參考Help:語言標籤
  • url: 引用項的網址。開頭必須帶有通訊協議 例如http://或https://。

選填參數

  • accessdate: 查閱日期。可使用ISO 8601中規定的YYYY-MM-DD格式,例如"accessdate= 2024-05-23"。
  • trans_title:標題的中文翻譯
  • author: 作者的名字
    • lastfirst 參數一起使用產生效果如姓, 名. (主要用於外國人名名字在前,姓氏在後的情況)。
    • authorlink參數與author一同使用,如果是與last參數和first參數一同使用則在兩個作者之間加上|。這個參數的作用是連結到相應的維基條目,而不是鏈到外部連結。
  • date: 原文出版或發表的日期,請使用包括年、月、日的完整日期格式並與所寫條目風格保持一致。如果是與使用ISO 8601中規定的YYYY-MM-DD格式時,例如是2006-02-17則不需要在輸入日期時加上維基連結,它會自動被系統加上(根據2014年WP:格式手冊新規定,不再對日期添加連結,原有的「[[2015年]][[10月21日]]」等內文連結也逐步被User:Yinweichen-bot等人移除)
    • 或者使用另一種組合: year: 出版年份和month: 出版月份。如果你有詳細的日子,請使用date參數。這種方式也不需要加上維基連結,它會自動被系統加上(根據2014年WP:格式手冊新規定,不再對日期添加連結)
  • language: 引用項使用的語言(為中文時作為缺省情況可以不用提示)。
  • format: 文件格式,例如PDF文件。此項為空則被缺省認為是HTML格式。
  • work: 如果這個引用項是包括在一個更大「作品」之中,例如是一本書、一份期刊雜誌或是一個網站,那麼請寫下這個"作品"的名字。
  • pages: 5–7: 引用項所在的頁數或者是所在的起始頁和終止頁,而不是在此寫明所引用書籍的總頁數。此項在引用項為PDF文件時特別有用。
  • publisher: 如果存在出版者--例如這個網站是由某個政府服務部門、教育機構或公司來提供運作,則可以在此輸入。
  • via: 非出版者--例如社群或信息網站是由某個人、部門機構或公司發佈消息,則可以在此輸入。(例如Twitter新浪微博等)。
  • doi: 有關文檔的數位物件識別號,例如10.1038/news070508-7
    • Doilabel: 如果此DOI包括一些必須要進行URL編碼的字符,請使用"Doilabel"參數表明為進行URL編碼的版本。參見doi: "id"等同於"doi"而"label"等同於"doilabel"
  • archiveurl: 重要的網頁可以被類似互聯網檔案館這樣的網站存檔,這時候這個參數應該是這個存檔副本的網頁網址(需要同時使用archivedate參數)。
  • archivedate: 此文檔存檔的日期(需要同時使用archiveurl參數),請使用ISO 8601YYYY-MM-DD格式,例如2006-02-17不需要在輸入日期時加上維基連結,它會自動被系統加上。這個參數不支持(美國/國際)日期格式的日期格式(它們會被顯示成錯誤的紅色連結格式)(根據2014年格式手冊新規定,不再對日期添加連結)
  • dead-url: 標記源連結是否為失效連結。填yes表示失效連結,此時會以存檔連結為顯示主體;填no表示未失效連結,此時存檔僅為備份作用,並以未失效的源連結為顯示主體。(需要同時使用archiveurlarchivedate參數)
  • quote: 被引用的相關原文。
  • website: 被引用的相關網站,可以用內鏈。

舉例說明

一些常見用法

  • {{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]. 


使用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,zh,ja }}
    Joliet, François. Honnit soit qui mal y pense. 2005-04-30 [引用時間: 2005-07-06] (français、中文及日本語). 


使用authorlink參數

  • {{Cite web |url= https://twitter.com/humikane/status/564910485095452672 |title=U酱母港设定 |accessdate= 2017-01-06 |author=岛田文金 |authorlink= 岛田文金 |date= 2015-02-09 |work= Twitter |publisher= |language= ja |quote= 母港では違和感出るの承知で(特に中破)、どうしても水中運用のシーンが書きたくて、運営さんにワガママきいていただきました。可愛がってやってね }}
    島田文金. U醬母港設定. Twitter. 2015-02-09 [引用時間: 2017-01-06] (日本語). 母港では違和感出るの承知で(特に中破)、どうしても水中運用のシーンが書きたくて、運營さんにワガママきいていただきました。可愛がってやってね 


不使用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 }}
    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] (Ελληνικά). 


為已被類似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]. (原始內容 (PDF)存檔於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. }}
    Encyclopedia of things http://www.example.org/. [引用時間: 2005-07-06]. Lorem ipsum dolor.  缺少或|title=為空 (幫助)

注意事項

某些外文標點符號(“ ” ‘ ’)在「繁體」模式時會錯誤轉換為引號,例如:

{{Cite web |url=https://zh.wikipedia.org |title=“Title text”}} 顯示為:

「Title text」. 

使用script-title參數可強制該等標點不轉換:

{{Cite web |url=https://zh.wikipedia.org |script-title=en:“Title text”}}顯示為

“Title text”. 

雖然使用<nowiki>“Title text”</nowiki>也可強制不轉換,但是會出現「存在delete character」紅字錯誤訊息(2016年情況),例如:

{{Cite web |url=https://zh.wikipedia.org |title=<nowiki>“Title text”</nowiki>}}顯示為

「Title text」. 參數|title=值左起第1位存在刪除符 (幫助)

如在location和quote參數填入的文字有該等標點,使用-{... }-即可強制該等標點不轉換。

如果網頁標題含有以下字符,請在填寫title參數時依下表替換。

網頁標題原有字符 替換為
| &#124;
以下為以往引致錯誤的字符,已於2016年修復問題,
可直接於title填「|title=[文字...] 文字...」,繼續依下錶轉換亦可
< &#60;
[ &#91;
] &#93;

測試:{{Cite web |url=https://zh.wikipedia.org |title=一<二[三]四 | 五 }},顯示為:一<二[三]四.  已忽略文本「 五 」 (幫助)

加入language=en(或ja、es之類)關閉轉換的方法於2015年12月以後失效。

參見