Template:MathGenealogy

From blackwiki
Revision as of 00:30, 16 October 2020 by imported>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.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{name}}} at the Mathematics Genealogy Project

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

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 Template:Property
{{MathGenealogy}}
{{MathGenealogy | name= NAME }}
{{MathGenealogy | title= NAME }}

Examples

Unnamed parameters

Usage
* {{MathGenealogy | 25274 | Sheila Adele Greibach }}
Output
URL
https://mathgenealogy.org/id.php?id=25274

Named parameters

Usage
* {{MathGenealogy | id= 38586 | name= Leonhard Euler }}
* {{MathGenealogy | id= 38586 | title= Leonhard Euler }}
Output
URL
https://mathgenealogy.org/id.php?id=38586

No parameters and Wikidata property not defined

Usage
* {{MathGenealogy}}
Output

TemplateData

Mathematics Genealogy Project link

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
idid 1

Mathematics Genealogy Project id

Numberoptional
titletitle name 2

optional display title

Stringoptional