Template:PlanetMath reference/doc

From Vigyanwiki
< Template:PlanetMath reference
Revision as of 17:20, 17 November 2022 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is for adding a reference to an article in PlanetMath, a free community encyclopedia of mathematics.

Usage

Suppose you want to add a reference to PlanetMath's article on quotient rings. The title of this article is "quotient ring". Go to PlanetMath to figure out the required URL name, in this case `QuotientRing`, and use it as the `urlname` parameter value.

On the PlanetMath page, besides in the URL itself, you can find the required urlname value at the bottom of the page, under `Canonical name`. If you know only an approximate title, you can also search for it on https://planetmath.org/msc.html .

The code

* {{PlanetMath reference|urlname=QuotientRing|title=Quotient ring}}

will produce the link

  • "Quotient ring". PlanetMath.

PlanetMath used to use so-called object ids, but as of 2021-12-24 does not support these any more. For example, the object id of the "quotient ring" article used to be 470. Below the article, a list of attributes still gives a "numerical id", 18 in the "quotient ring" example. Apparently this numerical ID has no relationship to the old ID value. If this is correct, the "numeric id" can not be used to get existing id-style references on Wikipedia working again. This template still supports the id parameter, in the unchanged form that no longer works.

There are optional author, version and accessdate parameters

* {{PlanetMath reference|urlname=QuotientRing|title=Quotient ring|author= David Jao| version=13 | accessdate=14 April 2012}}

will produce

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

PlanetMath reference

[[Category:TemplateData documentation{{#translation:}}]]

A reference to a PlanetMath page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Canonical name of PlanetMath pageurlname

Canonical name as given in table on bottom of targeted PlanetMath page

Example
QuotientRing
Auto value
AsGivenNearBottomOfPlanetMathPage
Stringrequired
old PlanetMath idid

Deprecated. Former numerical PlanetMath page ID. Used to form the PlanetMath page URL.

Example
5815
Numberdeprecated
Titletitle 2

Human-readable title, the way it should appear in the Wikipedia article.

Example
Quotient ring
Stringsuggested
PlanetMath versionversion

If given, added after link to PlanetMath. Used to refer to a PlanetMath revision. It was necessary to form a complete PlanetMath URL. However, at the user level, the revision concept does not seem to exist any more. In particular, the revision is no longer needed to form the URL.

Example
13
Numberdeprecated
PlanetMath authorauthor

If given, shown before the content link. Main author of PlanetMath article, as given near bottom of PlanetMath page.

Example
mathwiz
Stringoptional
Access dateaccess-date accessdate

Date of last successful access to the PlanetMath page. If given, shown at end of entry.

Example
2021-12-23
Auto value
YYYY-mm-DD
Dateoptional

See also