Template:Arxiv: Difference between revisions
use arXiv: interwiki links instead of extlinks (fix regression from edit by Headbomb on 21:34, 3 March 2010) |
|||
Line 1: | Line 1: | ||
<!-- |
<!-- |
||
-->{{hide in print<!-- |
-->{{hide in print<!-- |
||
-->|[[arXiv]]:[ |
-->|[[arXiv]]:[[arXiv:<!-- |
||
-->{{#if:{{{archive|{{{2|}}}}}}<!-- |
-->{{#if:{{{archive|{{{2|}}}}}}<!-- |
||
-->|{{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
-->|{{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
||
-->|{{{id|{{{1}}}}}}<!-- |
-->|{{{id|{{{1}}}}}}<!-- |
||
-->}} |
-->}}|{{#if:{{{archive|{{{2|}}}}}}<!-- |
||
-->|{{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
-->|{{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
||
-->|{{{id|{{{1}}}}}}<!-- |
-->|{{{id|{{{1}}}}}}<!-- |
||
-->}}]<!-- |
-->}}]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{only in print<!-- |
-->{{only in print<!-- |
Revision as of 00:29, 5 October 2010
![]() | This template is intended for external links. It is not designed for use as a citation template for reliable sources. Please consider using {{Cite arXiv}} for citations. |
Purpose
Provides a uniform method of formatting arXiv links, and makes it simpler to update if the format of those links changes in future.
Usage
This template can be used in the following ways:
- {{arXiv|0123456}}
- {{arXiv|id=0123456}}
The parameters have the following meaning:
|1=
or|id=
or specifies the ID of the particular entry
Examples
Markup | Renders as |
---|---|
{{arXiv|cs/0005003}} |
|
{{arXiv|id=cs/0005003}} |
|
{{arXiv|0704.0001}} |
|
{{arXiv|id=0704.0001}} |
|
{{arXiv|1501.00492}} |
|
{{arXiv|id=1501.00492}} |
|
Citation Style 1 and Citation Style 2 templates include a |arxiv=
parameter with the same function.
Deprecated usage
- {{arXiv|arch-ive|0123456}}
- {{arXiv|archive=arch-ive|id=0123456}}
These calling sequences were used for before 1 April 2007 when the new identifiers that removed the archive class from the identifiers themselves.
The older entries can still be linked to by removing the delimiting "." and subject class or category specifier from the identifier and delimiting the remaining archive specifier and the rest of the identifier (the dated entry number) with a slash ("/").
The parameters have the following meaning:
|1=
or|archive=
specifies the arXiv archive (full list here) using the abbreviated code|2=
or|id=
specifies the ID of the particular entry
Markup | Renders as |
---|---|
{{arXiv|cs.DL|0005003}} |
|
{{arXiv|archive=cs.DL|id=0005003}} |
|
See also
- {{biorxiv}}
- {{medrxiv}}
- {{Cite arXiv}}
- {{Catalog lookup link}}