Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3). |
Navigation
Topics | Help • Register • News • History • How to • Sequences statistics • Template prototypes |
Difference between revisions of "Template:Infobox Person"
(new) |
(added PrimeGrid user) |
||
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
| MersForum= | | MersForum= | ||
| Top5000= | | Top5000= | ||
+ | | PrimeGrid= | ||
| OEIS= | | OEIS= | ||
| Website= | | Website= | ||
Line 132: | Line 133: | ||
{{#if:{{{Top5000|}}}| | {{#if:{{{Top5000|}}}| | ||
{{!}} [[The Prime Pages]] : {{!}}{{!}} [https://primes.utm.edu/bios/page.php?id={{{Top5000}}}] | {{!}} [[The Prime Pages]] : {{!}}{{!}} [https://primes.utm.edu/bios/page.php?id={{{Top5000}}}] | ||
+ | }} | ||
+ | {{!}}- | ||
+ | {{#if:{{{PrimeGrid|}}}| | ||
+ | {{!}} [[PrimeGrid]] : {{!}}{{!}} [https://www.primegrid.com/show_user.php?userid={{{PrimeGrid}}}] | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 146: | Line 151: | ||
{{#if:{{{Sortname|}}}| | {{#if:{{{Sortname|}}}| | ||
[[Category:Person|{{{Sortname}}}]]| | [[Category:Person|{{{Sortname}}}]]| | ||
− | [[Category:Person|{{#vardefine:_x|{{#rpos:{{PAGENAME}}|}}}}{{#sub:{{ | + | [[Category:Person|{{#vardefine:_x|{{#rpos:{{PAGENAME}}|}}}}{{#sub:{{PAGENAME}}|{{#expr:{{#var:_x}}+1}}}}, {{#sub:{{PAGENAME}}|0|{{#expr:{{#var:_x}}}}}}]]}}}}</includeonly> |
Latest revision as of 07:29, 5 August 2020
Contents
Purpose
Showing information of a Person.
Calling
{{Infobox Person | Name= | Sortname= | Born= | Died= | Nationality= | Wikipedia= | More= | User= | MersForum= | Top5000= | PrimeGrid= | OEIS= | Website= }}
Notes
- Parameter "Name" is required, others optional.
- If the name is given in ( ), it is taken as a nickname (real name unknown).
- Empty parameters are not displayed.
- If parameter "More" is empty, "Web data" is not shown.
- The category Person is set automatically.
- The sort key is generated from the page name (after last space is surename), for example:
- Euclid -> sorted as "Euclid"
- Peter Smith -> sorted as "Smith, Peter"
- Pierre de Fermat -> sorted as "Fermat, Pierre de"
- Parameter "Sortname" is given -> sorted as "<Sortname>"
Examples
{{Infobox Person | Name=Karsten Bonath | Nationality=German | More=y | User=Karbon | MersForum=2304 kar_bon | Top5000=756 Karsten Bonath | OEIS=Karsten_Bonath | Website=https://www.rieselprime.de/default.htm Homepage }}
Karsten Bonath | |
---|---|
Personal data : | |
Real name : | Karsten Bonath |
Nationality : | German |
Web data : | |
Prime-Wiki : | Karbon |
MersenneForum : | kar_bon |
The Prime Pages : | Karsten Bonath |
OEIS : | Karsten_Bonath |
Website : | Homepage |
{{Infobox Person | Name=Pierre de Fermat | Born=1607 | Died=1665-01-12 | Nationality=French | Wikipedia=Pierre de Fermat }}
Pierre de Fermat | |
---|---|
Personal data : | |
Real name : | Pierre de Fermat |
Date of birth : | 1607 |
Date of death : | 1665-01-12 |
Nationality : | French |
Wikipedia entry : | Pierre de Fermat |
{{Infobox Person | Name=(Ñüger) | Sortname=Nueger | More=y | MersForum=12345 nue_ger }}
(Ñüger) | |
---|---|
Personal data : | |
Nick name : | (Ñüger) |
Web data : | |
MersenneForum : | nue_ger |
- Note: The sortname is given, so this is taken as sort key.