Template:Cite book/doc/lua

维基百科,自由的百科全书

本模板是用於在維基百科內引用資料來源,特別為引用書籍而設計。

使用方式[编辑]

若以英文填寫,所有欄位名務必為小寫

若要使用請拷貝空白的模板代碼,並用「|」(直線)字元分開各個欄位。請刪除任何沒有使用到的欄位,以免在編輯視窗中出現空白。

在填寫 ISBNOCLCDOI 時不需要使用任何模板或魔術字。可使用 編號方式 代替。例如,輸入 isbn=數字,而不要輸入 id=ISBN,當有特殊書籍必須使用兩個ISBN或其他數位編號時請使用|ISBN=xxx |id={{ISBN|XXX}} ,在id的ISBN可省略版模,但有時會錯誤,如錯誤請改用上述方式。

完整版本(拷貝並貼上以下的文字,並刪除你不需要的欄位變數)
{{cite book lua |last= |first= |author= |authorlink= |coauthors= |editor= |others= |title= |origdate= |origyear= |origmonth= |url= |format= |accessdate= |accessyear= |accessmonth= |edition= |series= |date= |year= |month= |publisher= |location= |language= |isbn= |oclc= |doi= |id= |pages= |chapter= |chapterurl= |unified= |quote= }}
最常用版本(您可以使用這個版本,無須刪除太多不需要的欄位)
{{cite book lua |author= |authorlink= |coauthors= |title= |year= |publisher= |location= |isbn= }}
中文書籍
範例一

{{cite book lua |author=張愛玲 |title= 《[[半生緣]]》 |publisher= 皇冠出版 |date= 1999-09 |isbn= 7-80120-667-3 }}

張愛玲. 《半生緣》. 皇冠出版. 1999-09. ISBN 7-80120-667-3. 

中文書籍
範例二
{{cite book lua
|author = 張愛玲
|authorlink = 張愛玲
|title = 《[[半生緣]]》
|publisher = 皇冠出版
|series = 張愛玲系列
|year = 1999
|isbn = 7-80120-667-3
}}

張愛玲. 《半生緣》. 張愛玲系列. 皇冠出版. 1999. ISBN 7-80120-667-3. 

英文書籍
範例一

{{Cite book lua|first=塞尔日|last=兰|authorlink=塞尔日·兰|year=2010|origyear=1998|title={{VarSerif|Fundamentals of Differential Geometry}}|trans_title=微分几何基础|publisher=[[施普林格出版社]]、[[世界图书出版公司]]|location=北京|isbn=7-5100-0540-X|url=http://ishare.iask.sina.com.cn/f/7431175.html}}

兰, 塞尔日. Fundamentals of Differential Geometry [微分几何基础]. 北京: 施普林格出版社世界图书出版公司. 2010 [1998]. ISBN 7-5100-0540-X. 

英文書籍
範例二
{{cite book lua
|last = Mumford
|first = David
|authorlink = 大卫·蒙福德
|title = ''The Red Book of Varieties and Schemes''
|publisher = Springer-Verlag
|series = Lecture notes in mathematics 1358
|year = 1999
|doi = 10.1007/b62130
|isbn = 354063293X}}

Mumford, David. The Red Book of Varieties and Schemes. Lecture notes in mathematics 1358. Springer-Verlag. 1999. ISBN 354063293X. doi:10.1007/b62130. 

直式列表 相應欄位 簡述
{{cite book lua
|last = 
|first = 
|authorlink = 
|coauthors = 
|editor = 
|others = 
|title = 
|origdate = 
|origyear = 
|origmonth = 
|url = 
|format = 
|accessdate = 
|accessyear = 
|accessmonth = 
|edition = 
|series = 
|date = 
|year = 
|month = 
|publisher = 
|location = 
|language = 
|isbn =
|unified = 
|oclc =
|doi =
|id =
|pages = 
|chapter = 
|chapterurl = 
|quote =
}}
   
  
 last
 last 
 last 
  
  
必填**
  
  
  
網址
網址
  
  
  
  
  
  
  
  
出版社
  
  
  
  
  
  
  
  
章節
  
  
   
   
   
(不含維基內部連結)
(不含維基內部連結)
  
  
  
  
 †選填(可自行加入維基連結)
   與 origdate 欄位分開使用
   與 origdate 欄位分開使用
  
  
 †選填(可自行加入維基連結)
   與 accessdate 欄位分開使用
   與 accessdate 欄位分開使用
  
  
 †選填(可自行加入維基連結)
   與 date 欄位分開使用
   與 date 欄位分開使用
  
  
  
  
  
  
  
  
  
(不含維基連結)‡
  
  
  
以上的欄位部份具有親子連動關係,其中一個欄位必須和另一個欄位搭配使用才能正常顯示,請參見以下說明。
∗∗ 維基連結務必僅限連結至已存在的條目,若 url 欄位已經填寫則不可加入內部連結。
這是選填欄位,也可以改用欄位下方的獨立欄位。
chapterurl 已經填寫,則無法在 chapter 中加入內部連結。

欄位變數[编辑]

維基連結[编辑]

大部分的欄位都可以加入維基內部連結(例如:title = [[條目|書名]]),但建議僅加入維基百科現有條目的內部連結。所有維基連結中不應包含任何會干擾模板運作的符號,請使用正常的括號 (),而不要使用 <>[]{}

說明欄位[编辑]

欄位變數[编辑]

以下的欄位說明中,部份欄位有親子連動關係,親子欄位必須搭配使用才會正常顯示:

  • 親欄位
    • 子欄位 — 必須和親欄位同時使用(若親欄位沒有填寫則可忽略)
    • 或:子欄位2 — 可以取代親欄位使用(若已使用親欄位則可忽略)

說明[编辑]

  • author:作者姓名,適合使用在作者的姓名(或翻譯後姓名)為中文的時候,例如:張愛玲、喬治·華盛頓。可填寫下方的 authorlink 欄位加入內部連結。
  • last:作者姓氏,由於與名字中間有空格,建議使用在以原文(通常是英文)表現作者姓氏時。例如:Johnson。請不要直接加入維基連結,改用 authorlink 欄位。
    • first:作者名字,由於與姓氏中間有空格,建議使用在以原文(通常是英文)表現作者名字時。例如:Jack。也可加入中間姓名(middle name)。請不要直接加入維基連結,改用 authorlink 欄位。
      • lastfirst 僅適合用在用英文(或其他類似語言)書寫的作者姓名,中文或翻譯姓名請改用 author 欄位。
    • authorlink:維基百科中關於作者的條目名稱。請僅輸入已存在的條目。請不要獨立使用這個欄位,務必僅在 authorfirstlast 有填寫時使用。
    • coauthors:其他合作作者的完整姓名,使用頓號(、)分開。(例如:王大明、李小華;或:Joe Bloggs、John F. Kennedy、H. R. Dent)
  • editor:書籍的編輯 / 編者姓名。由於本欄位沒有預設的文字,因此使用者必須自行加入「(編輯)」等附註文字。
  • others:其他書籍的貢獻者,例如:由王大明翻譯;或:插圖由李小華繪製。
  • title:書籍的標題。這是唯一必填的欄位。可以連結至維基百科內已存在的條目。英文書籍可加入斜體符號(''book title''),中文請勿加入斜體。
  • url:若為線上書籍,請填寫網址。若已在 title 欄位加入內部連結則無法使用。
    • format:書籍格式,例如:PDF、HTML 等。若無特別的格式則不必填寫。
    • accessdate:造訪線上書籍網址的完整日期。格式為:XXXX年XX月XX日,可自由加上內部連結,例如:2007年2月20日。若書籍沒有網址則不必填寫。
      • 或:accessyear:造訪的年份,不須加上「年」這個字,只需填寫數字即可。以及 accessmonth:造訪的月份,不須加上「月」這個字,只需填寫數字即可。兩個欄位都不可加上內部連結,若是有特定的日期,請改用 accessdate
  • edition:當書籍有特定的版本時使用,例如:1997年6月第二刷。
  • series:當書籍是一系列出版品中的其中一部份時使用。
  • origdate:原始版本的出版日期。格式為:XXXX年XX月XX日,可自由加上內部連結,例如:2007年2月20日
    • 或:origyear:原始版本的出版年份,不須加上「年」這個字,只需填寫數字即可。和 origmonth:原始版本的出版月份,不須加上「月」這個字,只需填寫數字即可。兩個欄位都不可加上內部連結,若是有特定的日期,請改用 origdate
  • date:引用版本的出版日期。格式為:XXXX年XX月XX日,可自由加上內部連結,例如:2007年2月20日
    • 或:year:引用版本的出版年份,不須加上「年」這個字,只需填寫數字即可。和 month:引用版本的出版月份,不須加上「月」這個字,只需填寫數字即可。兩個欄位都不可加上內部連結,若是有特定的日期,請改用 date
  • publisher:出版社。請避免加入「出版社」、「公司」、「有限公司」等字樣。
    • location:出版地點。
  • language:書籍的語言。
  • isbn國際標準書號(ISBN),例如:1-111-22222-9
  • unified统一书号,例如:7201·85
  • oclc線上電腦圖書館中心(Online Computer Library Center)編號,例如:3185581
  • doi數位物件識別號(digital object identifier,DOI),例如:10.1016/j.coi.2004.08.001
  • id:若以上的欄位不敷使用或不適合,可加入書籍其他的相關認證編號。您必須指定您加入的編號系統名稱,使用相關模板如 {{ISSN}}。
  • pages第5–7頁:引用頁數的起訖。這是指引用內容所在的頁數,而非整本書的總頁數。
  • chapter:書籍的特定章節。
    • chapterurl:線上書籍的特定章節網址。若有的話必須和 url 欄位的內容是在同一個網站上。
  • quote:書籍中特定句子的引言。

範例[编辑]

僅有書名:
* {{cite book lua | title=神祕之書 }}
  • 神祕之書. 
年份和書名
* {{cite book lua | title=神祕之書 | year=1901 }}
  • 神祕之書. 1901. 
基本樣式(英文書籍):
* {{cite book lua |first=Joe |last=Bloggs |authorlink=Joe Bloggs |year=1974 |title=Book of Bloggs }}
基本樣式(中文書籍):
* {{cite book lua |author=張愛玲 |authorlink=張愛玲 |year=1948 |title=半生緣 }}
基本樣式,包含網址
* {{cite book lua |last=Bloggs |first=Joe |authorlink=Joe Bloggs |year=1974 |title=Book of Bloggs |edition=1st Edition |url=http://en.wikipedia.org/ |accessdate=2006-02-17 }}
三位作者、書名、維基內部連結、書籍版本
* {{cite book lua |last=Bloggs |first=Joe |authorlink=Joe Bloggs |coauthors=John Smith、Jim Smythe |title=[[A Thousand Acres|1000 Acres]] |edition=第二版 }}
不含日的日期、書名和出版社的維基內部連結、編號、頁數、出版地點
* {{cite book lua | last=Cordell | first=Bruce R. | coauthors=Jeff Grubb、David Noonan | date=2001-09 | title=[[Manual of the Planes]] | publisher=[[Wizards of the Coast]] | location=Timbuktu | isbn=0-7869-1850-0 | pages=第134-137頁 }}
初版(原版)的日期、其他語言、插畫家
* {{cite book lua | last=Bloggs | first=Joe | origyear=1463 | year=1974 | title=Book of Bloggs | edition=初版 | others=由 Smith 繪製插畫 | language=de | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}
  • Bloggs, Joe. Book of Bloggs. 由 Smith 繪製插畫 初版. 1974 [1463] [2006-02-17] (德语). 
使用DOI
*{{cite book lua |last=Mumford |first=David |authorlink=David Mumford |year=1999 |title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians |edition=第二版 |publisher=Springer-Verlag |doi=10.1007/b62130 |isbn=354063293X }}

測試[编辑]

參見 Template:cite book lua/regression tests

模板生成小工具[编辑]

输入ISBN号,自动填入完整的{{cite book lua}}信息:[1]

引用格式指南[编辑]

一些英文中合作作者的引用格式指南,僅供參考:

參見[编辑]