Anonymous user
Template:Cite arXiv/doc: Difference between revisions
no edit summary
Richardpruen (talk | contribs) m (1 revision imported: Wikipedia article on Nicotine templates needed) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{High-use|2600}} | {{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]]) --> | <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) --> | ||
{{csdoc|lua|lua=yes}} | {{csdoc|lua|lua=yes}} | ||
{{csdoc|cs1|lua=yes}} | {{csdoc|cs1|lua=yes}} | ||
{{csdoc|lead|preprints at | {{csdoc|lead|preprints at [[arXiv]]}} It links to the abstract at <code><nowiki>http://www.arxiv.org/abs/</nowiki></code>''eprint''. | ||
=== Usage === | === Usage === | ||
Line 11: | Line 14: | ||
;Common parameters, horizontal format : <code><nowiki>{{cite arXiv |last= |first= |author-link= |eprint= |title= |class= |date= }}</nowiki></code> | ;Common parameters, horizontal format : <code><nowiki>{{cite arXiv |last= |first= |author-link= |eprint= |title= |class= |date= }}</nowiki></code> | ||
* '''arxiv''' or '''eprint''' '''( | ;Common parameters, vertical format : | ||
<pre style="margin:0px; border:none;"> | |||
{{cite arXiv | |||
| last = | |||
| first = | |||
| author-link= | |||
| eprint = | |||
| title = | |||
| class = | |||
| date = | |||
}} | |||
</pre> | |||
* '''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. | * '''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. | * '''title''': Title of the cited paper. | ||
Line 45: | Line 60: | ||
== TemplateData == | == TemplateData == | ||
{{TemplateData header}} | {{TemplateData header}} | ||
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 97: | Line 113: | ||
"aliases": [ | "aliases": [ | ||
"author-link1", | "author-link1", | ||
"author1-link" | |||
"author1-link | |||
], | ], | ||
"label": "Author's article", | "label": "Author's article", | ||
Line 129: | Line 142: | ||
"author-link2": { | "author-link2": { | ||
"aliases": [ | "aliases": [ | ||
"author2-link" | |||
"author2-link | |||
], | ], | ||
"label": "Author 2's article", | "label": "Author 2's article", | ||
Line 191: | Line 202: | ||
"translator2-first" | "translator2-first" | ||
], | ], | ||
"label": "Translator 2's | "label": "Translator 2's first name", | ||
"description": "Translator 2's | "description": "Translator 2's first name", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 213: | Line 224: | ||
], | ], | ||
"label": "Translator 2's article", | "label": "Translator 2's article", | ||
"description": "Title of | "description": "Title of Wikipedia article about second translator", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"date": { | "date": { | ||
"label": "Date", | "label": "Date", | ||
"description": "Date of the source being cited. Use n.d. for no date, and c. for inexact dated | "description": "Date of the source being cited. Use n.d. for no date, and c. for inexact dated.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 243: | Line 245: | ||
"language": { | "language": { | ||
"label": "Language(s)", | "label": "Language(s)", | ||
"description": "Language(s) the source is written in. Separate by commas, and do not include 'and' | "description": "Language(s) the source is written in. Separate by commas, and do not include 'and'.", | ||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"format": " | "format": "{{_ |_=_}}", | ||
"description": "Formats a citation to a paper with an arXiv id", | "description": "Formats a citation to a paper with an arXiv id", | ||
"paramOrder": [ | "paramOrder": [ | ||
"arxiv", | "arxiv", | ||
"class", | "class", | ||
"author", | "author", | ||
"first", | "first", | ||
Line 279: | Line 274: | ||
"collaboration", | "collaboration", | ||
"date", | "date", | ||
"df", | "df", | ||
"trans-title", | "trans-title", |