Template:MathGenealogy
Revision as of 20:30, 15 October 2020 by Wikipedia>Zyxw (Trim leading or trailing spaces in unnamed parameter 2. Add fix for empty "name" or "title" parameter. Display error message if template missing ID and not present in Wikidata. Tested first with /sandbox and /testcases.)
{{{name}}} at the Mathematics Genealogy Project
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
This template is used on approximately 6,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
If the 'name' or 'title' parameter is not supplied, the name shown for the person will be that of the Wikipedia page where the template is included.
- Unnamed parameters
{{MathGenealogy | ID }}
{{MathGenealogy | ID | NAME }}
- Named parameters
{{MathGenealogy | id= ID }}
{{MathGenealogy | id= ID | name= NAME }}
{{MathGenealogy | id= ID | title= NAME }}
- Using Wikidata property (P549)
{{MathGenealogy}}
{{MathGenealogy | name= NAME }}
{{MathGenealogy | title= NAME }}
Examples
Unnamed parameters
- Usage
* {{MathGenealogy | 25274 | Sheila Adele Greibach }}
- Output
Named parameters
- Usage
* {{MathGenealogy | id= 38586 | name= Leonhard Euler }}
* {{MathGenealogy | id= 38586 | title= Leonhard Euler }}
- Output
No parameters and Wikidata property not defined
- Usage
* {{MathGenealogy}}
- Output
-
- MathGenealogy at the Mathematics Genealogy ProjectLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
See also
- {{ZbMATH}}
TemplateData
Mathematics Genealogy Project link
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | Mathematics Genealogy Project id | Number | optional |
title | title name 2 | optional display title | String | optional |