Template:Mathematician data
From Wikipedia, the free encyclopedia
This subpage contains data about Mathematician data which is used by the Mathematics WikiProject to produce tables of mathematicians. Edit this page to add or update the sortable name (sortname), date of birth or death (dates) and field (contribs) of Mathematician data.
- Name: {{{sortname}}}
- Dates: {{{dates}}}
- Contribs: {{{contribs}}}
This template is used in /Data subpages of mathematician talk pages. These store data used by the Mathematics WikiProject to produce sortable tables of mathematicians. The syntax is
- {{Mathematician data|{{{key}}}|name= |dates= |contribs= }}
[edit] Usage of /Data subpages
- {{Talk:Johannes Kepler/Data|key=sortname}}
- Kepler, Johannes
- {{Talk:Johannes Kepler/Data|key=dates}}
- 1571 – 1630
- {{Talk:Johannes Kepler/Data|key=contribs}}
- Mathematical physics: celestial mechanics
Without any parameter, {{Talk:Johannes Kepler/Data}} produces:
This subpage contains data about Mathematician data which is used by the Mathematics WikiProject to produce tables of mathematicians. Edit this page to add or update the sortable name (sortname), date of birth or death (dates) and field (contribs) of Mathematician data.
- Name: Kepler, Johannes
- Dates: 1571 – 1630
- Contribs: Mathematical physics: celestial mechanics
[edit] Dates before 1000AD
For dates before 1000AD the normal sort order does not work and a sortdates key is used to provide a correct sort order. This is hidden in a <span style="display:none"> tag in the mathematician table.
For BC/BCE dates calculate d = 999 - abs(BCE date) and set sortdates=&d
Hence Aristotle 384 – 322 BCE becomes
{{Mathematician data|{{{key}}} |dates=384 – 322 BCE |sortdates=&615 |sortname= Aristotle |contribs= }}
Similarly for dates between 0 AD an 999 AD extra 0's need to be added. For Ptolemy 90 - 168 AD set sortdates=0090
{{Mathematician data|{{{key}}} |dates=90 - 168 |sortdates=0090 |sortname= Ptolemy |contribs= }}