Template:Infobox person: Difference between revisions

Jump to navigation Jump to search
m Reverted edits by Wikicreator (talk) to last revision by 183.82.163.109
Tag: Rollback
No edit summary
 
Line 1: Line 1:
<!-- Template:Infobox biography vcard -->
<!-- Template:Infobox biography vcard -->
{| 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;"
{| 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|}}}
|+ style="font-size:130%; font-weight:bold; padding:8px; text-align:center; background:#f8f8f8;" | {{{name|Person name}}}
 
{{#if:{{{image|}}}|
|-
|-
| colspan="2" style="text-align:center; padding:6px;" |
| colspan="2" style="text-align:center; padding:6px;" |
[[File:{{{image}}}|250px]]
{{#if:{{{image|}}}
{{#if:{{{caption|}}}|<div style="font-size:90%; color:#555;">{{{caption}}}</div>}}
| <div style="margin:4px 0;">[[File:{{{image}}}|250px]]</div>
{{#if:{{{caption|}}}
| <div style="font-size:90%; color:#555;">{{{caption}}}</div>
}}
}}
}}
{{#if:{{{birth_date|}}}{{{birth_place|}}}|
|-
|-
! 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|}}}
 
{{#if:{{{death_date|}}}{{{death_place|}}}|
|-
! 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|}}}
 
{{#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|}}}
}}
{{#if:{{{alma_mater|}}}|
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Alma mater
! style="padding:6px 8px; background:#f2f2f2;" | Alma Mater
| style="padding:6px 8px;" | {{{alma_mater|}}}
| style="padding:6px 8px;" | {{{alma_mater|}}}
}}
{{#if:{{{occupation|}}}|
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Occupation
! style="padding:6px 8px; background:#f2f2f2;" | Occupation
| style="padding:6px 8px;" | {{{occupation|}}}
| style="padding:6px 8px;" | {{{occupation|}}}
}}
{{#if:{{{organization|}}}|
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Organization
! style="padding:6px 8px; background:#f2f2f2;" | Organization
| style="padding:6px 8px;" | {{{organization|}}}
| style="padding:6px 8px;" | {{{organization|}}}
}}
{{#if:{{{spouse|}}}|
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Spouse
! style="padding:6px 8px; background:#f2f2f2;" | Spouse
| style="padding:6px 8px;" | {{{spouse|}}}
| style="padding:6px 8px;" | {{{spouse|}}}
}}
{{#if:{{{children|}}}|
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Children
! style="padding:6px 8px; background:#f2f2f2;" | Children
| style="padding:6px 8px;" | {{{children|}}}
| style="padding:6px 8px;" | {{{children|}}}
}}
{{#if:{{{honors|}}}|
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Honors
! style="padding:6px 8px; background:#f2f2f2;" | Honors
| style="padding:6px 8px;" | {{{honors|}}}
| style="padding:6px 8px;" | {{{honors|}}}
}}
{{#if:{{{awards|}}}|
|-
|-
! 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>
{{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>
{{Infobox biography vcard
| name          =
| image        =
| caption      =
| birth_date    =
| birth_place  =
| death_date    =
| death_place  =
| nationality  =
| alma_mater    =
| occupation    =
| organization  =
| spouse        =
| children      =
| honors        =
| awards        =
}}
}}
</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>