Template:Infobox person: Difference between revisions

From Tigerjek
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:Infobox biography vcard (clean: hides empty fields) -->
{| 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;"


<!-- Title (only shown when name provided) -->
{{#if:{{{name|}}}
|+ style="font-size:130%; font-weight:bold; padding:8px; text-align:center; background:#f8f8f8;" | {{{name}}}
}}


<!-- Image -->
<!-- Template:Infobox biography vcard -->
{{#if:{{{image|}}}
{| 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}}}
|-
|-
| 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; margin-top:4px;">{{{caption}}}</div>}}
| <div style="margin:4px 0;">[[File:{{{image}}}|250px]]</div>
{{#if:{{{caption|}}}
| <div style="font-size:90%; color:#555;">{{{caption}}}</div>
}}
}}
}}
<!-- Born: show if birth_date OR birth_place -->
{{#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;" |
| style="padding:6px 8px;" | {{{birth_date|}}}<br />{{{birth_place|}}}
  {{#if:{{{birth_date|}}}|{{{birth_date}}}{{#if:{{{birth_place|}}}|<br />}}}{{{birth_place}}}
|-{{#if:{{{death_date|}}}
}}
 
<!-- Died: show if death_date OR death_place -->
{{#if:{{{death_date|}}}{{{death_place|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Died
! style="padding:6px 8px; background:#f2f2f2;" | Died
| style="padding:6px 8px;" |
| style="padding:6px 8px;" | {{{death_date|}}}<br />{{{death_place|}}}
  {{#if:{{{death_date|}}}|{{{death_date}}}{{#if:{{{death_place|}}}|<br />}}}{{{death_place}}}
|-{{#if:{{{nationality|}}}
}}
 
<!-- Single-parameter rows (render only when param provided) -->
{{#if:{{{native_name|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Native name
| style="padding:6px 8px;" | {{{native_name}}}
}}
 
{{#if:{{{other_names|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Other names
| style="padding:6px 8px;" | {{{other_names}}}
}}
 
{{#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:{{{education|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Education
| style="padding:6px 8px;" | {{{education}}}
}}
 
{{#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:{{{years_active|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Years active
| style="padding:6px 8px;" | {{{years_active}}}
}}
 
{{#if:{{{employer|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Employer
| style="padding:6px 8px;" | {{{employer}}}
}}
 
{{#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:{{{known_for|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Known for
| style="padding:6px 8px;" | {{{known_for}}}
}}
 
{{#if:{{{notable_works|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Notable works
| style="padding:6px 8px;" | {{{notable_works}}}
}}
 
{{#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:{{{partner|}}}
|-
! style="padding:6px 8px; background:#f2f2f2;" | Partner
| style="padding:6px 8px;" | {{{partner}}}
}}
 
{{#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:{{{parents|}}}
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Parents
! style="padding:6px 8px; background:#f2f2f2;" | Honors
| style="padding:6px 8px;" | {{{parents}}}
| style="padding:6px 8px;" | {{{honors|}}}
}}
 
{{#if:{{{relatives|}}}
|-
|-
! style="padding:6px 8px; background:#f2f2f2;" | Relatives
! style="padding:6px 8px; background:#f2f2f2;" | Awards
| style="padding:6px 8px;" | {{{relatives}}}
| style="padding:6px 8px;" | {{{awards|}}}
}}
|}


{{#if:{{{awards|}}}
<noinclude>
|-
{{documentation}}
! style="padding:6px 8px; background:#f2f2f2;" | Awards
This is the '''Infobox biography vcard''' template. 
| style="padding:6px 8px;" | {{{awards}}}
It is used to summarize key information about a person in a structured sidebar.
}}


{{#if:{{{honors|}}}
=== Usage ===
|-
Copy and paste the following into an article, then fill in the fields:
! style="padding:6px 8px; background:#f2f2f2;" | Honors
| style="padding:6px 8px;" | {{{honors}}}
}}


<!-- Website (prints a link) -->
<pre>
{{#if:{{{website|}}}
{{Infobox biography vcard
|-
| name          =
! style="padding:6px 8px; background:#f2f2f2;" | Website
| image        =
| style="padding:6px 8px;" | [{{{website}}} {{{website_text|Official website}}}]
| caption      =
| birth_date    =
| birth_place  =
| death_date    =
| death_place  =
| nationality  =
| alma_mater    =
| occupation    =  
| organization  =
| spouse        =  
| children      =
| honors        =
| awards        =
}}
}}
</pre>


<!-- Signature image -->
=== Parameters ===
{{#if:{{{signature|}}}
* <code>name</code> – Full name of the person
|-
* <code>image</code> – Image filename without "File:"
! style="padding:6px 8px; background:#f2f2f2;" | Signature
* <code>caption</code> – Caption under the image
| style="padding:6px 8px; text-align:left;" | [[File:{{{signature}}}|200px]]
* <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>

Latest revision as of 04:03, 30 September 2025


Person name
Born
Died
Nationality
Alma Mater
Occupation
Organization
Spouse
Children
Honors
Awards


Template:Documentation This is the Infobox biography vcard template. It is used to summarize key information about a person in a structured sidebar.

Copy and paste the following into an article, then fill in the fields:

{{Infobox biography vcard
| name          = 
| image         = 
| caption       = 
| birth_date    = 
| birth_place   = 
| death_date    = 
| death_place   = 
| nationality   = 
| alma_mater    = 
| occupation    = 
| organization  = 
| spouse        = 
| children      = 
| honors        = 
| awards        = 
}}

Parameters

[edit source]
  • name – Full name of the person
  • image – Image filename without "File:"
  • caption – Caption under the image
  • birth_date, birth_place – Birth details
  • death_date, death_place – Death details (if applicable)
  • nationality – Nationality
  • alma_mater – Educational institution(s)
  • occupation – Main profession(s)
  • organization – Affiliated organization(s)
  • spouse, children – Family details
  • honors, awards – Recognition received