模板: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." 

參見[編輯]