Изменения
Перейти к навигации
Перейти к поиску
-translator template data;
{{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}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{csdoc|lua|lua=yes}}
{{csdoc|cs1|lua=yes}}
{{csdoc|lead|preprints at [[arXiv]]}} It links to the abstract at <code><nowiki>http://www.arxiv.org/abs/</nowiki></code>''eprint''.
=== Usage ===
To use the template, you need only specify the '''arxiv''' or '''eprint''' parameter. Once you save the page, [[User:Citation bot|Citation bot]] will detect the citation and complete it automatically.
;Common parameters, horizontal format :
{{tji|cite arXiv|last:|first:|author-link:|date:|title:|eprint:|class:}}
;Common parameters, vertical format :
{{tj|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 [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=<nowiki>{{cite arXiv |last=Sparling |first=George A. J. |date=2006 |title=Spacetime is spinorial; new dimensions are timelike |eprint=gr-qc/0610068}}</nowiki>
|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=<nowiki>{{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}}</nowiki>
|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}}<!-- see limited list of parameters at [[Module:Citation/CS1/Whitelist]] -->
====Date====
{{csdoc|date|limited_param_list=yes}}<!-- see limited list of parameters at [[Module:Citation/CS1/Whitelist]] -->
====Title====
{{csdoc|title|title_format=quotes|link=no|limited_param_list=yes}}<!-- see limited list of parameters at [[Module:Citation/CS1/Whitelist]] -->
{{csdoc|language}}
== TemplateData ==
{{TemplateData header}}
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}
<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",
"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"
]
}
</templatedata>
== External links ==
* [https://arxiv.org/help/arxiv_identifier Understanding the arXiv identifier]
{{Citation Style 1}}
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Citation Style 1 templates|A]]
[[Category:Mathematics source templates|{{PAGENAME}}]]
}}</includeonly>
{{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}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{csdoc|lua|lua=yes}}
{{csdoc|cs1|lua=yes}}
{{csdoc|lead|preprints at [[arXiv]]}} It links to the abstract at <code><nowiki>http://www.arxiv.org/abs/</nowiki></code>''eprint''.
=== Usage ===
To use the template, you need only specify the '''arxiv''' or '''eprint''' parameter. Once you save the page, [[User:Citation bot|Citation bot]] will detect the citation and complete it automatically.
;Common parameters, horizontal format :
{{tji|cite arXiv|last:|first:|author-link:|date:|title:|eprint:|class:}}
;Common parameters, vertical format :
{{tj|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 [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=<nowiki>{{cite arXiv |last=Sparling |first=George A. J. |date=2006 |title=Spacetime is spinorial; new dimensions are timelike |eprint=gr-qc/0610068}}</nowiki>
|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=<nowiki>{{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}}</nowiki>
|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}}<!-- see limited list of parameters at [[Module:Citation/CS1/Whitelist]] -->
====Date====
{{csdoc|date|limited_param_list=yes}}<!-- see limited list of parameters at [[Module:Citation/CS1/Whitelist]] -->
====Title====
{{csdoc|title|title_format=quotes|link=no|limited_param_list=yes}}<!-- see limited list of parameters at [[Module:Citation/CS1/Whitelist]] -->
{{csdoc|language}}
== TemplateData ==
{{TemplateData header}}
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}
<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",
"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"
]
}
</templatedata>
== External links ==
* [https://arxiv.org/help/arxiv_identifier Understanding the arXiv identifier]
{{Citation Style 1}}
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Citation Style 1 templates|A]]
[[Category:Mathematics source templates|{{PAGENAME}}]]
}}</includeonly>