This site is supported by donations to The OEIS Foundation.

Template:ArXiv/doc

From OeisWiki
Jump to: navigation, search

This documentation subpage contains instructions, categories, or other information for Template:ArXiv. [<Edit> Template:ArXiv]

[⧼Purge⧽ Template:ArXiv/doc]

The {{arXiv}} external link template provides a uniform method of formatting arXiv links, and makes it simpler to update if the format of those links changes in future.

Usage

For older preprints (until 31 March 2007) use old-style identifiers, i.e.

{{arXiv|archive=arch-ive|id=0123456}}
{{arXiv|arch-ive|0123456}}

For newer preprints (since 1 April 2007) use new-style identifiers, i.e.

{{arXiv|id=0123456}}
{{arXiv|0123456}}

The parameters have the following meaning:

  • archive: arXiv abbreviated code (full list) for the archive (old-style identifiers);
  • id: ID of the particular preprint.

Examples

Examples with valid input:

Code Result
{{arXiv|archive=cs.DL|id=0005003}} arXiv:cs.DL/0005003
{{arXiv|cs.DL|0005003}} arXiv:cs.DL/0005003
{{arXiv|id=0704.0001}} arXiv:0704.0001
{{arXiv|0704.0001}} arXiv:0704.0001

Examples with invalid input:

Code Result
{{arXiv}} arXiv:Missing ID parameter

Code

<noinclude>{{Documentation}}</noinclude><includeonly><!--
-->{{hide in print<!--
  -->|[[arXiv]]:[http://arxiv.org/abs/<!--
   -->{{#if:{{{archive|{{{2|}}}}}}<!--
     -->|{{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!--
     -->|{{{id|{{{1|Missing_ID_parameter}}}}}}<!--
   -->}} <!--
   -->{{#if:{{{archive|{{{2|}}}}}}<!--
     -->|{{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!--
     -->|{{{id|{{{1|Missing ID parameter}}}}}}<!--
   -->}}]<!--
-->}}<!--
-->{{only in print<!--
 -->|arXiv:<!--
  -->{{#if:{{{archive|{{{2|}}}}}}<!--
    -->|{{{archive|{{{1}}}}}}/{{{id|{{{2}}}}}}<!--
    -->|{{{id|{{{1|Missing ID parameter}}}}}}<!--
  -->}}<!--
-->}}</includeonly>

See also

External links