Template:Cite arXiv/doc
This is a documentation subpage for Template:Cite arXiv. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
arXiv contains preliminary reports that have not been peer-reviewed and hence should be used with a high degree of caution. Per WP:MEDRS and WP:SCIRS, these reports should not be used to support medical or scientific claims. |
This template uses Lua: |
{{Cite arXiv}} | arXiv preprints |
---|---|
{{Cite AV media}} | audio and visual media |
{{Cite AV media notes}} | AV media liner notes |
{{Cite bioRxiv}} | bioRxiv preprints |
{{Cite book}} | books and chapters |
{{Cite CiteSeerX}} | CiteSeerX papers |
{{Cite conference}} | conference papers |
{{Cite encyclopedia}} | edited collections |
{{Cite episode}} | radio or TV episodes |
{{Cite interview}} | interviews |
{{Cite journal}} | academic journals |
{{Cite magazine}} | magazines, periodicals |
{{Cite mailing list}} | public mailing lists |
{{Cite map}} | maps |
{{Cite news}} | news articles |
{{Cite newsgroup}} | online newsgroups |
{{Cite podcast}} | podcasts |
{{Cite press release}} | press releases |
{{Cite report}} | reports |
{{Cite serial}} | audio or video serials |
{{Cite sign}} | signs, plaques |
{{Cite speech}} | speeches |
{{Cite ssrn}} | SSRN papers |
{{Cite techreport}} | technical reports |
{{Cite thesis}} | theses |
{{Cite web}} | web sources not covered by the above |
See also | Specific-source templates Wrapper templates |
This Citation Style 1 template is used to create citations for preprints at the arXiv. It links to the abstract at http://www.arxiv.org/abs/
eprint.
Usage
changeTo use the template, you need only specify the arxiv or eprint parameter. Once you save the page, Citation bot will detect the citation and complete it automatically.
- Common parameters, horizontal format
{{cite arXiv |last= |first= |author-link= |eprint= |title= |class= |date= }}
- Common parameters, vertical format
{{cite arXiv | last = | first = | author-link= | eprint = | title = | class = | date = }}
- arxiv or eprint (mandatory): arXiv/Eprint identifier, without any "arXiv:" prefix. Prior to April 2007, the identifiers included a classification, an optional two-letter subdivision, and a 7-digit YYMMNNN year, month, and sequence number of submission in that category. E.g. gr-qc/0610068 or math.GT/0309136. After April 2007, the format was changed to a simple YYMM.NNNN. Starting in January 2015, the identifier was changed to be 5 digits: YYMM.NNNNN.
- class: arXiv classification, e.g. hep-th. Optional. To be used only with new-style (2007 and later) eprint identifiers that do not include the classification.
- title: Title of the cited paper.
The template uses the style of {{cite journal}}. Once a paper is accepted in a peer-reviewed journal, it is recommended to use one of those templates, as the peer-reviewed status of the article is important, while preserving the arXiv link in order to guarantee open access to the previous version of the article. To preserve the arXiv link, add e.g. |arxiv=gr-qc/0610068
or |arxiv=math.GT/0309136
or |arxiv=YYMM.NNNN
(following the above examples) to the {{citation}} or {{cite journal}} templates.
Examples
change{{cite arXiv |last=Sparling |first=George A. J. |date=2006 |title=Spacetime is spinorial; new dimensions are timelike |eprint=gr-qc/0610068}}
- Sparling, George A. J. (2006). "Spacetime is spinorial; new dimensions are timelike". arXiv:gr-qc/0610068.
{{cite arXiv |last=Leinster |first=Tom |date=2007 |title=The Euler characteristic of a category as the sum of a divergent series |eprint=0707.0835 |class=math.CT}}
- Leinster, Tom (2007). "The Euler characteristic of a category as the sum of a divergent series". arXiv:0707.0835 [math.CT].
Parameters
changeDeprecated
changeDeprecated parameter | Replace with | Date |
---|---|---|
none deprecated at present |
Removed parameter | Replace with | Date |
---|---|---|
|authorfirst=
|
|author-first=
|
October 2020 |
|authorfirstn=
|
|author-firstn=
|
October 2020 |
|authornfirst=
|
|authorn-first=
|
October 2020 |
|authorgiven=
|
|author-given=
|
October 2020 |
|authorgivenn=
|
|author-givenn=
|
October 2020 |
|authorngiven=
|
|authorn-given=
|
October 2020 |
|authorlast=
|
|author-last=
|
October 2020 |
|authorlastn=
|
|author-lastn=
|
October 2020 |
|authornlast=
|
|authorn-last=
|
October 2020 |
|authormask=
|
|author-mask=
|
January 2021 |
|authormaskn=
|
|author-maskn=
|
January 2021 |
|authornmask=
|
|authorn-mask=
|
January 2021 |
|authorsurname=
|
|author-surname=
|
October 2020 |
|authorsurnamen=
|
|author-surnamen=
|
October 2020 |
|authornsurname=
|
|authorn-surname=
|
October 2020 |
|booktitle=
|
|book-title=
|
May 2021 |
|chapterurl=
|
|chapter-url=
|
May 2021 |
|conferenceurl=
|
|conference-url=
|
April 2021 |
|contributionurl=
|
|contribution-url=
|
April 2021 |
|deadurl=yes
|
|url-status=dead
|
September 2019 |
|dead-url=yes
|
|url-status=dead
|
September 2019 |
|displayauthors=
|
|display-authors=
|
January 2021 |
|displayeditors=
|
|display-editors=
|
October 2020 |
|doi-broken=
|
|doi-broken-date=
|
October 2020 |
|doi-inactive-date=
|
|doi-broken-date=
|
October 2020 |
|editorfirst=
|
|editor-first=
|
October 2020 |
|editorfirstn=
|
|editor-firstn=
|
October 2020 |
|editornfirst=
|
|editorn-first=
|
October 2020 |
|editorgiven=
|
|editor-given=
|
October 2020 |
|editorgivenn=
|
|editor-givenn=
|
October 2020 |
|editorngiven=
|
|editorn-given=
|
October 2020 |
|editorlast=
|
|editor-last=
|
October 2020 |
|editorlastn=
|
|editor-lastn=
|
October 2020 |
|editornlast=
|
|editorn-last=
|
October 2020 |
|editorlink=
|
|editor-link=
|
January 2021 |
|editorlinkn=
|
|editor-linkn=
|
January 2021 |
|editornlink=
|
|editorn-link=
|
January 2021 |
|editors=
|
|editor= (one editor) or |editorn= (more than one editor) or |veditors= (for Vancouver style editors). Consider splitting |editorn= into |editor-firstn= and |editor-lastn= , if possible. Consider |editor-maskn= , if annotation is required.
|
January 2021 |
|editorsurname=
|
|editor-surname=
|
October 2020 |
|editorsurnamen=
|
|editor-surnamen=
|
October 2020 |
|editornsurname=
|
|editorn-surname=
|
October 2020 |
|editormask=
|
|editor-mask=
|
October 2020 |
|editormaskn=
|
|editor-maskn=
|
October 2020 |
|editornmask=
|
|editorn-mask=
|
October 2020 |
|embargo=
|
|pmc-embargo-date=
|
October 2020 |
|episodelink=
|
|episode-link=
|
May 2021 |
|event-format=
|
(delete) | January 2021 |
|eventurl=
|
(delete) | January 2021 |
|event-url=
|
(delete) | January 2021 |
|ignoreisbnerror=
|
|isbn=((<isbn>))
|
October 2020 |
|ignore-isbn-error=
|
|isbn=((<isbn>))
|
January 2021 |
|interviewerlink=
|
|interviewer-link=
|
October 2020 |
|interviewerlinkn=
|
|interviewer-linkn=
|
October 2020 |
|interviewernlink=
|
|interviewern-link=
|
October 2020 |
|interviewermask=
|
|interviewer-mask=
|
October 2020 |
|interviewermaskn=
|
|interviewer-maskn=
|
October 2020 |
|interviewernmask=
|
|interviewern-mask=
|
October 2020 |
|last-author-amp=
|
|name-list-style=amp
|
January 2021 |
|lastauthoramp=
|
|name-list-style=amp
|
January 2021 |
|laydate=
|
|lay-date=
|
April 2021 |
|laysource=
|
|lay-source=
|
April 2021 |
|layurl=
|
|lay-url=
|
April 2021 |
|mailinglist=
|
|mailing-list=
|
May 2021 |
|mapurl=
|
|map-url=
|
May 2021 |
|name-list-format=
|
|name-list-style=
|
April 2021 |
|nocat=
|
|no-tracking=
|
January 2021 |
|no-cat=
|
|no-tracking=
|
October 2020 |
|nopp=
|
|no-pp=
|
May 2021 |
|notracking=
|
|no-tracking=
|
October 2020 |
|publicationdate=
|
|publication-date=
|
May 2021 |
|publicationplace=
|
|publication-place=
|
May 2021 |
|registration=
|
|url-access=registration
|
January 2020 |
|sectionurl=
|
|section-url=
|
April 2021 |
|serieslink=
|
|series-link=
|
May 2021 |
|seriesno=
|
|series-number=
|
April 2021 |
|seriesnumber=
|
|series-number=
|
January 2021 |
|series-separator=
|
(delete) | October 2020 |
|subjectlink=
|
|subject-link=
|
January 2021 |
|subjectlinkn=
|
|subject-linkn=
|
January 2021 |
|subjectnlink=
|
|subjectn-link=
|
January 2021 |
|subscription=
|
|url-access=subscription
|
January 2020 |
|timecaption=
|
|time-caption=
|
April 2021 |
|titlelink=
|
|title-link=
|
April 2021 |
|transcripturl=
|
|transcript-url=
|
May 2021 |
Description
changeAuthors
change- last: Surname of a single author. Do not wikilink—use author-link instead. For corporate authors or authors for whom only one name is listed by the source, use last or one of its aliases (e.g.
|author=Bono
). Aliases: surname, author, last1, surname1, author1.- author: this parameter is used to hold the complete name of a single author (first and last) or to hold the name of a corporate author. This parameter should never hold the names of more than one author. Do not wikilink—use author-link instead.
- first: Given or first names of author; for example: Firstname Middlename or Firstname M. or Firstname M., Sr. Do not wikilink—use author-link instead. Aliases: given, first1, given1. Requires last; first name will not display if last is empty.
- OR: for multiple authors, use last1, first1 through lastn, firstn, where n is any consecutive number for an unlimited number of authors (each firstn requires a corresponding lastn, but not the other way around).
|first1=...
|last1=...
|author2=...
.
Aliases: surname1, given1 through surnamen, givenn, or author1 through authorn. For an individual author plus an institutional author, you can use - author-link: Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: author-link1, author1-link, authorlink.
- OR: for multiple authors, use author-link1 through author-linkn. Aliases: author1-link through authorn-link.
- name-list-style: accepts a limited list of keywords as value; when set to
amp
,ampersand
, or&
, inserts an ampersand between the last two names in a name list; when set toand
, inserts the conjunction 'and' between the last two names of a name list; when set tovanc
displays name lists in Vancouver style when the lists use thelast
/first
forms of name parameters.
- vauthors: comma-separated list of author names in Vancouver style; enclose corporate or institutional author names in doubled parentheses. End with etal if appropriate:
|vauthors=Smythe JB, ((Megabux Corp.)), etal
- author-link and author-mask may be used for the individual names in
|vauthors=
as described above
- collaboration: Name of a group of authors or collaborators; requires author, last, or vauthors listing one or more primary authors; follows author name-list; appends "et al." to author name-list.
- Note: When using shortened footnotes or parenthetical referencing styles with templates, do not use multiple names in one field, or else the anchor will not match the inline link.
Date
change- date: Date of referenced source. Can be full date (day, month, and year) or partial date (month and year, season and year, or year). Use same format as other publication dates in the citations.[date 1] Required when year is used to disambiguate
{{sfn}}
links to multiple-work citations by the same author in the same year.[more] Do not wikilink. Displays after the authors and is enclosed in parentheses. If there is no author, then displays after the publisher.
- For approximate year, precede with "
c.
", like this:|date=c. 1900
.
- For no date, or "undated", use
|date=n.d.
- Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in date parameters (
|date=
,|access-date=
,|archive-date=
, etc.) in the style specified by the article's{{use dmy dates}}
or{{use mdy dates}}
template. See those templates' documentation for details.
- year: Year of source being referenced. The usage of this parameter is discouraged; use the more flexible
|date=
parameter instead unless both of the following conditions are met:- The
|date=
format is YYYY-MM-DD. - The citation requires a
CITEREF
disambiguator.
- The
- df: date format; sets rendered dates to the specified format; does not support date ranges or seasonal dates; overrides the automatic date formatting described above. Accepts one value which may be one of these:
dmy
– set publication dates to day month year format; access- and archive-dates are not modified;mdy
– as above for month day, year formatymd
– as above for year initial numeric format YYYY-MM-DDdmy-all
– set publication, access-, and archive-dates to day month year format;mdy-all
– as above for month day, year formatymd-all
– as above for year initial numeric format YYYY-MM-DD
- ↑ Publication dates in references within an article should all have the same format. This may be a different format from that used for archive and access dates.
Title
change
- title: Title of source. Displays in quotes.
- Titles containing certain characters will not display and link correctly unless those characters are encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | {{!}} (preferred)
|
{{bracket|text}} | | or {{pipe}} – |
- language: A comma-separated list of the languages in which the source is written, as either the ISO 639 language code (preferred) or the full language name, e.g.
|language=fr, pt-br
or|language=French, Portuguese
. See the list of supported codes and names. Do not use templates or wikilinks. Displays in parentheses with "in" before the language name or names. When the only source language is English, no language is displayed in the citation. The use of languages recognized by the citation module adds the page to the appropriate subcategory of Category:CS1 foreign language sources. Because cs1|2 templates are often copied from en.wiki to other wikis, use of language codes is preferred so that languages render in the correct language and form: espagnol at a French-language wiki instead of 'Spanish'. Aliases: lang
TemplateData
changeTemplateData for Cite arXiv
Template:Cite arXiv uses preprint and limited parameter sets; TemplateData has errors:
|authors=
is not a valid parameter|translator-first2=
is not a valid parameter|translator-first=
is not a valid parameter|translator-last2=
is not a valid parameter|translator-last=
is not a valid parameter|translator-link2=
is not a valid parameter|translator-link=
is not a valid parameter|translator2=
is not a valid parameter|translator=
is not a valid parameter
Formats a citation to a paper with an arXiv id
Parameter | Description | Type | Status | |
---|---|---|---|---|
arXiv | arxiv eprint | arXiv identifier without the "arXiv:" prefix; can include version number
| String | required |
arXiv class | class | arXiv classification, for post-2007 ids | String | optional |
Author | author author1 | Complete name of the first author | String | optional |
First name | first first1 given given1 | First name of first author | String | suggested |
Last name | last last1 surname surname1 | Last name of first author | String | suggested |
Author 2's first name | first2 given2 | First name of second author | String | optional |
Author 2's last name | last2 surname2 | Last name of second author | String | optional |
Author 2 | author2 | Full name of second author | String | optional |
Author's article | author-link author-link1 author1-link | Title of the Wikipedia article about the first author | Page name | optional |
Author 2's article | author-link2 author2-link | Title of Wikipedia article about the second author | Page name | optional |
Authors | authors | Full list of all authors | String | optional |
Title | title | Title of the paper cited | String | suggested |
Translator | translator translator1 | Full name of first translator | String | optional |
Translator's last name | translator-last translator1-last translator-last1 | Translator's last name | String | optional |
Translator's first name | translator-first translator1-first translator-first1 | Translator's first name | String | optional |
Translator's article | translator-link translator-link1 translator1-link | Title of Wikipedia article of the (first) translator | Page name | optional |
Translator 2's first name | translator-first2 translator2-first | Translator 2's first name | String | optional |
Translator 2's last name | translator-last2 translator2-last | Translator 2's last name | String | optional |
Translator 2 | translator2 | Full name of second translator | String | optional |
Translator 2's article | translator-link2 translator2-link | Title of Wikipedia article about second translator | Page name | optional |
collaboration | collaboration | Name of a group of authors, in addition to the ones listed in the Author parameters | String | optional |
Date | date | Date of the source being cited. Use n.d. for no date, and c. for inexact dated. | String | optional |
Date format for publication dates | df | Either ymd (Year-Month-Day), dmy (Day-Month-Year), or mdy (Month-Day-Year) add -all at end to also affect access and archive dates
| String | optional |
Translated title | trans-title | English translation of title | String | optional |
Language(s) | language | Language(s) the source is written in. Separate by commas, and do not include 'and'. | String | optional |