Шаблон:Cite arXiv
Этот шаблон реализован на основе Lua с использованием модуля Module:Citation/CS1. |
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.
- version: (deprecated)
arXiv version, including leading "v", e.g. "v1". Optional.Append optional version to arxiv or eprint (|arxiv=YYMM.NNNNNv1
)
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. |eprint=gr-qc/0610068v1 |title=Spacetime is spinorial; new dimensions are timelike |date=2006 }}
- Sparling, George A. J. (2006). "Spacetime is spinorial; new dimensions are timelike". arXiv:gr-qc/0610068v1.
{{cite arXiv |last=Leinster |first=Tom |eprint=0707.0835 |class=math.CT |title=The Euler characteristic of a category as the sum of a divergent series |date=2007}}
- Leinster, Tom (2007). "The Euler characteristic of a category as the sum of a divergent series". arXiv:0707.0835 [math.CT].
Parameters
Deprecated
The following parameters are deprecated. Their use will place the page into Гурӯҳ:Pages containing cite templates with deprecated parameters:
- month: Use date to include the day, month and year.
- coauthor · coauthors: Use last# / first# or author or authors
- day: Use date to include the day, month and year.
- dateformat · doilabel: These parameters are no longer supported.
Description
Authors
- last: Surname of author. Do not wikilink—use author-link instead. For corporate authors, simply use last to include the same format as the source. Aliases: last1, surname, surname1, author, 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 author-link instead. Aliases: first1, given, 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.
- 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 useslast
/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
- author-link and author-mask may be used for the individual names in
- authors: Free-form list of author names; not an alias of last
- coauthors: (deprecated)
Names of coauthors. Requires author, authors, or lastnInclude coauthors in author or authors or use separate authorn or lastn/firstn to list coauthors.
- 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:
- The template uses
|ref=harv
, or the template is{{citation}}
, or|mode=cs2
- The
|date=
format is YYYY-MM-DD. - The citation requires a
CITEREF
disambiguator.
- The template uses
- 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
.
- ↑ 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: .
Title
- 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, Hebrew, Japanese, 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.
- script-title: Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Hebrew, Japanese, 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:
- Titles containing certain characters will display and link incorrectly unless those characters are encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
{{bracket|text}} | {{pipe}} – see also: rendering vertical bars in tables |
- When the title you are citing contains quotations marks or apostrophes at the beginning, end or both, you can use
 
to place a separation between that punctuation and the quotation marks this template automatically provides around the title, to avoid a non-ideal display such as '''.
- For example instead of title='name' which will display on many browsers with the quotation marks surrounding it as '''name''', use |title= 'name' , which will display as " 'name' ".
- 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, if not English. 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 CS1 foreign language sources; do not use templates or wikilinks.