Template:Mathematician data/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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= }}

Usage of /Data subpages

[edit source]

Without any parameter, {{Talk:Johannes Kepler/Data}} produces:

Talk:Johannes Kepler/Data

Dates before 1000AD

[edit source]

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 1 AD and 999 AD extra 0s need to be added. For Ptolemy 90 - 168 AD set sortdates=0090

{{Mathematician data|{{{key}}}
|dates=90 - 168 
|sortdates=0090
|sortname= Ptolemy
|contribs= 
}}