This template creates a reference to the On-Line Encyclopedia of Integer Sequences (OEIS). Parameter |1= is the identifying A-number, |2= (optional) is the name of the sequence:

  • {{Cite OEIS|A100000|Ishango bone}} →
Sloane, N. J. A. (ed.). "Sequence A100000 (Ishango bone)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.


By default, this template generates a ref anchor which can be addressed using {{sfn|Sloane "sequence number"}} etc.

Before April 2018, this template was named {{SloanesRef}}.

Usage edit

The template requires the sequence number and optionally a name.

  • {{Cite OEIS|A100000}}
Sloane, N. J. A. (ed.). "Sequence A100000". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.


  • {{Cite OEIS|A100000|Ishango bone}}
Sloane, N. J. A. (ed.). "Sequence A100000 (Ishango bone)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.


When in doubt, or the template does not show as expected: add |1, 2= (required when the input contains an "=" sign):

  • {{Cite OEIS|1=A100000|2=Ishango bone}} →
Sloane, N. J. A. (ed.). "Sequence A100000 (Ishango bone)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.


... or use the parameter names |sequencenumber=, |name=:
  • {{Cite OEIS|sequencenumber=A100000|name=Ishango bone}} →
Sloane, N. J. A. (ed.). "Sequence A100000 (Ishango bone)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.

Other parameters edit

  • |formalname= -- |name= might be shortened for convenience. |formalname= can then hold the longer, formal OEIS name for future use.
  • |accessdate=
To overwrite "Sloane, N.J.A. (ed.).":
  • |editor-link=
  • |editor-first=
  • |editor-last= (this also changes the default ref anchor accordingly: {{sfn|editor-last "sequence number"}})
  • |ref= specifies an explicit ref anchor. Do not use cite web's default value of harv.
  • |mode= specifies the generated citation format. Default is cs1, specify cs2 for citation-style.

OEIS subpages edit

The OEIS site can have several subpages with a sequence page. These can be linked using |subpage=. Options:

|subpage= (default) Sloane, N. J. A. (ed.). "Sequence A046970". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
|subpage=list Sloane, N. J. A. (ed.). "Sequence A046970: list". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
|subpage=graph Sloane, N. J. A. (ed.). "Sequence A046970: graph". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
|subpage=refs Sloane, N. J. A. (ed.). "Sequence A046970: references". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
|subpage=history Sloane, N. J. A. (ed.). "Sequence A046970: history". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
|subpage=text Sloane, N. J. A. (ed.). "Sequence A046970: text". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
|subpage=internal Sloane, N. J. A. (ed.). "Sequence A046970: internal format". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
|subpage=listen Sloane, N. J. A. (ed.). "Sequence A046970: into music (midi audio)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.

Tracking category edit

OEIS reference templates edit

Code Result Example Usage
{{OEIS |A007318}} (sequence A007318 in the OEIS) Typically follows a list of entries:

"2, 3, 5, 7, 11, ... (sequence A000040 in the OEIS)."

Usage
{{Cite OEIS |A007318 |Pascal's triangle read by rows}} Sloane, N. J. A. (ed.). "Sequence A007318 (Pascal's triangle read by rows)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation. Cite, Further reading, <ref> Usage
{{OEIS el |A007318 |Pascal's triangle read by rows}} OEIS sequence A007318 (Pascal's triangle read by rows) External links section Usage
{{OEIS link|A007318}} A007318 Link to sequence page only, used in tables where OEIS link is at the top of the column. Usage
{{OEIS2C|A007318}} OEISA007318 Shorter version of OEIS Usage
[[oeis:A007318 |Pascal's triangle read by rows]] Pascal's triangle read by rows (Inter-wiki link with no template)
See also: Category:Pages using OEIS references with unknown parameters (40) · {{Infobox integer sequence}}

TemplateData edit

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Cite OEIS in articles based on its TemplateData.

TemplateData for Cite OEIS

Creates a reference to the On-Line Encyclopedia of Integer Sequences (OEIS)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Sequence numbersequencenumber 1

The sequence number of the OEIS entry; "A" followed by six numbers

Example
A100000
Stringoptional
namename 2

no description

Example
Ishango bone
Stringoptional
subpagesubpage

no description

Suggested values
list search graph refs listen history text internal
Default
(none)
Stringoptional
editor-firsteditor-first

no description

Unknownoptional
editor-lasteditor-last

no description

Default
Sloane
Unknownoptional
editor-linkeditor-link

no description

Default
Neil Sloane
Unknownoptional
refref

no description

Unknownoptional
modemode

no description

Unknownoptional
access-dateaccess-date accessdate

no description

Unknownoptional

References