Difference between revisions of "Template:MathGenealogy/doc"
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
| This is a documentation subpage for Template:MathGenealogy. It contains usage information, categories and other content that is not part of the original template page. |
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | Mathematics Genealogy Project id | Number | required |
| title | title name 2 | optional display title | String | optional |
See also
- {{PhDTree}}