Шаблон:Cite arXiv/doc

Материал из in.wiki
Перейти к навигации Перейти к поиску

Ошибка Lua в Модуль:Distinguish на строке 27: attempt to call field '_hatnote' (a nil value).

Citation Style 1 templates
{{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 document}}short, stand-alone, offline documents
{{Cite encyclopedia}}edited collections

This Citation Style 1 template is used to create citations for preprints at 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=|date=|title=|eprint=|class=}}

Common parameters, vertical format
{{cite arXiv
| last =
| first =
| author-link =
| date =
| title =
| eprint =
| class =
}}
  • 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 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 {{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[править код]

{{#lst:Help:CS1 errors|deprecated_params_table}} {{#lst:Help:CS1 errors|deleted_params_table}}

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 name of an organizational author (e.g. a committee) or the complete name (first and last) of a single person; for the latter, prefer the use of |first = and |last =. 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. Use generational and regnal suffixes only in accordance with MOS:JRSR and use honorifics only in accordance with MOS:HON.
    • 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). Ошибка Lua в Модуль:Hatnote_inline на строке 16: frame:newChild: invalid type nil for arg 'category'. 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, 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 to and, inserts the conjunction 'and' between the last two names of a name list; when set to vancdisplays name lists in Vancouver style when the lists use the last/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[править код]

Ошибка Lua в Модуль:Redirect_hatnote на строке 66: attempt to call field 'quote' (a nil value).

  • 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] Do not wikilink. Displays after the authors and is enclosed in parentheses. If there is no author, then displays after the website and publisher. Ошибка Lua в Модуль:Hatnote_inline на строке 16: frame:newChild: invalid type nil for arg 'category'.
Shortened footnotes target full citations using the year specified in this parameter. A lowercase letter may be suffixed to the year to disambiguate {{sfn}} links to multiple works by the same author in the same year,[more] unless the date is formatted as YYYY-MM-DD. In the latter case, year or ref is required to disambiguate the link targets.
For approximate year, precede with "c. ", like this: |date = c. 1900.

For no date, or "undated", use |date = n.d.
The date of a Web page, PDF, etc. with no visible date can sometimes be established by searching the page source or document code for a created or updated date; a comment for editors such as date=2021-12-25<!--date from page source-->|orig-date=Original date 2011-01-01 can be added.
Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in all date parameters (such as |date =, |publication-date =, |access-date =, |archive-date =, etc.) except for |orig-date = 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 publication. The more flexible |date = parameter also handles a year by itself. Do not use in combination with the |date= parameter, unless both of the following conditions are met:
    1. Shortened footnotes target multiple citations with same last name and year of publication. (This situation necessitates a CITEREF disambiguator, usually a lowercase letter suffixed to the year.)
    2. The |date= format is YYYY-MM-DD. (This format prevents the addition of a disambiguating letter to the year.)
  • 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 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. Ошибка Lua в Модуль:Hatnote_inline на строке 16: frame:newChild: invalid type nil for arg 'category'.

Title[править код]

Ошибка Lua в Модуль:Hatnote_inline на строке 16: frame:newChild: invalid type nil for arg 'category'.

  • title: Title of source. Displays in quotation marks. For titles containing quotation marks, convert regular quotation marks (") to single quotation marks ('). See MOS:QINQ for guidance in more complex situations.
Titles containing certain characters will not display and link correctly unless those characters are encoded.
newline [ ]
space &#91; &#93; {{!}} (preferred)
{{bracket|text}} &#124; or {{pipe}}Ошибка Lua в Модуль:Hatnote_inline на строке 16: frame:newChild: invalid type nil for arg 'category'.
  • language: The language (or 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. Examples: |language = ru; |lang = fr, pt-br; |lang = Russian; |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 CS1 foreign language sources. Because cs1|2 templates are often copied from en.wiki to other wikis, the use of language codes is preferred so that language names render in the correct language and form: espagnol at a French-language wiki instead of the English word "Spanish". Aliases: lang, язык

TemplateData[править код]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cite arXiv in articles based on its TemplateData.

TemplateData for Cite arXiv

Formats a citation to a paper with an arXiv id

Параметры шаблона

Шаблон использует собственное форматирование параметров.

ПараметрОписаниеТипСтатус
arXiv arxiv eprint

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

Пример
1612.00008v1
Строковый (без форматирования)обязательный
arXiv classclass

arXiv classification, for post-2007 ids

Строковый (без форматирования)необязательный
Authorauthor author1

Complete name of the first author

Строковый (без форматирования)необязательный
First namefirst first1 given given1

First name of first author

Строковый (без форматирования)предложенный
Last namelast last1 surname surname1

Last name of first author

Строковый (без форматирования)предложенный
Author 2's first namefirst2 given2

First name of second author

Строковый (без форматирования)необязательный
Author 2's last namelast2 surname2

Last name of second author

Строковый (без форматирования)необязательный
Author 2author2

Full name of second author

Строковый (без форматирования)необязательный
Author's articleauthor-link author-link1 author1-link

Title of the Wikipedia article about the first author

Имя страницынеобязательный
Author 2's articleauthor-link2 author2-link

Title of Wikipedia article about the second author

Имя страницынеобязательный
Titletitle

Title of the paper cited

Строковый (без форматирования)предложенный
collaborationcollaboration

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

Строковый (без форматирования)необязательный
Datedate

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

Строковый (без форматирования)необязательный
Date format for publication datesdf

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

Пример
dmy
Строковый (без форматирования)необязательный
Translated titletrans-title

English translation of title

Строковый (без форматирования)необязательный
Language(s)language

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

Строковый (без форматирования)необязательный

External links[править код]

Ошибка Lua в Модуль:Navbox на строке 353: attempt to index local 'listText' (a nil value).