Template:Infobox scientist: Difference between revisions

From WikiMD's Medical Encyclopedia

CSV import
Tag: Reverted
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<div style="border: 1px solid #a2a9b1; background-color: #f9f9f9; padding: 5px; float: right; clear: right; margin: 0 0 1em 1em; width: 22em; font-size: 90%;">


{{Infobox
<!-- Title -->
| name               =
<div style="background-color: #f8f9fa; text-align: center; font-weight: bold; font-size: 110%;">
| image              =
{{{name|Unnamed person}}}
| image_size          =
</div>
| alt                =
| caption            =
| birth_date          =
| birth_place        =
| death_date          =
| death_place        =
| nationality        =
| fields              =
| workplaces          =
| alma_mater          =
| doctoral_advisor    =
| doctoral_students  =
| known_for          =
| awards              =
| signature          =
}}


<!-- Template documentation -->
<!-- Image -->
<noinclude>
{{#if: {{{image|}}} |
{{documentation}}
<div style="text-align: center; margin: 5px 0;">
[[{{{image}}}]]
</div>}}


== Usage ==
<!-- Caption -->
This template is used to create an infobox for a scientist. It should be placed at the top of the article.
{{#if: {{{caption|}}} |
<div style="text-align: center; font-size: 90%;">
{{{caption}}}
</div>}}


== Parameters ==
<!-- Personal Information -->
* '''name''': The full name of the scientist.
<table style="width: 100%; border-spacing: 0; margin: 0; padding: 0; text-align: left;">
* '''image''': An image of the scientist (use the file name, e.g., "Example.jpg").
{{#if: {{{birth_name|{{{Birth_name|{{{BIRTH_NAME|}}}}}}}}} |
* '''image_size''': The size of the image (optional).
<tr><th style="padding: 5px; text-align: left;">Birth name</th><td style="padding: 5px;">{{{birth_name|{{{Birth_name|{{{BIRTH_NAME|}}}}}}}}}</td></tr> }}
* '''alt''': Alt text for the image (optional).
* '''caption''': A caption for the image (optional).
* '''birth_date''': The birth date of the scientist.
* '''birth_place''': The birth place of the scientist.
* '''death_date''': The death date of the scientist (if applicable).
* '''death_place''': The death place of the scientist (if applicable).
* '''nationality''': The nationality of the scientist.
* '''fields''': The fields of study the scientist is known for.
* '''workplaces''': The institutions where the scientist has worked.
* '''alma_mater''': The universities or colleges the scientist attended.
* '''doctoral_advisor''': The doctoral advisor of the scientist (if applicable).
* '''doctoral_students''': Notable doctoral students of the scientist (if applicable).
* '''known_for''': What the scientist is known for.
* '''awards''': Awards received by the scientist.
* '''signature''': An image of the scientist's signature (use the file name, e.g., "Signature.jpg").


== Example ==
{{#if: {{{birth_date|{{{Birth_date|{{{BIRTH_DATE|}}}}}}}}} |
<pre>
<tr><th style="padding: 5px; text-align: left;">Birth date</th><td style="padding: 5px;">{{{birth_date|{{{Birth_date|{{{BIRTH_DATE|}}}}}}}}}</td></tr> }}
{{Infobox scientist
| name                = Albert Einstein
| image              = Albert_Einstein_1921.jpg
| image_size          = 200px
| alt                =
| caption            = Einstein in 1921
| birth_date          = {{birth date|1879|3|14|df=y}}
| birth_place        = Ulm, Kingdom of Württemberg, German Empire
| death_date          = {{death date and age|1955|4|18|1879|3|14|df=y}}
| death_place        = Princeton, New Jersey, U.S.
| nationality        = German, Swiss, American
| fields              = Physics
| workplaces          = [[University of Zurich]], [[Prussian Academy of Sciences]], [[Institute for Advanced Study]]
| alma_mater          = [[ETH Zurich]]
| doctoral_advisor    = [[Alfred Kleiner]]
| doctoral_students  = [[Ernst G. Straus]], [[Nathan Rosen]]
| known_for          = [[Theory of relativity]], [[E=mc²]]
| awards              = [[Nobel Prize in Physics]] (1921)
| signature          = Albert_Einstein_Signature.svg
}}
</pre>


== See also ==
{{#if: {{{birth_place|{{{Birth_place|{{{BIRTH_PLACE|}}}}}}}}} |
* [[Wikipedia:WikiProject Biography]]
<tr><th style="padding: 5px; text-align: left;">Birth place</th><td style="padding: 5px;">{{{birth_place|{{{Birth_place|{{{BIRTH_PLACE|}}}}}}}}}</td></tr> }}
* [[Wikipedia:Manual of Style/Infoboxes]]


[[Category:Infobox templates|Scientist]]
{{#if: {{{death_date|{{{Death_date|{{{DEATH_DATE|}}}}}}}}} |
[[Category:Science templates]]
<tr><th style="padding: 5px; text-align: left;">Died</th><td style="padding: 5px;">{{{death_date|{{{Death_date|{{{DEATH_DATE|}}}}}}}}}</td></tr> }}
</noinclude>
 
{{#if: {{{death_place|{{{Death_place|{{{DEATH_PLACE|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Place of death</th><td style="padding: 5px;">{{{death_place|{{{Death_place|{{{DEATH_PLACE|}}}}}}}}}</td></tr> }}
 
{{#if: {{{nationality|{{{Nationality|{{{NATIONALITY|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Nationality</th><td style="padding: 5px;">{{{nationality|{{{Nationality|{{{NATIONALITY|}}}}}}}}}</td></tr> }}
 
{{#if: {{{occupation|{{{Occupation|{{{OCCUPATION|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Occupation</th><td style="padding: 5px;">{{{occupation|{{{Occupation|{{{OCCUPATION|}}}}}}}}}</td></tr> }}
 
{{#if: {{{known_for|{{{Known_for|{{{KNOWN_FOR|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Known for</th><td style="padding: 5px;">{{{known_for|{{{Known_for|{{{KNOWN_FOR|}}}}}}}}}</td></tr> }}
 
{{#if: {{{spouse|{{{Spouse|{{{SPOUSE|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Spouse(s)</th><td style="padding: 5px;">{{{spouse|{{{Spouse|{{{SPOUSE|}}}}}}}}}</td></tr> }}
 
{{#if: {{{children|{{{Children|{{{CHILDREN|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Children</th><td style="padding: 5px;">{{{children|{{{Children|{{{CHILDREN|}}}}}}}}}</td></tr> }}
 
{{#if: {{{awards|{{{Awards|{{{AWARDS|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Awards</th><td style="padding: 5px;">{{{awards|{{{Awards|{{{AWARDS|}}}}}}}}}</td></tr> }}
 
{{#if: {{{website|{{{Website|{{{WEBSITE|}}}}}}}}} |
<tr><th style="padding: 5px; text-align: left;">Website</th><td style="padding: 5px;"><a href="{{{website|{{{Website|{{{WEBSITE|}}}}}}}}}" target="_blank">Official website</a></td></tr> }}
</table>
 
</div>
</includeonly>

Latest revision as of 16:41, 24 April 2026