Template:Cite wikisource/sandbox
![]() | 这是Template:Cite wikisource(差异)的沙盒。 参见本模板的测试样例。 |
![]() | 此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
本模板用于在维基百科引用参考来源,特别是来自维基文库的作品。
使用
[编辑]![]() | 在使用wslink参数时,请标明在维基文库中对应条目的语言代码以及对应语言版本的名称。如《大英百科全书1911年版》在英文版维基文库中的名称为“1911 Encyclopædia Britannica”,应再用参数|wslanguage=en 加以补充,这样可以正确跳转到对应语言版本的维基文库条目。 |
复制一个空白版本使用。请删除任何没有使用的区域以避免在编辑窗口中出现混乱。
使用 ISBN、OCLC 号码、或 DOI 作为识别编号的时候不需要使用模板或魔术字。只需使用适当的字段而不是使用 id
填入这些实例。例如,输入 isbn=
加上适当的编号而不是 id=ISBN
。如果不可用,模板可以在 ID 字段使用({{ISSN}}、{{LCCN}}、{{LCC}})输入其他识别号码类型。参见字段的描述。
完整版(复制、粘贴以下内容并删去不需要的参数) | ||
---|---|---|
| ||
常用的字段(如果您不想删去太多就用这个) | ||
| ||
例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. |
例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 | date = November 1881 | page = 117 | wspage = 117 | publisher = [[D. Appleton & Company]] | issn = 0161-7370 | scan = Page:Popular Science Monthly Volume 20.djvu/127 }} |
Lounsbury, T. E.. ![]() ![]() ![]() |
竖列 | 先决条件 * | 简要介绍 |
---|---|---|
{{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 | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
- Bloggs, Joe.
Book of Bloggs. 维基文库. 1974.
- Bloggs, Joe.
- 引用文献中有着不同的作者和编辑的一章
* {{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}}
- Bloggs, Fred.
Chapter 2: The History Of The Bloggs Family//Doe, John. Big Book With Many Chapters and distinct chapter authors. 维基文库. Book Publishers. 2001-01-01. .
- Bloggs, Fred.
参数
[编辑]语法
[编辑]以下参数说明采用如下格式规范:
- 主参数
- 或者:主参数2—可替代主参数使用的参数
- 子参数—需与主参数配合使用(若未指定主参数则自动忽略)
- 或者:子参数2—可替代子参数使用的参数(若未指定主参数2则自动忽略)
- 当参数存在别名时,不可同时使用别名与主参数,必须择一使用。
本模板会在输出的HTML中嵌入COinS元数据,供文献管理软件提取书目信息 。因此使用模板时:
- 每个参数仅包含单一数据项,不附加说明文字。例如应使用
|date=2007-09-27
,而非|date=2007-09-27(纸质版为9月25日)
。 - 不建议在引用模板内嵌套其他模板,以防冗余HTML/CSS代码混入元数据。
- 影响元数据的参数中不应使用HTML实体(如
、–
或 
)。
以下参数参与生成COinS元数据
|
---|
注:以下列表显示在所有CS1模板的文档中。并非所有CS1模板都支持全部参数。部分参数互斥,部分互为别名,还有些参数需要其他参数配合使用。本模板支持的完整参数列表、别名及其依赖关系详见本文档顶部附近的使用方法章节。
|
默认使用半角句号(.)分隔引文各部分。
描述
[编辑]作者
[编辑]- author:作者姓名。一般用于中文人名或机构名称;英文人名应使用
|first=
和|last=
分别填写名和姓。多位作者需分别填写,详见下文说明。如需添加内部链接,请使用author-link参数。请勿使用斜体。别名:author1。- last:作者的姓氏(一般用于英文人名);例如:“Smith”。如需添加内部链接,请使用author-link参数。别名:surname、last1、surname1。
- first:作者的名字(一般用于英文人名);例如:“John Michael”或“J. M.”。如需添加内部链接,请使用author-link参数。别名:given、first1、given1。必须与last参数配合使用;若last参数为空则不显示名字。
- 或者:多位作者时使用author1至authorn(中文人名)或last1、first1至lastn、firstn(英文人名),其中n为任意连续数字,支持无限数量的作者(每个firstn需要对应的lastn,但反之不成立)。 。别名:surname1、given1至surnamen、givenn。
- author-link:作者的维基百科条目名称,而非作者个人网站;仅填写条目名称即可,无需特殊语法。别名:author-link1、author1-link、authorlink。
- 或者:多位作者时使用author-link1至author-linkn。别名:author1-link至authorn-link。
- name-list-style:(罕用)姓名显示格式。设为
amp
或&
时,用“&”连接最后两位作者;设为vanc
时,按温哥华格式显示姓名列表(需使用last
/first
参数填写姓名)。
- vauthors:温哥华格式的作者列表(用逗号分隔);机构名需用双括号包裹,如:
|vauthors=Smythe JB, ((Megabux Corp.)), etal
- author-link和author-mask可用于
|vauthors=
中的个人姓名,用法同上
- author-link和author-mask可用于
- translator:译者姓名。一般用于中文人名或机构名称;英文人名应使用
|translator-first=
和|translator-last=
分别填写名和姓。如需添加内部链接,请使用translator-link。具体用法参见author。 - others:用于标注作者、编辑者、译者之外的其他贡献者(如插画师)。使用此参数时,请同时注明该姓名及其具体职责,例如:“John Smith (绘图)”。
- 注意:使用{{sfn}}或{{harv}}时,请勿在单个字段中包含多个姓名,否则锚点将无法匹配内联链接。
题目
[编辑]- 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/orwslink
, 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 theat
parameter as well. This parameter can be used in addition towspage
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:来源使用的语言,请填写ISO 639-1语言代码,例如:
|language=ru
;可接受逗号分隔的多语言列表,例如:|language=fr, pt-br
。请勿使用模板或内部链接。显示在括号内。使用被引文模块识别的语言会将页面归入Category:CS1外文來源相应子分类。别名:in - 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:提供来源类型的附加信息。显示在标题后的括号内。若使用关键字
none
可禁用类型显示。例如:评论、论文、小册子、录用稿件、CD内页说明、新闻稿等。
- chapter:来源的章节标题。可添加内部链接或使用chapter-url添加外部链接,但二者不可同时使用。
- script-chapter:非拉丁文字章节标题(日文、韩文、阿拉伯文、西里尔文、希腊文、希伯来文等)。必须前缀支持的语言代码以确保浏览器正确显示,如:
|script-chapter=ja:東京タワー
。 - trans-chapter:外文来源章节标题的中文翻译。显示在chapter字段后的方括号内;若定义了chapter-url,则trans-chapter会包含在链接中。建议配合language参数使用。
- script-chapter:非拉丁文字章节标题(日文、韩文、阿拉伯文、西里尔文、希腊文、希伯来文等)。必须前缀支持的语言代码以确保浏览器正确显示,如:
- contribution:由author之外其他人撰写的书籍部分。可添加内部链接或使用contribution-url添加外部链接,但二者不可同时使用。贡献内容的作者信息通过contributor参数提供。
- plainchapter: The chapter of the book, written in full. This overrides the chapter parameter and will not create a link to Wikisource.
日期
[编辑]- date:引用来源的发布日期。可以是完整日期(年、月、日)或部分日期(年和月、年和季节或仅年份)。完整的年月日应当使用“YYYY-MM-DD”格式(如2025-06-14)。请勿添加内部链接。日期显示在作品载体和出版商之后。
- 使用简短脚注时,完整引用的锚点通过此参数指定的年份生成。若同一作者在同一年份有多部作品,可在年份后附加小写字母加以区分(如
|date=1997b
);如果date参数填写的不是年份,而是完整的“YYYY-MM-DD”日期,此时不能通过添加字母来区分引用,而要同时填写year参数(例如:|date=1997-01-01
|year=1997b
,其中“1997-01-01”用于显示,1997b用于创建锚点),或使用ref参数创建自定义锚点。
- year:出版年份。更灵活的
|date=
参数也可单独处理年份。除非如前文的情况,使用简短脚注时,需要区分同一作者同年的多部作品,否则不要与date参数同时使用。 - orig-year:文献最初发布的日期或年份;显示在date(或year)后的方括号内。为明确“最初发布”的含义,请提供具体说明,例如:
|orig-year=首版于1859
或|orig-year=创作于1904
。
出版商
[编辑]
- publisher:出版商名称。出版商是指出版被引用作品的公司、组织或其他法律实体,因此请勿输入出版物名称(如网站、书籍、百科全书、报纸、杂志、期刊等的名称)。一般省略“有限公司”或“股份有限公司”等公司标识。可添加对应的内部链接,但不要添加出版商网站的外部链接。若出版商当前名称与来源发表时不同,应使用出版物上标注的名称或来源发表时的名称。该参数最常用于书籍类来源(一般指书籍的出版社),较少用于网站或期刊来源(某些情况下可替代work)。出版商与作品载体名称相同或高度相似时,不要使用“publisher”参数(例如《纽约时报》由纽约时报公司出版,无需重复说明)。显示在title之后。
- publication-place:出版地。填写出版商所在地的城市名称(如
|publication-place=北京
,WP:列明来源中的写法);城市名称有歧义,或不知名,宜附省/州名或国名。通常不添加内部链接。当出版物名称已包含出版地时可省略(如《波士顿环球报》《印度时报》)。若地名与来源发表时不同,请使用出版物上标注的地名或来源发表时的地名。显示在标题之后。别名:location、place。- 目前place、location严格来讲是新闻报道电头中的报道撰写地参数,但为了兼容性考虑,当未定义publication-place时仍将其作为出版地显示。具体规则:若仅定义了publication-place、place或location其中之一,将作为出版地显示在标题后;若同时定义了publication-place和place/location,则place/location作为报道撰写地以“写于”为前缀显示在标题前,而publication-place作为出版地显示在标题后。
- publication-date:出版日期,与作品创作日期不同时。若同时定义了不同的date(或year),则publication-date显示在publisher后的括号内;若未定义date(或year),则publication-date作为date显示。格式同date参数,不要添加内部链接。
- via:内容提供方名称(若不同于publisher)。via不能替代publisher参数,但可提供额外信息。适用于:文章署名其他出版物但无法溯源时(如雅虎新闻);内容提供方以非原始格式提供内容时;内容提供方无法从URL直接识别时;或内容提供方要求署名时。
版本、系列、卷
[编辑]- edition:当出版物存在多个版本时使用,例如:“第二版”、“修订版”等。若已定义期刊类参数则不显示。
- series或version:当来源属于某个系列(如丛书或卷号重新编排的期刊)时使用。
- volume:多卷本出版物的卷号。显示在title和series之后。纯数字、纯大写罗马数字或少于5个字符时加粗显示,其余情况不加粗。多卷书的分卷书名、卷次、册次等可直接写在title参数中,而不使用volume。极少数出版物同时标注连续卷号和年度卷号时合并标注,如|volume=IV/#10。
在维基文库中的位置
[编辑]- page:来源中包含佐证内容的单页页码。使用
|page=
或|pages=
二者之一,两者显示效果一致,可不作明确区分。显示时前缀为冒号(:
)。别名:p。 - 或:pages:来源中包含佐证内容的页码范围。使用
|page=
或|pages=
二者之一。用短横线(-)表示范围,用逗号(,)分隔非连续页码。不可用于表示来源总页数。显示时前缀为冒号(:
)。别名:pp。 - 或:at:用于页码不适用或不充分的情况。会被
|page=
或|pages=
覆盖。|page=
、|pages=
和|at=
三者仅能使用其一。
示例:第几栏、第几段、第几节;第几音轨;时:分:秒;第几幕、第几场;某部分、扉页题词、封底、唱片内页、版权页、书籍末页、护封。 - 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.
定位
[编辑]- ref:为简短脚注创建锚点。默认不生成锚点。
识别码
[编辑]- id:唯一标识符,在无专用标识符时使用;可添加内部链接或使用外部链接模板。例如
|id=NCJ 122967
将在引文末尾添加“NCJ 122967”。也可使用模板如|id={{NCJ|122967}}
来显示NCJ 122967。
下列标识符会生成外部链接。每个参数仅接受一个标识符值,输入多个值或多余内容将无法正确生成链接。指定标识符参数时,通常只需输入可变部分,例如|rfc=822
或|pmc=345678
。
- arxiv:arXiv标识符;例如:
|arxiv=hep-th/9205027
(2007年4月前)或|arxiv=0706.0001
(2007年4月—2014年12月)或|arxiv=1501.00001
(2015年1月起)。请勿包含“.pdf”或“.html”等无关文件扩展名。别名:ARXIV、eprint。 - asin:亚马逊标准识别号码;若首字符为数字,请使用isbn。由于此链接偏向特定分销商,仅在无标准标识符时使用。例如:
|asin=B00005N5PF
。别名:ASIN。- ASIN-TLD:非美国亚马逊网站的顶级域名。别名:asin-tld。
- bibcode:bibcode;用于多个天文数据系统;例如:
1974AJ.....79..819H
。别名:BIBCODE。 - biorxiv:bioRxiv标识符,需完整DOI(如
10.1101/078733
对应http://biorxiv.org/content/early/2016/10/01/078733或https://doi.org/10.1101/078733)。别名:无。 - citeseerx:CiteSeerX标识符,为URL中的数字与点组合(如
10.1.1.176.341
对应https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.176.341)。别名:无。 - cn:国内统一刊号。别名:CN。
- doi:数字对象唯一标识符;以
10.
开头,例如:10.1038/news070508-7
。别名:DOI。- doi-broken:DOI在https://doi.org失效的日期。格式为“YYYY-MM-DD”。别名:doi-broken-date、doi-inactive-date、doi_brokendate、doi_inactivedate。
- eissn:电子版国际标准期刊号;8位字符,通常用连字符分为两组;例如:
|eissn=1557-2986
。别名:EISSN。 - hdl:Handle系统数字对象标识符;例如:
|hdl=20.1000/100
。别名:HDL。 - isbn:国际标准书号;例如:
978-0-8126-9593-9
。 连字符可选但建议保留。请使用书籍印刷的ISBN。优先使用13位ISBN(以978或979开头)。若书籍仅印有10位ISBN则使用之。ISBN通常位于版权页(书名页背面)或条形码下方(以978或979开头的条形码)。9位SBN请使用。请勿通过简单添加978前缀将10位ISBN转为13位(末位为校验码,随意更改会导致ISBN无效)。此参数应仅包含ISBN不包含其他字符。系统会校验长度、非法字符(10位ISBN末位可为“X”)及校验码。别名:ISBN、isbn13、ISBN13。 - ismn:國際標準音樂編號;例如:
979-0-9016791-7-7
。连字符或空格可选。请使用作品印刷的ISMN。此参数应仅包含ISMN不包含其他字符。系统会校验长度、非法字符及校验码。别名:ISMN。 - issn:国际标准期刊号;8位字符,通常用连字符分为两组;例如:
|issn=2049-3630
。别名:ISSN。 - jfm:数学进展年鉴;值中请勿包含“JFM”;例如:
|jfm=53.0144.01
。别名:JFM。 - jstor:JSTOR标识符;例如:
|jstor=3793107
。别名:JSTOR。 - LCCN:美国国会图书馆控制号。字母前缀应为小写且无空格;例如:
|lccn=79-57364
或|lccn=2004042477
或|lccn=e09001178
。别名:lccn。 - MR:《数学评论》标识符;例如:
|mr=630583
。别名:mr。 - OCLC:开放图书馆标识符,用于在WorldCat联合目录检索;例如:
|oclc=9355469
。别名:oclc。 - ol:开放图书馆标识符;值中请勿包含“OL”;例如:
|ol=7030731M
。别名:OL。 - OSTI:美国能源部科学和技术信息办公室标识符;例如:
|osti=4367507
。别名:osti。 - PMC:PubMed Central文章编号;不包含“PMC”,如
|pmc=345678
。 。别名:pmc。- embargo:PMC开放日期;在此日期之前不会生成链接。别名:无。
- PMID:PubMed唯一标识符;例如:
|pmid=17322060
。别名:pmid。 - RFC:RFC(请求意见稿)编号;例如:
|rfc=3143
。别名:rfc。 - SSRN:SSRN;例如:
|ssrn=1900856
。别名:ssrn。 - s2cid:语义学者语料库ID;例如:
|s2cid=37220927
。别名:S2CID。 - unified:统一书号。别名:csbn、CSBN。
- ZBL:数学文摘期刊标识符;例如:
|zbl=0472.53010
。对于类似JFM 35.0387.02
的zbMATH搜索结果请使用|jfm=35.0387.02
。别名:zbl。
部分标识符可通过对应的|参数-access=
参数指定访问状态。
无需通过|url=
重复填写标识符自动生成的链接地址。此时|url=
可用于提供便捷访问链接。
引用
[编辑]- quote:从来源引用的相关文本。显示在引号内。需包含终止标点(默认情况下引文会抑制引文终止符句号)。
- script-quote:非拉丁文字引文(阿拉伯文、西里尔文等)。必须前缀支持的语言代码以确保浏览器正确显示,如:
|script-quote=ja:東京タワー
。 trans-quote(暂不支持):外文引文的中文翻译。显示在quote之后的方括号内。
- script-quote:非拉丁文字引文(阿拉伯文、西里尔文等)。必须前缀支持的语言代码以确保浏览器正确显示,如:
编者
[编辑]- editor:编者姓名。一般用于中文人名或机构(如编委会)名称;对于英文人名,优先使用
|editor-first=
和|editor-last=
组合。请仅填写一位编者的姓名,多位编者的写法见下方说明。如需添加内部链接,请使用editor-link参数。别名:editor1。- editor-last:编者的姓氏(一般用于英文人名);例如:“Smith”。如需添加内部链接,请使用editor-link参数。别名:editor-surname、editor1-last、editor-last1。
- editor-first:编者的名字(一般用于英文人名);例如:“John Michael”或“J. M.”。如需添加内部链接,请使用editor-link参数。别名:editor-given、editor1-first、editor-first1。必须与editor-last参数配合使用;若editor-last参数为空则不显示名字。
- 或者:多位编者时使用editor1至editorn(中文人名)或editor-last1、editor-first1至editor-lastn、editor-firstn(英文人名),其中n为任意连续数字(每个editor-firstn需要对应的editor-lastn,但反之不成立)。别名:editor-surname1、editor-given1至editor-surnamen、editor-givenn。
- editor-link:编者的维基百科条目名称,而非编者个人网站;请勿添加内部链接。别名:editor-link1、editor1-link。
- 或者:多位编者时使用editor-link1至editor-linkn(别名editorn-link)。
- name-list-style:接受有限的关键词值:设为
amp
或&
时,在姓名列表最后两个名字间插入“&”符号;设为vanc
时,当姓名参数采用last
/first
格式时,按温哥华格式显示姓名列表。
- veditors:温哥华格式的逗号分隔编者列表;机构名称需用双括号包裹。如适用可添加etal:
|veditors=Smythe JB, ((Megabux Corp.)), etal
- editor-linkn和editor-maskn可用于
|veditors=
中的个人姓名,用法同上
- 显示规则:
- 使用display-editors指定显示的编者人数,其余编者以“et al.”形式省略显示。
- 若存在作者:先显示作者,接着显示文献名称,然后是编者姓名和“(编)”,收录该文献的作品名称(如期刊名)。
- 若无作者:编者显示在文献名称前,并显示“(编)”。
Laysummary
[编辑]- laysummary:面向非专业人士对来源的摘要或评论的URL;显示为带有“通俗摘要”标题的外部链接。
- laysource:通俗摘要的来源名称,可添加内部链接。显示为斜体,在“通俗摘要”之后,通过破折号连接。
- laydate:通俗摘要的日期。显示在圆括号内。
显示选项
[编辑]- mode:用于指定分隔符和末尾标点的设置。
|mode=cs1
使用半角句号(.
)作为分隔符和末尾标点;|mode=cs2
使用半角逗号(,
)作为分隔符和末尾标点。分别对应引文样式1和样式2。覆盖默认末尾标点设置请使用postscript参数。 - author-mask:
- contributor-mask:
- editor-mask:
- interviewer-mask:
- subject-mask:
- translator-mask:
- 将第一位作者(或编者等)显示的姓名替换为横线或指定文本。设为数字n时显示n em横线(—);设为文本时直接显示该文本,且其后不带分隔符。特殊值“0”将直接隐藏第一位作者,但此时元数据仍保留真实作者姓名,故不要省略作者参数。此参数主要用于简短脚注的参考文献列表中,同一作者的多部作品连续列出时。不应在
{{reflist}}
或<references />
生成的文献列表中使用(因为文献的显示顺序易发生改变)。如需省略第二位及以后特定作者的姓名,使用|authorn-mask=
参数。
- 将第一位作者(或编者等)显示的姓名替换为横线或指定文本。设为数字n时显示n em横线(—);设为文本时直接显示该文本,且其后不带分隔符。特殊值“0”将直接隐藏第一位作者,但此时元数据仍保留真实作者姓名,故不要省略作者参数。此参数主要用于简短脚注的参考文献列表中,同一作者的多部作品连续列出时。不应在
- display-authors:
- display-contributors:
- display-editors:
- display-interviewers:
- display-subjects:
- display-translators:
- 控制显示的作者(或编者等)数量,默认全部显示;超过显示数量将以“et al.”代替。例如
|display-authors=2
仅显示前两位作者。特殊值|display-authors=0
隐藏所有作者及“et al.”。|display-authors=etal
则显示全部作者后追加“et al.”。
- 控制显示的作者(或编者等)数量,默认全部显示;超过显示数量将以“et al.”代替。例如
- postscript:控制引用末尾的标点。默认为半角句号(
.
);设为|postscript=none
取消末尾标点(留空效果等同,但语义模糊故不建议)。包含额外文本或多字符标点模板时会生成维护提示。定义quote参数时本参数无效。
维基文库
[编辑]- 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:
orPage:
) 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}}
{{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. 维基文库 (西班牙文).
TemplateData
[编辑]该模板用于在维基百科中列出来源,专门用于维基文库中的作品。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
标题 | title 1 | 维基文库中作品的标题,将自动链接到维基文库。不要加入内链和其他格式。 | 字符串 | 必需 |
标题(不带链接) | plaintitle | 维基文库中作品的标题,不会自动链接到维基文库。 | 字符串 | 可选 |
维基文库文献链接 | wslink | 要链接到的维基文库文章的页面名称。 | 未知 | 可选 |
扫描件页面链接 | scan | 所引用的维基文库文章所基于的扫描件所在页面(位于Index或Page命名空间)。 | 页面名称 | 可选 |
维基文库语言 | wslanguage 3 | 要引用的维基文库文章所在站点,中文维基文库可留空。
| 字符串 | 可选 |
日期 | date | 原文日期,請使用包括年、月、日的完整日期格式並與所寫條目風格保持一致。不能與year或month參數同時使用。建议使用ISO 8601中規定的YYYY-MM-DD格式,例如“2023-07-26”。 | 日期 | 推荐 |
出版日期 | publication-date | 发表日期,仅在发表日期与作品的写作日期不同时使用。 | 日期 | 可选 |
年份注释 | origyear | 无描述 | 未知 | 可选 |
年份 | year | 年份。不能與date參數同時使用。 | 数字 | 可选 |
月份 | month | 月份。不能與date參數同時使用。 | 数字 | 可选 |
日 | day | 无描述 | 数字 | 可选 |
显示前置说明 | prescript vb | 填写任意值以设置显示“本文包含公有领域中的资料”的说明。
| 布尔 | 可选 |
不显示前置图标 | firsticon iconfirst | 填写任意值以设置不在开头显示维基文库图标。
| 未知 | 可选 |
不显示图标 | noicon | 填写任意值以设置不显示维基文库图标。
| 布尔 | 可选 |
作者姓名 | author 2 author1 authors | 作者的姓名。 | 字符串 | 推荐 |
(英文)作者姓 | last surname last1 surname1 | 作者的姓氏(仅英文人名)。不要与author参数同时使用 | 字符串 | 可选 |
(英文)作者名 | first first1 given given1 | 作者的名(仅英文人名)。不要与author参数同时使用 | 字符串 | 可选 |
作者条目链接 | author-link author1-link authorlink1 authorlink | 关于作者的现有维基百科条目的标题。 | 页面名称 | 可选 |
作者姓名2 | author2 | 无描述 | 未知 | 可选 |
(英文)作者姓2 | last2 surname2 | 无描述 | 未知 | 可选 |
(英文)作者名2 | first2 given2 | 无描述 | 未知 | 可选 |
作者条目链接2 | author2-link authorlink2 | 无描述 | 未知 | 可选 |
作者姓名3 | author3 | 无描述 | 未知 | 可选 |
(英文)作者姓3 | last3 surname3 | 无描述 | 未知 | 可选 |
(英文)作者名3 | first3 given3 | 无描述 | 未知 | 可选 |
作者条目链接3 | author3-link authorlink3 | 无描述 | 未知 | 可选 |
作者姓名4 | author4 | 无描述 | 未知 | 可选 |
(英文)作者姓4 | last4 surname4 | 无描述 | 未知 | 可选 |
(英文)作者名4 | first4 given4 | 无描述 | 未知 | 可选 |
作者条目链接4 | author4-link authorlink4 | 无描述 | 未知 | 可选 |
作者姓名5 | author5 | 无描述 | 未知 | 可选 |
(英文)作者姓5 | last5 surname5 | 无描述 | 未知 | 可选 |
(英文)作者名5 | first5 given5 | 无描述 | 未知 | 可选 |
作者条目链接5 | author5-link authorlink5 | 无描述 | 未知 | 可选 |
作者姓名6 | author6 | 无描述 | 未知 | 可选 |
(英文)作者姓6 | last6 surname6 | 无描述 | 未知 | 可选 |
(英文)作者名6 | first6 given6 | 无描述 | 未知 | 可选 |
作者条目链接6 | author6-link authorlink6 | 无描述 | 未知 | 可选 |
作者姓名7 | author7 | 无描述 | 未知 | 可选 |
(英文)作者姓7 | last7 surname7 | 无描述 | 未知 | 可选 |
(英文)作者名7 | first7 given7 | 无描述 | 未知 | 可选 |
作者条目链接7 | author7-link authorlink7 | 无描述 | 未知 | 可选 |
作者姓名8 | author8 | 无描述 | 未知 | 可选 |
(英文)作者姓8 | last8 surname8 | 无描述 | 未知 | 可选 |
(英文)作者名8 | first8 given8 | 无描述 | 未知 | 可选 |
作者条目链接8 | author8-link authorlink8 | 无描述 | 未知 | 可选 |
作者姓名9 | author9 | 无描述 | 未知 | 可选 |
(英文)作者姓9 | last9 surname9 | 无描述 | 未知 | 可选 |
(英文)作者名9 | first9 given9 | 无描述 | 未知 | 可选 |
作者条目链接9 | author9-link authorlink9 | 无描述 | 未知 | 可选 |
合作作者 | coauthor | 无描述 | 未知 | 可选 |
其它人物 | others | 其他贡献该作品的人物,如“由约翰·史密斯插图”。 | 字符串 | 可选 |
anchor | anchor | 无描述 | 未知 | 可选 |
版本 | edition | 无描述 | 未知 | 可选 |
系列 | series | 无描述 | 未知 | 可选 |
卷数 | volume | 无描述 | 字符串 | 可选 |
期数 | issue number | 无描述 | 字符串 | 可选 |
出版地点 | place publication-place location | 无描述 | 未知 | 可选 |
出版者 | publisher | 无描述 | 未知 | 可选 |
wspage | wspage wspages | 无描述 | 未知 | 可选 |
页数 | pages | 无描述 | 未知 | 可选 |
页数 | page | 无描述 | 未知 | 可选 |
nopp | nopp | 无描述 | 布尔 | 可选 |
书内部分 | at | 当页数(“page”或“pages”)不适用时使用。 | 未知 | 可选 |
语言 | language in | 无描述
| 字符串 | 可选 |
trans_chapter | trans_chapter | 无描述 | 未知 | 可选 |
trans_title | trans_title | 无描述 | 未知 | 可选 |
章节 | chapter contribution | 无描述 | 未知 | 可选 |
plainchapter | plainchapter | 无描述 | 未知 | 可选 |
类别 | type | 关于出版物媒介类别的额外讯息。显示在Title或TransTitle后的括号中。 | 字符串 | 可选 |
格式 | format | 无描述 | 未知 | 可选 |
class | class | 为引用内容所在行(span)添加指定的HTML class。其名称须为单个词(分开的词是分开的class)且符合名称规则。 | 未知 | 可选 |
编者姓名 | editor editors | 编者的姓名。不要加入条目链接,如有条目请使用“editor-link”。 | 字符串 | 可选 |
(英文)编者的姓 | editor1-last editor-surname editor-last | 编者的姓(仅英文人名)。不要加入条目链接,如有条目请使用“editor-link”;中文人名请使用“editor”。 | 字符串 | 可选 |
(英文)编者的名 | editor-first editor-given editor1-first editor1-given | 编者的名(仅英文人名)。不要加入条目链接。 | 未知 | 可选 |
编者条目链接 | editor-link editor1-link | 关于编者的现有维基百科条目的标题。 | 页面名称 | 可选 |
(英文)编者的姓2 | editor2-last editor2-surname | 无描述 | 未知 | 可选 |
(英文)编者的名2 | editor2-first editor2-given | 无描述 | 未知 | 可选 |
编者姓名2 | editor2-link | 无描述 | 未知 | 可选 |
(英文)编者的姓3 | editor3-last editor3-surname | 无描述 | 未知 | 可选 |
(英文)编者的名3 | editor3-first editor3-given | 无描述 | 未知 | 可选 |
编者姓名3 | editor3-link | 无描述 | 未知 | 可选 |
(英文)编者的姓4 | editor4-last editor4-surname | 无描述 | 未知 | 可选 |
(英文)编者的名4 | editor4-first editor4-given | 无描述 | 未知 | 可选 |
编者姓名4 | editor4-link | 无描述 | 未知 | 可选 |
arxiv | arxiv | 无描述 | 未知 | 可选 |
ASIN | asin ASIN | 无描述 | 未知 | 可选 |
Bibcode | bibcode | 无描述 | 未知 | 可选 |
DOI | doi DOI | 无描述 | 字符串 | 可选 |
DOI无效日期 | doi_inactivedate doi_brokendate | DOI被发现无效时的日期 | 日期 | 可选 |
ISBN | isbn ISBN | 无描述 | 未知 | 可选 |
ISSN | issn ISSN | 无描述 | 未知 | 可选 |
JFM | jfm JFM | 无描述 | 未知 | 可选 |
JSTOR | jstor JSTOR | 无描述 | 未知 | 可选 |
LCCN | lccn LCCN | 无描述 | 未知 | 可选 |
MR | mr MR | 无描述 | 未知 | 可选 |
OCLC | oclc OCLC | 无描述 | 未知 | 可选 |
OL | ol OL | 无描述 | 未知 | 可选 |
OSTI | osti OSTI | 无描述 | 未知 | 可选 |
PMC | pmc PMC | 无描述 | 未知 | 可选 |
pmc-embargo-date | pmc-embargo-date | 无描述
| 未知 | 可选 |
PMID | pmid PMID | 无描述 | 未知 | 可选 |
RFC | rfc RFC | 无描述 | 未知 | 可选 |
SSRN | ssrn SSRN | 无描述 | 未知 | 可选 |
Zbl | zbl | 无描述 | 未知 | 可选 |
id | id ID | 无描述 | 未知 | 可选 |
dateformat | dateformat | 无描述
| 字符串 | 可选 |
存档网址 | archiveurl | 无描述 | URL | 可选 |
存档日期 | archivedate | 无描述 | 日期 | 可选 |
引文 | quote | 被引用的相關原文。 | 字符串 | 可选 |
ref | ref | 锚点识别号。在正文中可用维基连结指向具有此识别号的完整参考讯息。“harv”是特殊值,配合harv模板使用。 | 字符串 | 可选 |
分隔符 | separator seperator | 分隔多个作者、编者等所用的标点符号。如须使用半形空格,请用 。切勿使用星号、冒号或井号。
| 字符串 | 可选 |
结尾符 | postscript | 参考引用的结尾标点符号。此项在“quote”已指定时会被忽略。
| 字符串 | 可选 |
外行概要 | laysummary | 对引用出版物的非专业概要或述评的URL连结 | 未知 | 可选 |
外行概要日期 | laydate | 非专业概要的日期。 | 日期 | 可选 |
作者替代 | author-mask authormask | 用破折号或文本替换第1名作者的姓名。填入数字值X可将破折号设置为X em空格宽;填入文本值可显示无尾部作者分隔符的文本(例如“with”) | 字符串 | 可选 |
作者分隔符 | author-separator | 指定作者和作者之间的分隔符,默认为半形分号加半形空格。如须使用半形空格,请用 。切勿使用星号、冒号或井号。
| 字符串 | 可选 |
作者姓名分隔符 | author-name-separator | 指定作者姓氏与名字之间的分隔符,默认为半形逗号加半形空格。如须使用半形空格,请用 。切勿使用星号、冒号或井号。
| 字符串 | 可选 |
显示的作者数目 | display-authors | 显示的作者数目。例如,如果已指定6名作者的姓名而此项设为3,那么将只会显示首3名作者的姓名,并在其后加上“等”一字。
| 数字 | 可选 |
最后作者分隔符 | lastauthoramp | 指定最后两个作者姓名之间的分隔符。 | 字符串 | 可选 |
periodical | periodical journal newspaper magazine work website | 无描述 | 未知 | 可选 |
参见
[编辑]指定引用维基文库的模板
[编辑]- 分类:维基文库链接模板
- {{Cite Americana}}: Encyclopedia Americana
- {{Cite Appletons'}}: Appletons' Cyclopædia of American Biography
- {{Cite Australasia}}: The Dictionary of Australasian Biography
- {{Cite Catholic Encyclopedia}}: Catholic Encyclopedia
- {{Cite Collier's}}: Collier's New Encyclopaedia
- {{Cite DNB}}: Dictionary of National Biography (1885-1900 edition & 1901 supplement)
- {{Cite DNB12}}: Dictionary of National Biography (1912 supplement)
- {{Cite DNBSupp}}: Dictionary of National Biography (1901 supplement)
- {{Cite EB1911}}: Encyclopædia Britannica (1911)
- {{Cite EB1922}}: Encyclopædia Britannica (1922)
- {{Cite NIE}}: New International Encyclopaedia
- {{NSRW Cite}}: The New Student's Reference Work
- {{Cite Nuttall}}: The Nuttall Encyclopaedia
- {{WsPSM}}: Popular Science Monthly
- {{Cite SBDEL}}: A Short Biographical Dictionary of English Literature