Template:Infobox person: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Template:Infobox biography vcard -->
<!-- Template:Infobox biography vcard -->
{| class="infobox biography-infobox" style="float:right; clear:right; margin:0 0 1em 1em; width:320px; font-size:95%; border:1px solid #aaa; background:#fff;"
{| class="infobox biography-infobox vcard" style="float:right; clear:right; margin:0 0 1em 1em; width:320px; font-size:95%; border:1px solid #aaa; background:#fff;"
|+ style="font-size:130%; font-weight:bold; padding:8px; text-align:center; background:#f8f8f8;" | {{{name|== Person Name ==}}}
|+ style="font-size:130%; font-weight:bold; padding:8px; text-align:center; background:#f8f8f8;" | {{{name|Person name}}}
|-
|-
| colspan="2" style="text-align:center; padding:6px;" |  
| colspan="2" style="text-align:center; padding:6px;" |
{{#if:{{{image|}}}|
{{#if:{{{image|}}}
<div style="margin:4px 0;">[[File:{{{image}}}|250px]]</div>
| <div style="margin:4px 0;">[[File:{{{image}}}|250px]]</div>
{{#if:{{{caption|}}}|<div style="font-size:90%; color:#555;">{{{caption}}}</div>}}
{{#if:{{{caption|}}}
| <div style="font-size:90%; color:#555;">{{{caption}}}</div>
}}
}}
}}
|-
|-
! style="padding:6px 8px; background:#f2f2f2; width:40%;" | Born
! style="padding:6px 8px; background:#f2f2f2; width:40%;" | Born
| style="padding:6px 8px;" | {{{birth_date|}}}<br />{{{birth_place|}}}
| style="padding:6px 8px;" | {{{birth_date|}}}<br />{{{birth_place|}}}
|-
|-{{#if:{{{death_date|}}}
! style="padding:6px 8px; background:#f2f2f2;" | Died
! style="padding:6px 8px; background:#f2f2f2;" | Died
| style="padding:6px 8px;" | {{{death_date|}}}<br />{{{death_place|}}}
| style="padding:6px 8px;" | {{{death_date|}}}<br />{{{death_place|}}}
|-
|-{{#if:{{{nationality|}}}
! style="padding:6px 8px; background:#f2f2f2;" | Nationality
! style="padding:6px 8px; background:#f2f2f2;" | Nationality
| style="padding:6px 8px;" | {{{nationality|}}}
| style="padding:6px 8px;" | {{{nationality|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Alma Mater
| style="padding:6px 8px;" | {{{alma_mater|}}}
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Occupation
! style="padding:6px 8px; background:#f2f2f2;" | Occupation
| style="padding:6px 8px;" | {{{occupation|}}}
| style="padding:6px 8px;" | {{{occupation|}}}
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Known for
! style="padding:6px 8px; background:#f2f2f2;" | Organization
| style="padding:6px 8px;" | {{{known_for|}}}
| style="padding:6px 8px;" | {{{organization|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Spouse
| style="padding:6px 8px;" | {{{spouse|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Children
| style="padding:6px 8px;" | {{{children|}}}
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Notable works
! style="padding:6px 8px; background:#f2f2f2;" | Honors
| style="padding:6px 8px;" | {{{notable_works|}}}
| style="padding:6px 8px;" | {{{honors|}}}
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Awards
! style="padding:6px 8px; background:#f2f2f2;" | Awards
| style="padding:6px 8px;" | {{{awards|}}}
| style="padding:6px 8px;" | {{{awards|}}}
|}
|}
<noinclude>
<noinclude>
==Usage==
{{documentation}}
This is the '''Infobox biography vcard''' template. 
It is used to summarize key information about a person in a structured sidebar.
 
=== Usage ===
Copy and paste the following into an article, then fill in the fields:
 
<pre>
<pre>
{{Infobox biography vcard
{{Infobox biography vcard
| name         = John Doe
| name         =  
| image       = Example.jpg
| image         =  
| caption     = Example caption
| caption       =  
| birth_date   = 1 January 1990
| birth_date   =  
| birth_place = New York, USA
| birth_place   =  
| death_date   = 5 May 2077
| death_date   =  
| death_place = Los Angeles, USA
| death_place   =  
| nationality  = American
| nationality   =
| occupation  = Software Engineer
| alma_mater    =
| known_for    = Open-source projects
| occupation    =
| notable_works= Project Alpha, Project Beta
| organization =  
| awards       = Best Dev Award 2020
| spouse        =  
| children      =  
| honors        =  
| awards       =  
}}
}}
</pre>
</pre>
=== Parameters ===
* <code>name</code> – Full name of the person
* <code>image</code> – Image filename without "File:"
* <code>caption</code> – Caption under the image
* <code>birth_date</code>, <code>birth_place</code> – Birth details
* <code>death_date</code>, <code>death_place</code> – Death details (if applicable)
* <code>nationality</code> – Nationality
* <code>alma_mater</code> – Educational institution(s)
* <code>occupation</code> – Main profession(s)
* <code>organization</code> – Affiliated organization(s)
* <code>spouse</code>, <code>children</code> – Family details
* <code>honors</code>, <code>awards</code> – Recognition received
[[Category:Infobox templates|Biography vcard]]
</noinclude>
</noinclude>