Template:Infobox scientist: Difference between revisions
From WikiMD's Wellness Encyclopedia
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
| data3 = {{{patrons|}}} | | data3 = {{{patrons|}}} | ||
| label4 = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}|[[Thesis|Theses]]|[[Thesis]]}} | | label4 = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}|[[Thesis|Theses]]|[[Thesis]]}} | ||
| data4 = {{#if:{{{thesis1_title | | data4 = {{#if:{{{thesis1_title|}}}| | ||
* | * {{#if:{{{thesis1_url|}}}|[{{{thesis1_url}}} {{{thesis1_title}}}]|{{{thesis1_title}}}}} {{#if:{{{thesis1_year|}}|({{{thesis1_year}}})}}<br>}} | ||
{{#if:{{{thesis2_title|}}}| | |||
* {{#if:{{{thesis2_url|}}}|[{{{thesis2_url}}} {{{thesis2_title}}}]|{{{thesis2_title}}}}} {{#if:{{{thesis2_year|}}|({{{thesis2_year}}})}}}}}} | |||
| label5 = Doctoral advisor{{#if:{{{doctoral_advisors|}}}|s}} | | label5 = Doctoral advisor{{#if:{{{doctoral_advisors|}}}|s}} | ||
| data5 = {{{doctoral_advisors|{{{doctoral_advisor|}}}}}} | | data5 = {{{doctoral_advisors|{{{doctoral_advisor|}}}}}} | ||
| Line 49: | Line 49: | ||
* `author_abbreviation_bot` or `author_abbrev_bot` - Author abbreviation (botany). | * `author_abbreviation_bot` or `author_abbrev_bot` - Author abbreviation (botany). | ||
* `author_abbreviation_zoo` or `author_abbrev_zoo` - Author abbreviation (zoology). | * `author_abbreviation_zoo` or `author_abbrev_zoo` - Author abbreviation (zoology). | ||
=== Example === | === Example === | ||
<syntaxhighlight lang="mediawiki"> | |||
{{Infobox scientist | {{Infobox scientist | ||
| name = Albert Einstein | | name = Albert Einstein | ||
| field = Physics | | field = Physics | ||
| workplaces = Princeton University | | workplaces = Princeton University | ||
| | | thesis1_title = A New Determination of Molecular Dimensions | ||
| | | thesis1_year = 1905 | ||
| doctoral_advisors = Alfred Kleiner | | doctoral_advisors = Alfred Kleiner | ||
| author_abbreviation_bot = Einstein | | author_abbreviation_bot = Einstein | ||
}} | }} | ||
</syntaxhighlight> | |||
</noinclude> | </noinclude> | ||
Revision as of 18:22, 6 January 2025
Usage
This template provides an infobox for scientists without requiring Lua.
Parameters
- `name` - Name of the scientist.
- `field` or `fields` - Field(s) of expertise.
- `workplaces`, `work_institutions`, or `work_institution` - Workplaces or institutions.
- `patrons` - Patrons, if any.
- `thesis_title`, `thesis1_title`, `thesis2_title` - Title(s) of thesis.
- `thesis_url`, `thesis1_url`, `thesis2_url` - URL(s) for thesis.
- `thesis_year`, `thesis1_year`, `thesis2_year` - Year(s) of thesis.
- `doctoral_advisors` or `doctoral_advisor` - Doctoral advisor(s).
- `academic_advisors` - Academic advisors.
- `doctoral_students` - Doctoral students.
- `notable_students` - Other notable students.
- `author_abbreviation_bot` or `author_abbrev_bot` - Author abbreviation (botany).
- `author_abbreviation_zoo` or `author_abbrev_zoo` - Author abbreviation (zoology).
Example
{{Infobox scientist
| name = Albert Einstein
| field = Physics
| workplaces = Princeton University
| thesis1_title = A New Determination of Molecular Dimensions
| thesis1_year = 1905
| doctoral_advisors = Alfred Kleiner
| author_abbreviation_bot = Einstein
}}