Template:Arxiv: Difference between revisions
Appearance
Content deleted Content added
Ack! Revert bug while I fix it! |
use interwiki instead of external link |
||
Line 1: | Line 1: | ||
[[arXiv]]:[<!-- |
[[arXiv]]:[[<!-- |
||
--> |
-->arXiv:<!-- |
||
-->{{#if: {{{archive|{{{2|}}}}}}<!-- |
-->{{#if: {{{archive|{{{2|}}}}}}<!-- |
||
-->| {{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
-->| {{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
||
-->| {{{id|{{{1}}}}}} }} |
-->| {{{id|{{{1}}}}}} }} |<!-- end iw link, start pipe trick |
||
-->{{#if: {{{archive|{{{2|}}}}}}<!-- |
-->{{#if: {{{archive|{{{2|}}}}}}<!-- |
||
-->| {{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
-->| {{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!-- |
||
-->| {{{id|{{{1}}}}}} }}<!-- |
-->| {{{id|{{{1}}}}}} }}<!-- |
||
-->]<!-- end of external link |
-->]]<!-- end of external link |
||
--><noinclude> |
--><noinclude> |
||
{{template doc}} |
{{template doc}} |
Revision as of 07:16, 7 October 2007
arXiv:[[arXiv:{{{1}}} |{{{1}}}]]
![]() | 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}}
The parameters have the following meaning:
|1=
specifies the ID of the particular entry|class=
specifies the 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.
Examples
Markup | Renders as |
---|---|
{{arXiv|cs/0005003}} |
|
{{arXiv|0704.0001|class=hep-ph}} |
|
{{arXiv|1501.00492|class=astro-ph.SR}} |
|
Citation Style 1 and Citation Style 2 templates include a |arxiv=
parameter with the same function.
See also
- {{biorxiv}}
- {{medrxiv}}
- {{Cite arXiv}}
- {{Catalog lookup link}}