Template:Infobox person: Difference between revisions

From WikiAlpha
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<infobox>
{| class="infobox"
<title source="name">
|-
<default>{{PAGENAME}}</default>
! colspan="2" | {{{name|{{PAGENAME}}}}}
</title>


{{#if:{{{image|}}}|
<image source="image">
|-
<caption source="caption" />
| colspan="2" align="center" |
</image>
[[File:{{{image}}}|250px]]
{{#if:{{{caption|}}}|<br><small>{{{caption}}}</small>|}}
}}


{{#if:{{{birth_name|}}}|
<group>
|-
<header>Personal information</header>
! Birth name
| {{{birth_name}}}
}}


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


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


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


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


{{#if:{{{nationality|}}}|
<data source="birth_date">
|-
<label>Born</label>
! Nationality
</data>
| {{{nationality}}}
}}


{{#if:{{{occupation|}}}|
<data source="birth_place">
|-
<label>Birth place</label>
! Occupation
</data>
| {{{occupation}}}
}}


{{#if:{{{years_active|}}}|
<data source="death_date">
|-
<label>Died</label>
! Years active
</data>
| {{{years_active}}}
}}


{{#if:{{{known_for|}}}|
<data source="death_place">
|-
<label>Death place</label>
! Known for
</data>
| {{{known_for}}}
}}


{{#if:{{{title|}}}|
<data source="age">
|-
<label>Age</label>
! Title
</data>
| {{{title}}}
}}


{{#if:{{{height|}}}|
<data source="nationality">
|-
<label>Nationality</label>
! Height
</data>
| {{{height}}}
}}


{{#if:{{{weight|}}}|
<data source="citizenship">
|-
<label>Citizenship</label>
! Weight
</data>
| {{{weight}}}
}}


{{#if:{{{religion|}}}|
<data source="ethnicity">
|-
<label>Ethnicity</label>
! Religion
</data>
| {{{religion}}}
}}


{{#if:{{{education|}}}|
<data source="religion">
|-
<label>Religion</label>
! Education
</data>
| {{{education}}}
}}


{{#if:{{{alma_mater|}}}|
<data source="residence">
|-
<label>Residence</label>
! Alma mater
</data>
| {{{alma_mater}}}
}}


{{#if:{{{father|}}}|
<data source="home_town">
|-
<label>Home town</label>
! Father
</data>
| {{{father}}}
</group>
}}


{{#if:{{{mother|}}}|
<group>
|-
<header>Career</header>
! Mother
| {{{mother}}}
}}


{{#if:{{{spouse|}}}|
<data source="occupation">
|-
<label>Occupation</label>
! Spouse
</data>
| {{{spouse}}}
}}


{{#if:{{{children|}}}|
<data source="title">
|-
<label>Title</label>
! Children
</data>
| {{{children}}}
}}


{{#if:{{{awards|}}}|
<data source="employer">
|-
<label>Employer</label>
! Awards
</data>
| {{{awards}}}
}}


{{#if:{{{website|}}}|
<data source="organization">
|-
<label>Organization</label>
! Website
</data>
| {{{website}}}
}}


{{#if:{{{instagram|}}}|
<data source="years_active">
|-
<label>Years active</label>
! Instagram
</data>
| {{{instagram}}}
}}


{{#if:{{{facebook|}}}|
<data source="known_for">
|-
<label>Known for</label>
! Facebook
</data>
| {{{facebook}}}
}}


{{#if:{{{twitter|}}}|
<data source="notable_works">
|-
<label>Notable works</label>
! X / Twitter
</data>
| {{{twitter}}}
}}


{{#if:{{{linkedin|}}}|
<data source="net_worth">
|-
<label>Net worth</label>
! LinkedIn
</data>
| {{{linkedin}}}
</group>
}}


{{#if:{{{youtube|}}}|
<group>
|-
<header>Education</header>
! YouTube
| {{{youtube}}}
}}


|}
<data source="education">
</includeonly>
<label>Education</label>
</data>


<noinclude>
<data source="alma_mater">
== Usage ==
<label>Alma mater</label>
<pre>
</data>
{{Infobox person
</group>
| name =
 
| image =
<group>
| caption =
<header>Family</header>
| birth_date =
 
| birth_place =
<data source="father">
| nationality =
<label>Father</label>
| occupation =
</data>
| known_for =
 
| height =
<data source="mother">
| weight =
<label>Mother</label>
| education =
</data>
| spouse =
 
| children =
<data source="parents">
| awards =
<label>Parents</label>
| website =
</data>
}}
 
</pre>
<data source="relatives">
</noinclude>
<label>Relatives</label>
</data>
 
<data source="spouse">
<label>Spouse / Partner</label>
</data>
 
<data source="children">
<label>Children</label>
</data>
</group>
 
<group>
<header>Attributes</header>
 
<data source="height">
<label>Height</label>
</data>
 
<data source="weight">
<label>Weight</label>
</data>
 
<data source="hair">
<label>Hair color</label>
</data>
 
<data source="eyes">
<label>Eye color</label>
</data>
</group>
 
<group>
<header>Awards & Honors</header>
 
<data source="awards">
<label>Awards / Honors</label>
</data>
</group>
 
<group>
<header>Online presence</header>
 
<data source="website">
<label>Website</label>
</data>
 
<data source="instagram">
<label>Instagram</label>
</data>
 
<data source="facebook">
<label>Facebook</label>
</data>
 
<data source="twitter">
<label>X / Twitter</label>
</data>
 
<data source="linkedin">
<label>LinkedIn</label>
</data>
 
<data source="youtube">
<label>YouTube</label>
</data>
 
<data source="social_media">
<label>Social media</label>
</data>
</group>
</infobox>

Latest revision as of 20:58, 5 June 2026