Difference between revisions of "Template:Cite arXiv"
Jump to navigation
Jump to search
imported>Ligulem (replacing call to citepaper version) |
(Added documentation, updated template to use new (post-April 2007) arXiv identifier format. Can't preview template changes, so crossing my fingers and hoping...) |
||
Line 1: | Line 1: | ||
− | {{{author}}} ({{{year}}}). "[http://www.arxiv.org/abs/{{{eprint}}} {{{title}}}] | + | {{#if:{{{authorlink|}}} |
+ | |[[{{{authorlink}}}|{{{author}}}]] | ||
+ | |{{{author}}} | ||
+ | }}{{#if:{{{year|}}} | ||
+ | | ({{{year}}}) | ||
+ | }}. "[http://www.arxiv.org/abs/{{{eprint}}}{{{version|}}} {{{title}}}]" arxiv:{{{eprint}}}{{{version|}}}{{#if:{{{class|}}} | ||
+ | | [{{{class}}}] | ||
+ | }}{{#if:{{{accessdate|}}} | ||
+ | |. Retrieved on [[{{{accessdate}}}]] | ||
+ | }}.<noinclude> | ||
+ | |||
+ | '''cite arXiv''' is for formatting references to preprints at the [[arXiv]]. It is fairly basic and could probably use attention. It links to the abstract at <tt><nowiki>http://www.arxiv.org/abs/</nowiki><tt>''eprint''. | ||
+ | |||
+ | ; Common parameters, horizontal format | ||
+ | <tt><nowiki>{{cite arXiv |author= |authorlink= |eprint= |title= |class= |year= |version= |accessdate= }}</nowiki></tt> | ||
+ | |||
+ | *'''author''': Author. Mandatory. | ||
+ | *'''authorlink''': Name of author's wikipedia page. Will be used to make author name a link, if present. Optional. | ||
+ | *'''eprint''': Eprint identifier, without any "arXiv:" prefix. Mandatory. Prior to April 2007, the identifiers included a classification, an optional two-letter subdivision, and a 7-digit YYMMNNN uear, 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. | ||
+ | *'''class''': arXiv classification, e.g. hep-th. Optional. To be used only with new-style eprint identifiers, that do not include the classification. | ||
+ | *'''title''': Title. Mandatory. | ||
+ | *'''year''': Year of publication. Optional. | ||
+ | *'''version''': arXiv version, including leading "v", e.g. "v1". Optional. | ||
+ | *'''accessdate''': Date of web access. Optional, but required by many citation standards. | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | *<tt><nowiki> | ||
+ | {{cite arXiv | ||
+ | |author=George A.J. Sparling | ||
+ | |eprint=gr-qc/0610068 | ||
+ | |title=Spacetime is spinorial; new dimensions are timelike | ||
+ | |year=2006 | ||
+ | |version=v1 | ||
+ | }} | ||
+ | </nowiki></tt> | ||
+ | :→ {{cite arXiv | ||
+ | |author=George A.J. Sparling | ||
+ | |eprint=gr-qc/0610068 | ||
+ | |title=Spacetime is spinorial; new dimensions are timelike | ||
+ | |year=2006 | ||
+ | |version=v1 | ||
+ | }} | ||
+ | *<tt><nowiki> | ||
+ | {{cite arXiv | ||
+ | |author=Tom Leinster | ||
+ | |eprint=0707.0835 | ||
+ | |class=math.CT | ||
+ | |title=The Euler characteristic of a category as the sum of a divergent series | ||
+ | |year=2007 | ||
+ | }} | ||
+ | </nowiki></tt> | ||
+ | :→ {{cite arXiv | ||
+ | |author=Tom Leinster | ||
+ | |eprint=0707.0835 | ||
+ | |class=math.CT | ||
+ | |title=The Euler characteristic of a category as the sum of a divergent series | ||
+ | |year=2007 | ||
+ | }} | ||
+ | == References == | ||
+ | *[http://arxiv.org/help/arxiv_identifier Understanding the arXiv identifier] | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 04:23, 7 July 2007
{{{author}}}. "{{{title}}}" arxiv:{{{eprint}}}.
cite arXiv is for formatting references to preprints at the arXiv. It is fairly basic and could probably use attention. It links to the abstract at http://www.arxiv.org/abs/eprint.
- Common parameters, horizontal format
{{cite arXiv |author= |authorlink= |eprint= |title= |class= |year= |version= |accessdate= }}
- author: Author. Mandatory.
- authorlink: Name of author's wikipedia page. Will be used to make author name a link, if present. Optional.
- eprint: Eprint identifier, without any "arXiv:" prefix. Mandatory. Prior to April 2007, the identifiers included a classification, an optional two-letter subdivision, and a 7-digit YYMMNNN uear, 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.
- class: arXiv classification, e.g. hep-th. Optional. To be used only with new-style eprint identifiers, that do not include the classification.
- title: Title. Mandatory.
- year: Year of publication. Optional.
- version: arXiv version, including leading "v", e.g. "v1". Optional.
- accessdate: Date of web access. Optional, but required by many citation standards.
Examples
- {{cite arXiv |author=George A.J. Sparling |eprint=gr-qc/0610068 |title=Spacetime is spinorial; new dimensions are timelike |year=2006 |version=v1 }}
- → George A.J. Sparling (2006). "Spacetime is spinorial; new dimensions are timelike" arxiv:gr-qc/0610068v1.
- {{cite arXiv |author=Tom Leinster |eprint=0707.0835 |class=math.CT |title=The Euler characteristic of a category as the sum of a divergent series |year=2007 }}
- → Tom Leinster (2007). "The Euler characteristic of a category as the sum of a divergent series" arxiv:0707.0835 [math.CT].
References