Template:MR/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Makes a link to MathSciNet from the Mathematical Reviews review identifier. The identifier is rendered using much of the same code that renders |mr= in Citation Style 1 and Citation Style 2 templates except that this template can be used to render multiple MR identifiers.

This template accepts these parameters:

|idn= – an MR identifier; the |idn= parameter name is not required but is recommended for clarity when the template has multiple identifiers
|link= – accepts a single value no; for use when it is the 'MR' prefix in the rendering should not be linked
|plainlink= – accepts a single value yes; suppresses the 'MR' prefix in the rendering
|leadout= – defines the conjunction between the last two identifiers in the rendered list; defaults to ,

The basic form is:

{{mr|id=396410}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

To unlink the prefix:

{{mr|id=396410|link=no}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

To suppress the prefix:

{{mr|id=396410|plainlink=yes}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Multiple identifiers:

{{MR|9016|37277|69787|122834|177027|263581}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Multiple identifiers with |leadout=, :

{{MR|9016|37277|69787|122834|177027|263581|leadout=and}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Old-style MR identifiers like {{MR|96d:11071}}, which resolves to Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)., are not supported by this template. Just use Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). directly.

For instructions on how to use Wikipedia to automatically expand an MR into a full reference complete with article title, author(s), date, journal name, volume, issue, page numbers, etc., please see User:Citation bot/use.

Tracking categories

[edit source]
  • Category:Pages with MR errorserror category for {{mr}} templates that show an error message
  • Category:MR formatmaintenance category for {{mr}} templates with an identifier that has an extraneous 'MR' prefix.

Because this template uses the same code as cs1|2 templates, error and maintenance visibility is controlled the same way. See Help:CS1 errors § Controlling error message display.

Citation Style 1 and Citation Style 2 templates include a |mr= parameter with the same function.

See also

[edit source]