Difference between revisions of "Template:MathGenealogy/doc"

From blackwiki
Jump to navigation Jump to search
imported>Axialroots
imported>Bamyers99
(Added TemplateData)
Line 11: Line 11:
  
 
If the 'title' parameter is not supplied, the name shown for the person will be that of the Wikipedia page where the template is included.
 
If the 'title' parameter is not supplied, the name shown for the person will be that of the Wikipedia page where the template is included.
 +
 +
==TemplateData==
 +
<templatedata>
 +
{
 +
"params": {
 +
"id": {
 +
"aliases": [
 +
"1"
 +
],
 +
"label": "id",
 +
"description": "Mathematics Genealogy Project id",
 +
"type": "number",
 +
"required": true
 +
},
 +
"title": {
 +
"aliases": [
 +
"name",
 +
"2"
 +
],
 +
"label": "title",
 +
"description": "optional display title",
 +
"type": "string"
 +
}
 +
},
 +
"description": "Mathematics Genealogy Project link",
 +
"format": "inline"
 +
}
 +
</templatedata>
  
 
==See also==
 
==See also==

Revision as of 22:28, 17 March 2016

Usage

{{MathGenealogy|id=38586}}

Produces: Template:PAGENAMEBASE at the Mathematics Genealogy ProjectScript error: No such module "EditAtWikidata".

{{MathGenealogy|id=38586|title=Leonhard  Euler}}

Produces: Leonhard Euler at the Mathematics Genealogy ProjectScript error: No such module "EditAtWikidata".

If the 'title' parameter is not supplied, the name shown for the person will be that of the Wikipedia page where the template is included.

TemplateData

Mathematics Genealogy Project link

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
idid 1

Mathematics Genealogy Project id

Numberrequired
titletitle name 2

optional display title

Stringoptional

See also