Template:Cite arXiv

Revision as of 17:46, 3 October 2017 by Matt Pijoan (talk | contribs) (1 revision imported)
Jump to navigation Jump to search
Citation Style 1 templates
{{Cite arXiv}}arXiv preprints
{{Cite AV media}}audio and visual
{{Cite AV media notes}}audio and visual liner notes
{{Cite bioRxiv}}bioRxiv preprints
{{Cite book}}books
{{Cite conference}}conference papers
{{Cite encyclopedia}}edited collections
{{Cite episode}}radio or television episodes
{{Cite interview}}interviews
{{Cite journal}}academic journals and papers
{{Cite magazine}}magazines, periodicals
{{Cite mailing list}}public mailing lists
{{Cite map}}maps
{{Cite news}}news articles
{{Cite newsgroup}}online newsgroups
{{Cite podcast}}audio or video podcast
{{Cite press release}}press releases
{{Cite report}}reports
{{Cite serial}}audio or video serials
{{Cite sign}}signs, plaques
{{Cite speech}}speeches
{{Cite techreport}}technical reports
{{Cite thesis}}theses
{{Cite web}}any resource accessible through a URL
See also:

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

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.

Common parameters, horizontal 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

  • {{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

Deprecated

None of the cs1|2 parameters is deprecated.

Description

Authors

  • 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.
    • 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). See the display parameters to change how many authors are displayed. Aliases: surname1, given1 through surnamen, givenn, or author1 through authorn. For an individual author plus an institutional author, you can use |first1=...|last1=...|author2=....
    • author-link: Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: author-link1, authorlink, authorlink1, author1-link, author1link.
    • OR: for multiple authors, use author-link1 through author-linkn. Aliases: authorlink1 through authorlinkn, or author1-link through authorn-link, or author1link through authornlink.
    • name-list-format: displays authors and editors in Vancouver style when set to vanc and when the list uses last/first parameters for the name list(s).
  • vauthors: comma-separated list of author names in Vancouver style; enclose corporate or institutional author names in doubled parentheses:
    |vauthors=Smythe JB, ((Megabux Corporation))
    • author-link and author-mask may be used for the individual names in |vauthors= as described above
  • translator-last: Surname of translator. Do not wikilink—use translator-link instead. Aliases: translator-surname, translator1, translator1-last, translator-last1.
    • translator-first: Given or first names of translator. Do not wikilink—use translator-link instead. Aliases: translator-given, translator1-first, translator-first1.
    • OR: for multiple translators, use translator-last1, translator-first1 through translator-lastn, translator-firstn, where n is any consecutive number for an unlimited number of translators (each translator-firstn requires a corresponding translator-lastn). Aliases: translator1-last, translator1-first through translatorn-last, translatorn-first, or translator1 through translatorn.
    • translator-link: Title of existing Wikipedia article about the translator—not the translator's website; do not wikilink. Aliases: translator-link1, translator1-link.
    • OR: for multiple translators, use translator-link1 through translator-linkn. Aliases: translator1-link through translatorn-link.
  • 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

  • date: Date of source being referenced. 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 publisher. For acceptable date formats, see Help:Citation Style 1 § Dates.
For approximate year, precede with "c. ", like this: |date=c. 1900.

For no date, or "undated", add as |date=n.d.
  • year: Year of source being referenced. Use of |date= is recommended unless all of the following conditions are met:
    1. The template uses |ref=harv, or the template is {{citation}}, or |mode=cs2
    2. The |date= format is YYYY-MM-DD.
    3. The citation requires a CITEREF disambiguator.
  • orig-year: Original publication year; displays after the date or year. For clarity, please supply specifics. For example: |orig-year=First published 1859 or |orig-year=Composed 1904. Alias: origyear
  • df: date format; sets rendered dates to the specified format; does not support date ranges or seasonal dates. 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 format
    ymd – as above for year initial numeric format YYYY-MM-DD
    dmy-all – set publication, access-, and archive-dates to day month year format;
    mdy-all – as above for month day, year format
    ymd-all – as above for year initial numeric format YYYY-MM-DD
  1. 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. See MOS:DATEUNIFY.

Title

(See also Help:Citation Style 1 §Titles and chapters.)

  • title: Title of source. Displays in quotes. If script-title is defined, title holds romanized transliteration of title in script-title.
    • script-title: Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc); not italicized, follows italicized transliteration defined in title. May be prefixed with an ISO 639-1 two-character code to help browsers properly display the script:
      ... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...
    • trans-title: English translation of the title if the source cited is in a foreign language. Displays in square brackets after title; if url is defined, then trans-title is included in the link. Use of the language parameter is recommended.
Titles containing certain characters will not display and link correctly unless those characters are encoded.
newline [ ] |
space [ ] {{!}} (preferred)
{{bracket|text}} | or {{pipe}}see also Help:Table § Rendering the pipe
  • title-link: Title of existing Wikipedia article about the source named in title – do not use a web address; do not wikilink. Alias: titlelink.
  • language: The language in which the source is written. Displays in parentheses with "in" before the language name or names. Use the full language name or ISO 639-1 code. When the source uses more than one language, list them individually, separated by commas, e.g. |language=French, German. The use of language names or language codes recognized by Wikimedia adds the page to the appropriate subcategory of Category:CS1 foreign language sources; do not use templates or wikilinks. Note: When the language is "English" (or "en"), no language is displayed in the citation. Note: When two or more languages are listed there is no need to include "and" before the last language. "and" is inserted automatically by the template.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Cite arXiv

<templatedata> { "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", "authorlink", "authorlink1", "author1-link", "author1link." ], "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": [ "authorlink2", "author2-link", "author2link" ], "label": "Author 2's article", "description": "Title of Wikipedia article about the second author", "type": "wiki-page-name" }, "coauthors": { "label": "Co-authors", "description": "Names of co-authors", "type": "string", "deprecated": "Use author, author2, etc." }, "authors": { "label": "Authors", "description": "Full list of all authors", "type": "string" }, "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" }, "translator-last": { "aliases": [ "translator1-last", "translator-last1" ], "label": "Translator's last name", "description": "Translator's last name", "type": "string" }, "translator-first": { "aliases": [ "translator1-first", "translator-first1" ], "label": "Translator's first name", "description": "Translator's first name", "type": "string" }, "translator": { "aliases": [ "translator1" ], "label": "Translator", "description": "Full name of first translator", "type": "string" }, "translator-link": { "aliases": [ "translator-link1", "translator1-link" ], "label": "Translator's article", "description": "Title of Wikipedia article of the (first) translator", "type": "wiki-page-name" }, "translator-first2": { "aliases": [ "translator2-first" ], "label": "Translator 2's First name", "description": "Translator 2's First name", "type": "string" }, "translator-last2": { "aliases": [ "translator2-last" ], "label": "Translator 2's last name", "description": "Translator 2's last name", "type": "string" }, "translator2": { "label": "Translator 2", "description": "Full name of second translator", "type": "string" }, "translator-link2": { "aliases": [ "translator2-link" ], "label": "Translator 2's article", "description": "Title of WIkipedia article about second translator", "type": "wiki-page-name" }, "date": { "label": "Date", "description": "Date of the source being cited. Use n.d. for no date, and c. for inexact dated", "type": "string" }, "orig-year": { "aliases": [ "origyear" ], "label": "Original publication year", "description": "Original publication year, which displays after the main date. Be specific", "example": "First published 1859", "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" }, "script-title": { "label": "Foreign-script title", "description": "Title of work in original non-latin script. May be prefixed with language code and a colon", "example": "ja:東京タワー", "type": "string" }, "trans-title": { "label": "Translated title", "description": "English translation of title", "type": "string" }, "title-link": { "label": "Article about title", "description": "Wikipedia article that the title is linked to", "type": "wiki-page-name" }, "language": { "label": "Language(s)", "description": "Language(s) the source is written in. Seperate by commas, and do not include 'and'", "type": "string" }, "version": { "label": "Version", "description": "arXiv version", "deprecated": "Append to arXiv parameter", "type": "string" } }, "format": "inline", "description": "Formats a citation to a paper with an arXiv id", "paramOrder": [ "arxiv", "class", "version", "author", "first", "last", "first2", "last2", "author2", "author-link", "author-link2", "authors", "coauthors", "title", "translator", "translator-last", "translator-first", "translator-link", "translator-first2", "translator-last2", "translator2", "translator-link2", "collaboration", "date", "orig-year", "df", "script-title", "trans-title", "title-link", "language" ] } </templatedata>

External links