Template:Cite OEIS/doc

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:


 * &rarr;

By default, this template generates a ref anchor which can be addressed using etc.

Before April 2018, this template was named.

Usage
The template requires the sequence number and optionally a name.


 * &rarr;


 * &rarr;

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


 * ... or use the parameter names sequencenumber, name:


 * &rarr;

Other parameters

 * 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: )
 * ref specifies an explicit ref anchor. Do not use 's default value of.
 * mode specifies the generated citation format. Default is, specify   for  -style.

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

TemplateData
{	"params": { "sequencenumber": { "aliases": [ "1"			],			"label": "Sequence number", "description": "The sequence number of the OEIS entry; \"A\" followed by six numbers", "example": "A100000", "type": "string" },		"name": { "aliases": [ "2"			],			"example": "Ishango bone", "type": "string" },		"subpage": { "type": "string", "suggestedvalues": [ "list", "search", "graph", "refs", "listen", "history", "text", "internal" ],			"default": "(none)" },		"editor-first": {}, "editor-last": { "default": "Sloane" },		"editor-link": { "default": "Neil Sloane" },		"ref": {}, "mode": {}, "access-date": { "aliases": [ "accessdate" ]		}	},	"description": "Creates a reference to the On-Line Encyclopedia of Integer Sequences (OEIS)", "format": "inline" }