Template:Infobox person: Difference between revisions

From WikiAlpha
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox biography vcard" style="width:320px; font-size:90%; border:1px solid #a2a9b1; background:#ffffff; color:#202122;"
<infobox>
|-
<title source="name">
! colspan="2" style="background:#1f4e79; color:#ffffff; text-align:center; font-size:125%; padding:10px;" | {{{name|{{PAGENAME}}}}}
<default>{{PAGENAME}}</default>
|-
</title>
| colspan="2" style="text-align:center; padding:8px; background:#f8f9fa;" |
[[File:{{{image|No image available.svg}}}|{{{image_size|250px}}}|center]]
{{#if:{{{caption|}}}|<div style="font-size:85%; color:#54595d;">{{{caption}}}</div>|}}


{{#if:{{{native_name|}}}|
<image source="image">
|-
<caption source="caption" />
! style="background:#eaecf0; width:35%;" | Native name
</image>
| {{{native_name}}}
|}}


{{#if:{{{birth_name|}}}|
<group>
|-
<header>Personal information</header>
! style="background:#eaecf0;" | Birth name
| {{{birth_name}}}
|}}


{{#if:{{{other_names|}}}|
<data source="birth_name">
|-
<label>Birth name</label>
! style="background:#eaecf0;" | Other names
</data>
| {{{other_names}}}
|}}


{{#if:{{{nickname|}}}|
<data source="other_names">
|-
<label>Other names</label>
! style="background:#eaecf0;" | Nickname(s)
</data>
| {{{nickname}}}
|}}


{{#if:{{{birth_date|}}}|
<data source="nickname">
|-
<label>Nickname(s)</label>
! style="background:#eaecf0;" | Born
</data>
| {{{birth_date}}}<br>{{{birth_place|}}}
|}}


{{#if:{{{death_date|}}}|
<data source="gender">
|-
<label>Gender</label>
! style="background:#eaecf0;" | Died
</data>
| {{{death_date}}}<br>{{{death_place|}}}
|}}


{{#if:{{{resting_place|}}}|
<data source="birth_date">
|-
<label>Born</label>
! style="background:#eaecf0;" | Resting place
</data>
| {{{resting_place}}}
|}}


{{#if:{{{nationality|}}}|
<data source="birth_place">
|-
<label>Birth place</label>
! style="background:#eaecf0;" | Nationality
</data>
| {{{nationality}}}
|}}


{{#if:{{{citizenship|}}}|
<data source="death_date">
|-
<label>Died</label>
! style="background:#eaecf0;" | Citizenship
</data>
| {{{citizenship}}}
|}}


{{#if:{{{ethnicity|}}}|
<data source="death_place">
|-
<label>Death place</label>
! style="background:#eaecf0;" | Ethnicity
</data>
| {{{ethnicity}}}
|}}


{{#if:{{{occupation|}}}|
<data source="age">
|-
<label>Age</label>
! style="background:#eaecf0;" | Occupation
</data>
| {{{occupation}}}
|}}


{{#if:{{{years_active|}}}|
<data source="nationality">
|-
<label>Nationality</label>
! style="background:#eaecf0;" | Years active
</data>
| {{{years_active}}}
|}}


{{#if:{{{employer|}}}|
<data source="citizenship">
|-
<label>Citizenship</label>
! style="background:#eaecf0;" | Employer
</data>
| {{{employer}}}
|}}


{{#if:{{{organization|}}}|
<data source="ethnicity">
|-
<label>Ethnicity</label>
! style="background:#eaecf0;" | Organization
</data>
| {{{organization}}}
|}}


{{#if:{{{known_for|}}}|
<data source="religion">
|-
<label>Religion</label>
! style="background:#eaecf0;" | Known for
</data>
| {{{known_for}}}
|}}


{{#if:{{{title|}}}|
<data source="residence">
|-
<label>Residence</label>
! style="background:#eaecf0;" | Title
</data>
| {{{title}}}
|}}


{{#if:{{{net_worth|}}}|
<data source="home_town">
|-
<label>Home town</label>
! style="background:#eaecf0;" | Net worth
</data>
| {{{net_worth}}}
</group>
|}}


|-
<group>
! colspan="2" style="background:#1f4e79; color:#ffffff; text-align:center;" | Personal information
<header>Career</header>


{{#if:{{{gender|}}}|
<data source="occupation">
|-
<label>Occupation</label>
! style="background:#eaecf0;" | Gender
</data>
| {{{gender}}}
|}}


{{#if:{{{height|}}}|
<data source="title">
|-
<label>Title</label>
! style="background:#eaecf0;" | Height
</data>
| {{{height}}}
|}}


{{#if:{{{weight|}}}|
<data source="employer">
|-
<label>Employer</label>
! style="background:#eaecf0;" | Weight
</data>
| {{{weight}}}
|}}


{{#if:{{{religion|}}}|
<data source="organization">
|-
<label>Organization</label>
! style="background:#eaecf0;" | Religion
</data>
| {{{religion}}}
|}}


{{#if:{{{education|}}}|
<data source="years_active">
|-
<label>Years active</label>
! style="background:#eaecf0;" | Education
</data>
| {{{education}}}
|}}


{{#if:{{{alma_mater|}}}|
<data source="known_for">
|-
<label>Known for</label>
! style="background:#eaecf0;" | Alma mater
</data>
| {{{alma_mater}}}
|}}


{{#if:{{{parents|}}}|
<data source="notable_works">
|-
<label>Notable works</label>
! style="background:#eaecf0;" | Parent(s)
</data>
| {{{parents}}}
|}}


{{#if:{{{father|}}}|
<data source="net_worth">
|-
<label>Net worth</label>
! style="background:#eaecf0;" | Father
</data>
| {{{father}}}
</group>
|}}


{{#if:{{{mother|}}}|
<group>
|-
<header>Education</header>
! style="background:#eaecf0;" | Mother
| {{{mother}}}
|}}


{{#if:{{{relatives|}}}|
<data source="education">
|-
<label>Education</label>
! style="background:#eaecf0;" | Relatives
</data>
| {{{relatives}}}
|}}


{{#if:{{{spouse|}}}|
<data source="alma_mater">
|-
<label>Alma mater</label>
! style="background:#eaecf0;" | Spouse(s)
</data>
| {{{spouse}}}
</group>
|}}


{{#if:{{{partner|}}}|
<group>
|-
<header>Family</header>
! style="background:#eaecf0;" | Partner(s)
| {{{partner}}}
|}}


{{#if:{{{children|}}}|
<data source="father">
|-
<label>Father</label>
! style="background:#eaecf0;" | Children
</data>
| {{{children}}}
|}}


{{#if:{{{residence|}}}|
<data source="mother">
|-
<label>Mother</label>
! style="background:#eaecf0;" | Residence
</data>
| {{{residence}}}
|}}


{{#if:{{{awards|}}}|
<data source="parents">
|-
<label>Parents</label>
! style="background:#eaecf0;" | Awards
</data>
| {{{awards}}}
|}}


{{#if:{{{signature|}}}|
<data source="relatives">
|-
<label>Relatives</label>
! style="background:#eaecf0;" | Signature
</data>
| [[File:{{{signature}}}|180px]]
|}}


|-
<data source="spouse">
! colspan="2" style="background:#1f4e79; color:#ffffff; text-align:center;" | Online presence
<label>Spouse / Partner</label>
</data>


{{#if:{{{website|}}}|
<data source="children">
|-
<label>Children</label>
! style="background:#eaecf0;" | Website
</data>
| {{{website}}}
</group>
|}}


{{#if:{{{email|}}}|
<group>
|-
<header>Attributes</header>
! style="background:#eaecf0;" | Email
| {{{email}}}
|}}


{{#if:{{{instagram|}}}|
<data source="height">
|-
<label>Height</label>
! style="background:#eaecf0;" | Instagram
</data>
| {{{instagram}}}
|}}


{{#if:{{{facebook|}}}|
<data source="weight">
|-
<label>Weight</label>
! style="background:#eaecf0;" | Facebook
</data>
| {{{facebook}}}
|}}


{{#if:{{{twitter|}}}|
<data source="hair">
|-
<label>Hair color</label>
! style="background:#eaecf0;" | X / Twitter
</data>
| {{{twitter}}}
|}}


{{#if:{{{linkedin|}}}|
<data source="eyes">
|-
<label>Eye color</label>
! style="background:#eaecf0;" | LinkedIn
</data>
| {{{linkedin}}}
</group>
|}}


{{#if:{{{youtube|}}}|
<group>
|-
<header>Awards & Honors</header>
! style="background:#eaecf0;" | YouTube
| {{{youtube}}}
|}}


{{#if:{{{tiktok|}}}|
<data source="awards">
|-
<label>Awards / Honors</label>
! style="background:#eaecf0;" | TikTok
</data>
| {{{tiktok}}}
</group>
|}}


{{#if:{{{imdb|}}}|
<group>
|-
<header>Online presence</header>
! style="background:#eaecf0;" | IMDb
| {{{imdb}}}
|}}


|}</includeonly>
<data source="website">
<label>Website</label>
</data>


<noinclude>
<data source="instagram">
== Usage ==
<label>Instagram</label>
</data>


<pre>
<data source="facebook">
{{Infobox person
<label>Facebook</label>
| name =
</data>
| image =
 
| caption =
<data source="twitter">
| birth_name =
<label>X / Twitter</label>
| other_names =
</data>
| nickname =
 
| birth_date =
<data source="linkedin">
| birth_place =
<label>LinkedIn</label>
| death_date =
</data>
| death_place =
 
| nationality =
<data source="youtube">
| citizenship =
<label>YouTube</label>
| ethnicity =
</data>
| occupation =
 
| years_active =
<data source="social_media">
| employer =
<label>Social media</label>
| organization =
</data>
| known_for =
</group>
| title =
</infobox>
| net_worth =
| gender =
| height =
| weight =
| religion =
| education =
| alma_mater =
| father =
| mother =
| spouse =
| children =
| relatives =
| awards =
| website =
| instagram =
| facebook =
| twitter =
| linkedin =
| youtube =
}}
</pre>
</noinclude>

Latest revision as of 20:58, 5 June 2026