Permanently protected template

Template:Arxiv: Difference between revisions

From Vigyanwiki
m (1 revision imported)
m (1 revision imported from alpha:Template:Arxiv)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 09:19, 22 December 2022

arXiv:{{{1}}}

Template documentation

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