Template:Cite wikisource

维基百科,自由的百科全书
跳转至: 导航搜索
文档图示 模板文档[查看] [编辑] [历史] [清除]

本模板用于在维基百科引用参考来源,特别是来自维基文库的作品。

使用[编辑]

复制一个空白版本使用。请删除任何没有使用的区域以避免在编辑窗口中出现混乱。

使用 ISBNOCLC 号码、或 DOI 作为识别编号的时候不需要使用模板或魔术字。只需使用适当的字段而不是使用 id 填入这些实例。例如,输入 isbn= 加上适当的编号而不是 id=ISBN。如果不可用,模板可以在 ID 字段使用({{ISSN}}、{{LCCN}}、{{LCC}})输入其他识别号码类型。参见字段的描述

完整版(复制、粘贴以下内容并删去不需要的参数)
{{cite wikisource |class= |last1= |first1= |authorlink1= |last2= |first2= |authorlink2= |coauthors= |editor1-first= |editor1-last= |editor1-link= |others= |title= |trans_title= |plaintitle= |wslink= |archiveurl= |archivedate= |type= |edition= |series= |volume= |date= |year= |month= |origyear= |publisher= |location= |language= |wslanguage= |isbn= |oclc= |doi= |id= |page= |pages= |at= |wspage= |trans_chapter= |chapter= |plainchapter= |quote= |ref= |bibcode= |laysummary= |laydate= |separator= |postscript= |lastauthoramp= |scan= |noicon= |firsticon= |vb=}}
常用的字段(如果您不想删去太多就用这个)
{{cite wikisource |title= |wslink= |wslanguage= |last= |first= |authorlink= |coauthors= |year= |publisher= |location= |page= |pages= |scan=}}
例1
{{cite wikisource |editor-first= Hugh |editor-last= Chisholm |chapter= Aard-vark |wslink= 1911 Encyclopædia Britannica |wslanguage=en |plaintitle= [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]] |edition= Eleventh |year= 1911 |publisher= Cambridge University Press}}

Chisholm, Hugh. 链接到维基文库 Aard-vark. Encyclopædia Britannica. Eleventh. Cambridge University Press. 维基文库. 1911 (英文). 

例2
{{cite wikisource
 | class        = journal
 | first        = T. E.
 | last         = Lounsbury
 | chapter      = Sketch of George Jarvis Brush
 | wslink       = Popular Science Monthly/Volume 20/November 1881
 | wslanguage   = en
 | plaintitle   = [[Popular Science Monthly]]
 | volume       = 20
 | month        = November
 | year         = 1881
 | page         = 117
 | wspage       = 117
 | publisher    = [[D. Appleton & Company]]
 | issn         = 0161-7370
 | scan         = Page:Popular Science Monthly Volume 20.djvu/127
}}

Lounsbury, T. E.. 链接到维基文库 Sketch of George Jarvis Brush. Popular Science Monthly, 20. D. Appleton & Company. 维基文库. November 1881: 维基文库文献链接 117. ISSN 0161-7370 (英文).  维基文库链接 [scan]

竖列 先决条件 * 简要介绍
{{cite wikisource
| class         = 
| last          = 
| first         = 
| authormask    = 
| authorlink    = 
| coauthors     = 
| firstn =  | lastn = 
| authorn-link  = 
| editor        = 
| editorn-last  = 
| editorn-first = 
| editor-link   = 
| editorn-link  = 
| others        = 
| title         = 
| trans_title   = 
| plaintitle    = 
| wslink        = 
| archiveurl    = 
| archivedate   = 
| type          = 
| edition       = 
| series        = 
| volume        = 
| date          = 
| origyear      = 
| year          = 
| month         = 
| publisher     = 
| location      = 
| wslanguage    = 
| language      = 
| isbn          = 
| oclc          = 
| doi           = 
| bibcode       = 
| id            = 
| page          = 
| pages         = 
| nopp          = 
| at            = 
| wspage        = 
| chapter       = 
| trans_chapter = 
| plainchapter  = 
| quote         = 
| ref           = 
| laysummary    = 
| laydate       = 
| separator     = 
| postscript    = 
| lastauthoramp = 
| scan          = 
| noicon        = 
| firsticon     = 
| vb            = 
}}



last

last
last

lastn



editor or editor-last
editorn-last






archiveurl=





year or date

year

publisher









page or pages



chapter




laysummary


coauthors or >1 lastn
Page: (Wikisource)






(no wikilink)
(no wikilink)


alternative to first2, last2...first9, last9
(no wikilink). n=1 through 9
n=1 through 9

n=1 through 4
n=1 through 4

n=1 through 4

title to display (links to Wikisource)

title to display (no link to Wikisource)
title at Wikisource (links to Wikisource)






†preferred (no wikilink)

alternative to date





always include ISBN if one has been assigned






hides automatic 'p' or 'pp'.
alternative to page/pages when those are used with nopp
(Links to Wikisource)
‡(no wikilink).  Synonymous with "contribution". (Links to Wikisource)

‡(wikilink allowed). (No link to Wikisource)












† 这是带有其下列的替换文字的首选字段

|chapter= 没有维基链接,|plainchapter= 有维基链接

示例[编辑]

仅输入标题:
* {{cite wikisource | title=Mysterious book }}
标题和年份:
* {{cite wikisource | title=Mysterious book | year=1901 }}
基本用法
* {{cite wikisource | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
引用文献中有着不同的作者和编辑的一章
* {{cite wikisource |last=Bloggs | first=Fred |editor-first=John| editor-last=Doe |plaintitle=Big Compilation Book With Many Chapters and distinct chapter authors |publisher=Book Publishers |date=2001-01-01 |pages=100–110 |chapter=Chapter 2: The History Of The Bloggs Family |isbn=1234567890}}

参数[编辑]

语法[编辑]

Nested parameters rely on their parent parameters:

  • parent
  • OR: parent2—may be used instead of parent
    • child—may be used with parent (and is ignored if parent is not used)
    • OR: child2—may be used instead of child (and is ignored if parent2 is not used)
Where aliases are listed, only one of the parameters may be defined; if aliased parameters are defined, then only one will show.

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata; see Wikipedia:COinS.

  • Be careful using templates within the citation template, as many will add a lot of extraneous HTML or CSS that will be rendered in the meta-data.
    • Known templates that should not be used: {{smallcaps}}.

By default, sets of fields are terminated with a period (.); this can be an issue when the last field in an abbreviation or initial with a period, as two periods then display. The only solution is to not include the last period in the value for the set of fields.

描述[编辑]

作者[编辑]

  • last: Surname of author. Do not wikilink—use authorlink instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use last to include the same format as the source. Aliases: last, author, authors, last1, author1
    • first: Given or first names of author, including title(s); for example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr. Do not wikilink—use authorlink instead. Aliases: first, first1.
    • OR: for multiple authors, use last1, first1 through last9, first9 for up to nine authors. By default, if nine authors are defined, then only eight will show and "et al." will show in place of the last author. Aliases: last1, author1 through last9, author9.
  • authorlink: Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: authorlink, authorlink1, author-link, author1-link.
  • OR: for multiple authors, use authorlink1 through authorlink9. Aliases: authorlink1, author1-link through authorlink9, author9-link.
  • coauthors: (deprecated) Names of of coauthors. Use the same format as the authors.
  • others: To record other contributors to the work, such as "Illustrated by John Smith" or "Translated by John Smith."
When using Template:Sfnote or Template:Paren styles with templates, do not use multiple names in one field else the anchor will not match the inline link.

题目[编辑]

  • title: Title of book. This, or plaintitle, is the only required parameter. Title of book on Wikisource. This must not be wikilinked. This must not have any formatting. It will be automatically linked to Wikisource.
    • plaintitle: Title of book. This, or title, is the only required parameter. If plaintitle is used, it will override title. This can be useful in cases where the chapter should be the link to wikisource (for example, with articles in journals or encyclopaedias, the title should be the title of the journal or encyclopedia and the chapter should be the article). Can be wikilinked but only to an existing Wikipedia article. Do not use italics.
    • wslink: The full link to the work on Wikisource. To be used where the title is different to the page name or where subpages are involved (particularly with periodicals and works in volumes). If chapter is used, the interwiki link will append the chapter name to wslink as a subpage. If title is used, the link will follow wslink but display as title. If plaintitle is used, the will only create a link to wikisource if chapter is also used.
    • anchor: In combination with title, chapter and/or wslink, the link to wikisource can be extended to a specific section by adding anchor name in this parameter. This must be the same anchor name as the anchor on Wikisource. This will not change the displayed text in the citation; to do that, use the at parameter as well. This parameter can be used in addition to wspage as it affects the main link, not the page number link.
    • trans_title: If the book cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the title field and it will point to the url link, if used. Use of language parameter is recommended if this parameter is used.
  • language: The language the source is written in, if not English. Displays in parentheses with "in" before the language name. Use the full language name; do not use icons or templates.
  • wslanguage: The language of the wikisource hosting the work (if not English Wikisource) in the ISO 639-1 (two-letter) or ISO 639-2 (three letter) code for the language. (For example, fr indicates French Wikisource.)
  • type: Provides additional information about the media type of the source; format in sentence case. Displays in parentheses following the title. Examples: Thesis, Booklet, CD liner, Press release.
  • chapter: The title of the source. May be wikilinked or may use chapter-url, but not both. Displays in quotes.
    • trans_chapter: English translation of the title if the source cited is in a foreign language. Displays in square brackets after the chapter field; if chapter-url is defined, then trans_title is included in the link. Use of the language parameter is recommended.
  • plainchapter: The chapter of the book, written in full. This overrides the chapter parameter and will not create a link to Wikisource.

日期[编辑]

  • date: Full date of source being referenced in the same format as other publication dates in the citations.[1] Do not wikilink. Displays after the authors and enclosed in parentheses. If there is no author, then displays after publisher.
  • OR: year: Year of source being referenced.
    • month: Name of the month of publication. If you also have the day, use date instead; do not wikilink.
    • origyear: Original publication year; displays after the date or year. For clarity, please supply specifics; example: |origyear=First published 1859 or |origyear=Composed 1904.
  1. ^ Publication dates in article references should all have the same format. See MOS:DATEUNIFY.

出版商[编辑]

  • publisher: Name of publisher; may be wikilinked if relevant. Not normally included for periodicals. Corporate designations such as "Ltd", "Inc" or "GmbH" are not usually included. Displays after title; if work is defined, then publisher and location are enclosed in parentheses.
  • location: Geographical place of publication; generally not wikilinked; omit when the name of the work includes the location; examples: The Boston Globe, The Times of India. Displays preceding publisher.
  • publication-date: Date of publication when different from the date the work was written. Displays only if year or date are defined and only if different, else publication-date is used and displayed as date. Use the same format as other dates in the article; do not wikilink. Follows publisher; if work is not defined, then publication-date is preceded by "published" and enclosed in parenthesis.

版本、系列、卷[编辑]

  • edition: When the publication has more than one edition; for example: "2nd", "Revised" etc. Displays " ed." after this field, so |edition=2nd produces "2nd ed." Does not display if a periodical field is defined.
  • series or version: When the source is part of a series, such as a book series or a journal where the issue numbering has restarted.
  • volume: For one publication published in several volumes. Displays in bold after the title and series fields; if bolding is not desired, then include the volume information in the title field.

在维基文库中的位置[编辑]

  • page: Page in the source that supports the content. Displays preceded with p. unless |nopp=y.
  • OR: pages: Pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source. Displays preceded with pp. unless |nopp=y.
    • nopp: Set to y to suppress the p. or pp. notations where this is inappropriate; for example, where |page=Front cover.
  • OR: at: For sources where a page number is inappropriate or insufficient. Overridden by |page= or |pages=.
Examples: page (p.) or pages (pp.); section (sec.), column (col.), paragraph (para.); track; hours, minutes and seconds; act, scene, canto, book, part, folio, stanza, back cover, liner notes, indicia, colophon, dust jacket, verse.
  • wspage: The page number on Wikisource. This will usually be an anchor within a larger page. It can be useful to guide the reader to a specific item in a larger body of text. Anchors are automatically generated for proofread texts at Wikisource but can be added manually if necessary.

定位[编辑]

识别码[编辑]

  • id: A unique identifier, used where none of the specialized identifiers are applicable; wikilink or use a template as applicable.

引用[编辑]

  • quote: Relevant text quoted from the source. Displays enclosed in quotes. When supplied, the citation terminator (a period by default) is suppressed, so the quote needs to include terminating punctuation.

编者[编辑]

  • editor-last: Surname of editor. Do not wikilink—use editor-link instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use editor-last to include the same format as the source. Aliases: editor-last, editor1-last, editor, editors.
    • editor-first: Given or first names of editor, including title(s); example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr. Do not wikilink—use editor-link instead. Aliases: editor-first, editor1-first.
    • OR: for multiple editors, use editor1-last, editor1-first through editor4-last, editor4-first for up to four editors.
  • editor-link: Title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: editor-link, editor1-link.
  • OR: for multiple editors, use editor1-link through editor4-link.
Display:
If authors: Authors are first, followed by the included work, then "In" and the editors, then the main work.
If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."; more than three editors will be followed by "et al., eds."

Laysummary[编辑]

  • laysummary: URL link to a non-technical summary or review of the source; the URL title is set to "Lay summary".
    • laysource: Name of the source of the laysummary. Displays in italics and preceded by an endash.
    • laydate: Date of the summary. Displays in parentheses.

显示选项[编辑]

  • author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value to set the dash in em spaces; set author-mask to a text value to display a word instead; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use in bibliographies for some styles where multiple works by a single author are listed. Do not use in a list generated by {{reflist}}, <references /> or similar as there is no control as to the order that references will display.
  • author-name-separator: Changes the separator between last and first names; defaults to a comma and space (, ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as &#32; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.
  • author-separator: Changes the separator between authors; defaults to a semicolon and space (; ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as &#32; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.
  • display-authors: By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "et al." This parameter allows display of fewer authors before the "et al."; example: |display-authors=2; "et al." may be suppressed altogether by setting |display-authors=9.
  • lastauthoramp: When set to any value, changes the separator to use between the last two names in lists of authors to an ampersand (&); defaults to a semicolon and space (; ), else author-separator if set.
  • postscript: The closing punctuation for the citation; defaults to a period (.); if the parameter is present, but blank, no terminating punctuation will be used. Ignored if quote is defined.
  • separator: The punctuation used to separate lists of authors, editors, etc. Defaults to a period (.); if the parameter is present but blank, no separator punctuation will be used; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.

维基文库[编辑]

  • scan: Many works hosted on Wikisource are proofread from scans also hosted by the project. This parameter will provide a link to the source scan on which the citation is based, if required. Enter the pagename of the source scan at Wikisource. This pagename should include both the namespace (Index: or Page:) and the filetype (usually .djvu). Example: |scan=Page:Popular Science Monthly Volume 20.djvu/127
  • class: The CSS class for the citation; use only when this template is used as a metatemplate; do not use directly when making citations in the article namespace.
  • noicon: If |noicon=yes, then Wikisource icons will not be added to Wikisource links.
  • firsticon: If |firsticon=yes, then the Wikisource icon will be prepended.
  • vb: If |vb=yes, then the text "This article incorporates text from a publication now in the public domain:" will be prepended.

向后兼容[编辑]

本模板的早期版本只有几个匿名参数。本模板在预览页面中向后兼容。下面格式会正常运行:

{{cite wikisource|作品题目|作者|维基文库语言}}

只有第一个是必填,其他的是可选。

示例[编辑]

{{cite wikisource|Sense and Sensibility}}

链接到维基文库 Sense and Sensibility. 维基文库. 

{{cite wikisource|Sense and Sensibility|Jane Austen}}

Jane Austen. 链接到维基文库 Sense and Sensibility. 维基文库. 

{{cite wikisource|Sentido y sensibilidad|Jane Austen|es}}
Jane Austen. 链接到维基文库 Sentido y sensibilidad. 维基文库 . 

参见[编辑]

指定引用维基文库的模板[编辑]