Template:Cite arXiv/doc

{{Documentation subpage}}

{{High-use|2600}}

{{caution|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.}}

{{Distinguish|Template:Cite archive}}

{{csdoc|lua|lua=yes}}

{{csdoc|cs1|lua=yes}}

{{csdoc|lead|preprints at arXiv}} It links to the abstract at https://www.arxiv.org/abs/eprint.

Usage

To 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.

{{csdoc|usage}}

{{csdoc|usage common}}

{{cite arXiv |last= |first= |date= |title= |arxiv= |class=}}

{{end}}

{{csdoc|usage full}}

{{cite arXiv |last1= |first1= |author-link1= |last2= |first2= |author-link2= |display-authors= |author-mask1= |author-mask2= |collaboration= |name-list-style= |df= |date= |year= |title= |trans-title= |language= |page= |pages= |at= |no-pp= |arxiv= |class= |quote= |mode= |ref= |postscript=}}

{{end}}

{{csdoc|usage vertical common}}

{{cite arXiv

|last =

|first =

|date =

|title =

|arxiv =

|class =

}}

{{end}}

{{csdoc|usage vertical}}

{{cite arXiv

|last1 =

|first1 =

|author-link1 =

|last2 =

|first2 =

|author-link2 =

|display-authors =

|author-mask1 =

|author-mask2 =

|collaboration =

|name-list-style =

|df =

|date =

|year =

|title =

|trans-title =

|language =

|page =

|pages =

|at =

|no-pp =

|arxiv =

|class =

|quote =

|mode =

|ref =

|postscript =

}}

{{csdoc|usage vertical mid}}

 

last1 (or an alias)

last1 (or an alias)

last1 (or an alias)

last2 (or an alias)

last2 (or an alias)

last1 (or an alias)

last1 (or an alias)

last2 (or an alias)

last1 (or an alias)

last2 (or an alias)

 

 

 

 

title

 

 

 

 

page, pages, p or pp

 

 

 

 

 

 

{{csdoc|usage vertical mid}}

Don't link. Aliases include 'last'; 'surname1'; 'surname'; 'author1'; and 'author'

Don't link. Aliases include 'first'; 'given1'; and 'given'

Don't link. Aliases include 'author1-link'; 'author-link'; 'authorlink1'; 'author1link'; and 'authorlink'

Don't link. Similar: 'last3', etc. Aliases include 'surname2'; and 'author2'

Don't link. Similar: 'first3', etc. Aliases include 'given2'

Don't link. Similar: 'author-link3', etc. Aliases include 'author2-link'; 'authorlink2'; and 'author2link'

Number (number of authors displayed) or 'etal' (more authors)

Not for lists of cited works. Aliases include 'author1-mask'; and 'author-mask'

Aliases include 'author2-mask'

Set to 'amp' or 'ampersand' to separate the last author with ' & '; set to 'and' to separate with ' and '

 

 

 

 

Required

 

Aliases include 'lang'

Aliases include 'p'

Aliases include 'pp'

 

set to "yes" to suppress the "p." or "pp." before page numbers

Required. Aliases include 'eprint'

 

Aliases include 'quotation'

'cs1' or 'cs2'

 

 

{{csdoc|usage vertical end}}

  • Note that quotation marks aren't part of the parameter names or their aliases and are there to make identifying them easier for readers.
  • title: Title of the cited paper.
  • 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 [https://arxiv.org/help/arxiv_identifier 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.

The template uses the style of {{tl|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. {{para|arxiv|gr-qc/0610068}} or {{para|arxiv|math.GT/0309136}} or {{para|arxiv|YYMM.NNNN}} (following the above examples) to the {{tl|citation}} or {{tl|cite journal}} templates.

Examples

{{markup2

|m={{cite arXiv |last=Sparling |first=George A. J. |date=2006 |title=Spacetime is spinorial; new dimensions are timelike |eprint=gr-qc/0610068}}

|r={{cite arXiv |last=Sparling |first=George A. J. |date=2006 |title=Spacetime is spinorial; new dimensions are timelike |eprint=gr-qc/0610068}}

}}

{{markup2

|m={{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}}

|r={{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}}

}}

Parameters

= Deprecated =

{{csdoc|deprecated}}

= Description =

== Authors ==

{{csdoc|author|limited_param_list=yes}}

== Date ==

{{csdoc|date|limited_param_list=yes}}

== Title ==

{{csdoc|title|title_format=quotes|link=no|limited_param_list=yes}}

{{csdoc|language}}

TemplateData

{{Warning |image=Stop hand nuvola.svg |This section contains configuration data used by editing tools and automated bots. Changes to this data can result in widespread and unintended effects. For more information see Help:Citation Style 1#TemplateData}}

{{TemplateData header}}

{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}

{

"params": {

"arxiv": {

"aliases": [

"eprint"

],

"label": "arXiv ",

"description": "arXiv identifier without the \"arXiv:\" prefix; can include version number",

"type": "string",

"required": true,

"example": "1612.00008v1"

},

"title": {

"label": "Title",

"description": "Title of the paper cited",

"type": "string",

"suggested": true

},

"first": {

"aliases": [

"first1",

"given",

"given1"

],

"label": "First name",

"description": "First name of first author",

"type": "string",

"suggested": true

},

"last": {

"aliases": [

"last1",

"surname",

"surname1"

],

"label": "Last name",

"description": "Last name of first author",

"type": "string",

"suggested": true

},

"author": {

"aliases": [

"author1"

],

"label": "Author",

"description": "Complete name of the first author",

"type": "string"

},

"author-link": {

"aliases": [

"author-link1",

"author1-link"

],

"label": "Author's article",

"description": "Title of the Wikipedia article about the first author",

"type": "wiki-page-name"

},

"first2": {

"aliases": [

"given2"

],

"label": "Author 2's first name",

"description": "First name of second author",

"type": "string"

},

"last2": {

"aliases": [

"surname2"

],

"label": "Author 2's last name",

"description": "Last name of second author",

"type": "string"

},

"author2": {

"label": "Author 2",

"description": "Full name of second author",

"type": "string"

},

"author-link2": {

"aliases": [

"author2-link"

],

"label": "Author 2's article",

"description": "Title of Wikipedia article about the second author",

"type": "wiki-page-name"

},

"collaboration": {

"label": "collaboration",

"description": "Name of a group of authors, in addition to the ones listed in the Author parameters",

"type": "string"

},

"class": {

"label": "arXiv class",

"description": "arXiv classification, for post-2007 ids ",

"type": "string"

},

"date": {

"label": "Date",

"description": "Date of the source being cited. Use n.d. for no date, and c. for inexact dated.",

"type": "string"

},

"df": {

"label": "Date format for publication dates",

"description": "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",

"example": "dmy",

"type": "string"

},

"trans-title": {

"label": "Translated title",

"description": "English translation of title",

"type": "string"

},

"language": {

"label": "Language(s)",

"description": "Language(s) the source is written in. Separate by commas, and do not include 'and'.",

"type": "string"

}

},

"format": "{{_ |_=_}}",

"description": "Formats a citation to a paper with an arXiv id",

"paramOrder": [

"arxiv",

"class",

"author",

"first",

"last",

"first2",

"last2",

"author2",

"author-link",

"author-link2",

"title",

"collaboration",

"date",

"df",

"trans-title",

"language"

]

}