Template:Arxiv/doc

From Vigyanwiki
< Template:Arxiv
Revision as of 00:36, 4 July 2021 by wikipedia>Run n Fly (→‎See also: +{{medrxiv}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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