Contents

Template:Infobox person: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{image|}}}|{{#setmainimage:{{{image}}}}}}}<div class="wp-infobox">
{{#if:{{{image|}}}|{{#setmainimage:{{{image}}}}}}}
 
<div class="wp-infobox">


<div class="wp-infobox-header">
<div class="wp-infobox-header">
 
<div class="wp-infobox-name">{{{name|{{PAGENAME}}}}}</div>
<div class="wp-infobox-name">
{{#if:{{{occupation|}}}|<div class="wp-infobox-subtitle">{{{occupation}}}</div>}}
{{{name|{{PAGENAME}}}}}
</div>
 
{{#if:{{{occupation|}}}|
<div class="wp-infobox-subtitle">
{{{occupation}}}
</div>
}}
 
</div>
</div>


{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div class="wp-infobox-image">
<div class="wp-infobox-image" style="padding:12px 14px 0 !important;box-sizing:border-box;">
[[File:{{{image}}}|320px|alt={{{image_alt|{{{name|{{PAGENAME}}}}}}}}]]
[[File:{{{image}}}|320px|alt={{{image_alt|{{{alt|{{{name|{{PAGENAME}}}}}}}}}}}}]]
</div>
</div>
}}
}}


{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|
<div class="wp-infobox-caption">
<div class="wp-infobox-caption">{{{caption}}}</div>
{{{caption}}}
</div>
}}
}}


<div class="wp-infobox-data">
<div class="wp-infobox-data">


{{#if:{{{native_name|}}}|
{{#if:{{{native_name|}}}|
Line 43: Line 24:
</div>
</div>
}}
}}


{{#if:{{{other_name|}}}|
{{#if:{{{other_name|}}}|
Line 49: Line 29:
<div class="wp-infobox-label">Other name</div>
<div class="wp-infobox-label">Other name</div>
<div class="wp-infobox-value">{{{other_name}}}</div>
<div class="wp-infobox-value">{{{other_name}}}</div>
</div>
|
{{#if:{{{other_names|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Other name</div>
<div class="wp-infobox-value">{{{other_names}}}</div>
</div>
</div>
}}
}}
 
}}


{{#if:{{{birth_name|}}}|
{{#if:{{{birth_name|}}}|
Line 59: Line 45:
</div>
</div>
}}
}}


{{#if:{{{birth_date|}}}|
{{#if:{{{birth_date|}}}|
Line 67: Line 52:
</div>
</div>
}}
}}


{{#if:{{{birth_place|}}}|
{{#if:{{{birth_place|}}}|
Line 75: Line 59:
</div>
</div>
}}
}}


{{#if:{{{death_date|}}}|
{{#if:{{{death_date|}}}|
Line 83: Line 66:
</div>
</div>
}}
}}


{{#if:{{{death_place|}}}|
{{#if:{{{death_place|}}}|
Line 91: Line 73:
</div>
</div>
}}
}}


{{#if:{{{nationality|}}}|
{{#if:{{{nationality|}}}|
Line 99: Line 80:
</div>
</div>
}}
}}


{{#if:{{{citizenship|}}}|
{{#if:{{{citizenship|}}}|
Line 107: Line 87:
</div>
</div>
}}
}}


{{#if:{{{occupation|}}}|
{{#if:{{{occupation|}}}|
Line 115: Line 94:
</div>
</div>
}}
}}


{{#if:{{{field|}}}|
{{#if:{{{field|}}}|
Line 123: Line 101:
</div>
</div>
}}
}}


{{#if:{{{specialization|}}}|
{{#if:{{{specialization|}}}|
Line 131: Line 108:
</div>
</div>
}}
}}


{{#if:{{{years_active|}}}|
{{#if:{{{years_active|}}}|
Line 139: Line 115:
</div>
</div>
}}
}}


{{#if:{{{known_for|}}}|
{{#if:{{{known_for|}}}|
Line 147: Line 122:
</div>
</div>
}}
}}


{{#if:{{{notable_works|}}}|
{{#if:{{{notable_works|}}}|
Line 155: Line 129:
</div>
</div>
}}
}}


{{#if:{{{education|}}}|
{{#if:{{{education|}}}|
Line 163: Line 136:
</div>
</div>
}}
}}


{{#if:{{{alma_mater|}}}|
{{#if:{{{alma_mater|}}}|
Line 171: Line 143:
</div>
</div>
}}
}}


{{#if:{{{employer|}}}|
{{#if:{{{employer|}}}|
Line 179: Line 150:
</div>
</div>
}}
}}


{{#if:{{{organization|}}}|
{{#if:{{{organization|}}}|
Line 187: Line 157:
</div>
</div>
}}
}}


{{#if:{{{company|}}}|
{{#if:{{{company|}}}|
Line 195: Line 164:
</div>
</div>
}}
}}


{{#if:{{{founder|}}}|
{{#if:{{{founder|}}}|
Line 203: Line 171:
</div>
</div>
}}
}}


{{#if:{{{title|}}}|
{{#if:{{{title|}}}|
Line 211: Line 178:
</div>
</div>
}}
}}


{{#if:{{{political_party|}}}|
{{#if:{{{political_party|}}}|
Line 219: Line 185:
</div>
</div>
}}
}}


{{#if:{{{office|}}}|
{{#if:{{{office|}}}|
Line 227: Line 192:
</div>
</div>
}}
}}


{{#if:{{{sport|}}}|
{{#if:{{{sport|}}}|
Line 235: Line 199:
</div>
</div>
}}
}}


{{#if:{{{team|}}}|
{{#if:{{{team|}}}|
Line 243: Line 206:
</div>
</div>
}}
}}


{{#if:{{{awards|}}}|
{{#if:{{{awards|}}}|
Line 251: Line 213:
</div>
</div>
}}
}}


{{#if:{{{spouse|}}}|
{{#if:{{{spouse|}}}|
Line 259: Line 220:
</div>
</div>
}}
}}


{{#if:{{{children|}}}|
{{#if:{{{children|}}}|
Line 267: Line 227:
</div>
</div>
}}
}}


{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
Line 276: Line 235:
}}
}}


</div>
</div>
</div>
 
</div><!--
 
-->{{#wikipartner_person_schema:
{{#wikipartner_person_schema:
name={{{name|{{PAGENAME}}}}}
name={{{name|{{PAGENAME}}}}}
|image={{{image|}}}
|image={{{image|}}}
Line 295: Line 251:
|award={{{awards|}}}
|award={{{awards|}}}
|website={{{website|}}}
|website={{{website|}}}
}}
}}<!--
 
--></includeonly><noinclude>
</includeonly>
{{:Template:Infobox person/doc}}
<noinclude>
 
== Usage ==
 
Use this template for articles about notable people, including entrepreneurs, politicians, actors, athletes, scientists, authors, journalists, and other public figures.
 
All parameters are optional. Only add information supported by reliable sources. Empty fields are not displayed.
 
 
== Basic usage ==
 
Use this shorter version for most articles:
 
<pre>
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| nationality =
| occupation =
| known_for =
| website =
}}
</pre>
 
 
== Full usage ==
 
Use additional fields when more information is relevant:
 
<pre>
{{Infobox person
| name =
| native_name =
| other_name =
| birth_name =
 
| image =
| image_alt =
| caption =
| signature =
 
| birth_date =
| birth_date_iso =
| birth_place =
| death_date =
| death_date_iso =
| death_place =
| resting_place =
 
| nationality =
| citizenship =
| ethnicity =
| languages =
| residence =
 
| occupation =
| field =
| specialization =
| years_active =
| known_for =
| notable_works =
 
| education =
| alma_mater =
| research_area =
 
| employer =
| organization =
| company =
| founder =
 
| title =
 
| political_party =
| office =
| term_start =
| term_end =
 
| sport =
| team =
| position =
| medals =
 
| genre =
| instrument =
| filmography =
| discography =
 
| publisher =
| bibliography =
 
| awards =
| honors =
 
| spouse =
| partner =
| children =
| parents =
| relatives =
 
| website =
}}
</pre>
 
 
== Parameter guidance ==
 
'''name''' 
The person's commonly used name.
 
'''native_name''' 
The person's name in their native language or writing system.
 
'''other_name''' 
A widely recognized alternative name, nickname, stage name, or pen name.
 
'''birth_name''' 
The person's name at birth if different from the commonly used name.
 
'''image''' 
The person's main portrait image.
 
'''caption''' 
A short description of the image.
 
'''birth_date''' and '''death_date''' 
Normal dates shown to readers.
 
'''birth_date_iso''' and '''death_date_iso''' 
Exact dates used for structured data. Use only when the exact date is known.
 
'''nationality''' and '''citizenship''' 
Add only when supported by reliable sources.
 
'''occupation''' 
The person's main profession or public role.
 
'''field''' 
Useful for scientists, researchers, academics, and specialists.
 
'''specialization''' 
A specific area of expertise.
 
'''years_active''' 
The period when the person was professionally active.
 
'''known_for''' 
The main reason the person is notable.
 
'''notable_works''' 
Important books, films, inventions, research, artworks, or other major works.
 
'''education''' and '''alma_mater''' 
Schools, universities, or educational background.
 
'''company''' 
A company strongly connected to the person.
 
'''organization''' 
An organization strongly connected to the person.
 
'''founder''' 
Organizations or companies founded by the person.
 
'''office''' 
Political or official positions held by the person.
 
'''sport''' 
Sport associated with athletes.
 
'''team''' 
Current or notable teams.
 
'''awards''' 
Major awards and recognitions.
 
'''website''' 
Official personal website only.
 
Do not add private addresses, personal contact details, speculative claims, or unsourced information.
 
 
== Examples ==
 
 
=== Entrepreneur example ===
 
Example using Elon Musk:
 
<pre>
{{Infobox person
| name = Elon Musk
| birth_name = Elon Reeve Musk
| birth_date = 28 June 1971
| birth_place = Pretoria, South Africa
| citizenship = South Africa; Canada; United States
| occupation = Entrepreneur
| company = Tesla; SpaceX
| founder = SpaceX
| known_for = Electric vehicles, space technology
| education = University of Pennsylvania
| awards = Axel Springer Award; Time Person of the Year
| website =
}}
</pre>
 
 
=== Scientist example ===
 
Example using Albert Einstein:
 
<pre>
{{Infobox person
| name = Albert Einstein
| birth_name = Albert Einstein
| birth_date = 14 March 1879
| birth_place = Ulm, Germany
| death_date = 18 April 1955
| nationality = German; Swiss; American
| occupation = Physicist
| field = Physics
| specialization = Relativity and theoretical physics
| known_for = Theory of relativity
| notable_works = Special theory of relativity; General theory of relativity
| alma_mater = ETH Zurich
| awards = Nobel Prize in Physics
}}
</pre>
 
 
=== Actor example ===
 
Example using Leonardo DiCaprio:
 
<pre>
{{Infobox person
| name = Leonardo DiCaprio
| birth_date = 11 November 1974
| birth_place = Los Angeles, United States
| nationality = American
| occupation = Actor and film producer
| years_active = 1989–present
| known_for = Titanic; The Revenant
| notable_roles = Jack Dawson; Hugh Glass
| awards = Academy Award; Golden Globe Awards
| website =
}}
</pre>
 
 
=== Example infobox ===
 
<div class="wp-infobox">
 
<div class="wp-infobox-header">
 
<div class="wp-infobox-name">
Elon Musk
</div>
 
<div class="wp-infobox-subtitle">
Entrepreneur
</div>
 
</div>
 
 
<div class="wp-infobox-data">
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Birth name</div>
<div class="wp-infobox-value">Elon Reeve Musk</div>
</div>
 
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Born</div>
<div class="wp-infobox-value">28 June 1971</div>
</div>
 
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Birth place</div>
<div class="wp-infobox-value">Pretoria, South Africa</div>
</div>
 
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Occupation</div>
<div class="wp-infobox-value">Entrepreneur</div>
</div>
 
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Company</div>
<div class="wp-infobox-value">Tesla; SpaceX</div>
</div>
 
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Known for</div>
<div class="wp-infobox-value">Electric vehicles and space technology</div>
</div>
 
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Awards</div>
<div class="wp-infobox-value">Time Person of the Year</div>
</div>
 
 
</div>
</div>
 
== TemplateData ==
 
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "The person's commonly used name.",
"type": "string"
},
"native_name": {
"label": "Native name",
"description": "The person's name in their native language or writing system.",
"type": "string"
},
"other_name": {
"label": "Other name",
"description": "A recognized alternative name, nickname, stage name, or pen name.",
"type": "string"
},
"birth_name": {
"label": "Birth name",
"description": "The person's name at birth if different from their common name.",
"type": "string"
},
"image": {
"label": "Image",
"description": "Main portrait image filename.",
"type": "wiki-file-name"
},
"caption": {
"label": "Image caption",
"description": "Short description of the image.",
"type": "string"
},
"birth_date": {
"label": "Birth date",
"description": "Date of birth shown to readers.",
"type": "string"
},
"birth_place": {
"label": "Birth place",
"description": "Place where the person was born.",
"type": "string"
},
"death_date": {
"label": "Death date",
"description": "Date of death when applicable.",
"type": "string"
},
"death_place": {
"label": "Death place",
"description": "Place where the person died.",
"type": "string"
},
"nationality": {
"label": "Nationality",
"description": "Nationality supported by reliable sources.",
"type": "string"
},
"citizenship": {
"label": "Citizenship",
"description": "Citizenship(s) when relevant.",
"type": "string"
},
"occupation": {
"label": "Occupation",
"description": "Main profession or public role.",
"type": "string"
},
"field": {
"label": "Field",
"description": "Area of expertise, mainly for scientists and academics.",
"type": "string"
},
"specialization": {
"label": "Specialization",
"description": "Specific area of expertise.",
"type": "string"
},
"years_active": {
"label": "Years active",
"description": "Period of professional activity.",
"type": "string"
},
"known_for": {
"label": "Known for",
"description": "Main reason the person is notable.",
"type": "string"
},
"notable_works": {
"label": "Notable works",
"description": "Important works, books, films, inventions, research, or creations.",
"type": "string"
},
"education": {
"label": "Education",
"description": "Educational background.",
"type": "string"
},
"alma_mater": {
"label": "Alma mater",
"description": "Universities or institutions attended.",
"type": "string"
},
"company": {
"label": "Company",
"description": "Company associated with the person.",
"type": "string"
},
"organization": {
"label": "Organization",
"description": "Organization associated with the person.",
"type": "string"
},
"founder": {
"label": "Founder",
"description": "Organizations or companies founded by the person.",
"type": "string"
},
"title": {
"label": "Title",
"description": "Professional or official title.",
"type": "string"
},
"political_party": {
"label": "Political party",
"description": "Political party membership when relevant.",
"type": "string"
},
"office": {
"label": "Office",
"description": "Political or official position held.",
"type": "string"
},
"sport": {
"label": "Sport",
"description": "Sport associated with an athlete.",
"type": "string"
},
"team": {
"label": "Team",
"description": "Current or notable teams.",
"type": "string"
},
"awards": {
"label": "Awards",
"description": "Major awards and recognitions.",
"type": "string"
},
"spouse": {
"label": "Spouse",
"description": "Publicly documented spouse information.",
"type": "string"
},
"children": {
"label": "Children",
"description": "Publicly documented children information.",
"type": "string"
},
"website": {
"label": "Website",
"description": "Official personal website only.",
"type": "url"
}
}
}
</templatedata>


[[Category:WikiPartner infobox templates]]
[[Category:WikiPartner infobox templates]]
[[Category:WikiPartner documentation]]
[[Category:WikiPartner documentation]]
[[Category:WikiPartner templates]]
[[Category:WikiPartner templates]]
</noinclude>
</noinclude>

Latest revision as of 19:15, 6 September 2026

Infobox person is WikiPartner's standard infobox for biographical articles.

Use it for entrepreneurs, businesspeople, scientists, politicians, actors, athletes, authors, journalists, and other notable people.

All parameters are optional. Add only information supported by reliable sources. Empty fields are automatically hidden.

Short usage

Use this version for most biography articles.

{{Infobox person
| name =
| image =
| image_alt =
| caption =
| birth_date =
| birth_place =
| nationality =
| occupation =
| known_for =
| website =
}}

Full usage

Use this version when more biographical information is available. Remove fields that are not needed.

{{Infobox person
| name =
| native_name =
| other_name =
| birth_name =

| image =
| image_alt =
| caption =

| birth_date =
| birth_date_iso =
| birth_place =
| death_date =
| death_date_iso =
| death_place =

| nationality =
| citizenship =

| occupation =
| field =
| specialization =
| years_active =
| known_for =
| notable_works =

| education =
| alma_mater =

| employer =
| organization =
| company =
| founder =
| title =

| political_party =
| office =

| sport =
| team =

| awards =

| spouse =
| children =

| website =
}}

Examples

The examples below show how the wikitext entered by an editor becomes a finished WikiPartner infobox.

Entrepreneur — Elon Musk

Wikitext

{{Infobox person
| name = Elon Musk
| image = Elon Musk April 2022.jpg
| image_alt = Elon Musk
| caption = Musk in 2022
| birth_date = 28 June 1971
| birth_place = Pretoria, South Africa
| citizenship = South Africa; Canada; United States
| occupation = Entrepreneur and businessman
| education = University of Pennsylvania
| company = Tesla; SpaceX
| founder = SpaceX
| known_for = Tesla and SpaceX
}}

Rendered infobox

Elon Musk
Entrepreneur and businessman
Musk in 2022




Born
28 June 1971
Birth place
Pretoria, South Africa




Citizenship
South Africa; Canada; United States
Occupation
Entrepreneur and businessman




Known for
Tesla and SpaceX


Education
University of Pennsylvania




Company
Tesla; SpaceX
Founder
SpaceX










Scientist — Albert Einstein

Wikitext

{{Infobox person
| name = Albert Einstein
| image = Einstein Portrait.png
| image_alt = Albert Einstein
| caption = Portrait of Albert Einstein
| birth_date = 14 March 1879
| birth_place = Ulm, Germany
| death_date = 18 April 1955
| nationality = German; Swiss; American
| occupation = Physicist
| field = Physics
| specialization = Theoretical physics
| known_for = Theory of relativity
| alma_mater = ETH Zurich
| awards = Nobel Prize in Physics
}}

Rendered infobox

Albert Einstein
Physicist
Portrait of Albert Einstein




Born
14 March 1879
Birth place
Ulm, Germany
Died
18 April 1955


Nationality
German; Swiss; American


Occupation
Physicist
Field
Physics
Specialization
Theoretical physics


Known for
Theory of relativity



Alma mater
ETH Zurich










Awards
Nobel Prize in Physics




Athlete — Michael Jordan

Wikitext

{{Infobox person
| name = Michael Jordan
| image = Michael Jordan.jpg
| image_alt = Michael Jordan
| caption = Michael Jordan
| birth_date = 17 February 1963
| birth_place = Brooklyn, New York City, United States
| nationality = American
| occupation = Professional basketball player
| years_active = 1984–2003
| sport = Basketball
| team = Chicago Bulls; Washington Wizards
| known_for = Six NBA championships with the Chicago Bulls
}}

Rendered infobox

Michael Jordan
Professional basketball player
Michael Jordan




Born
17 February 1963
Birth place
Brooklyn, New York City, United States



Nationality
American


Occupation
Professional basketball player



Years active
1984–2003
Known for
Six NBA championships with the Chicago Bulls











Sport
Basketball
Team
Chicago Bulls; Washington Wizards





Usage notes

  • Use the person's commonly recognized name in name.
  • Use image for the main portrait filename only.
  • Use image_alt to describe the image for accessibility.
  • Use caption for a short image caption.
  • Use other_name for a recognized alternative name, professional name, stage name, nickname, or pen name.
  • Use birth_date_iso and death_date_iso only when an exact machine-readable date is available.
  • Leave parameters out when they are not relevant.
  • Do not add unsupported or speculative information.
  • Do not include private addresses, telephone numbers, private email addresses, or other private information.
  • Biographical claims should be supported by reliable sources.

TemplateData

WikiPartner's standard infobox for biographical articles.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

The person's commonly used name.

Stringoptional
Native namenative_name

The person's name in their native language or writing system.

Stringoptional
Other nameother_name other_names

A recognized alternative name, nickname, stage name, pen name, or professional name.

Stringoptional
Birth namebirth_name

The person's name at birth when different from the commonly used name.

Stringoptional
Imageimage

Main portrait image filename.

Fileoptional
Image alternative textimage_alt alt

Short alternative text describing the portrait image.

Stringoptional
Image captioncaption

Short caption for the portrait image.

Stringoptional
Birth datebirth_date

Date of birth displayed to readers.

Stringoptional
Birth date ISObirth_date_iso

Machine-readable date of birth used for structured data.

Dateoptional
Birth placebirth_place

Place where the person was born.

Stringoptional
Death datedeath_date

Date of death when applicable.

Stringoptional
Death date ISOdeath_date_iso

Machine-readable date of death used for structured data.

Dateoptional
Death placedeath_place

Place where the person died.

Stringoptional
Nationalitynationality

Nationality when relevant and supported by reliable sources.

Stringoptional
Citizenshipcitizenship

Citizenship or citizenships when relevant.

Stringoptional
Occupationoccupation

The person's main profession or public role.

Stringoptional
Fieldfield

Professional or academic field.

Stringoptional
Specializationspecialization

Specific area of professional or academic expertise.

Stringoptional
Years activeyears_active

Period during which the person was professionally active.

Stringoptional
Known forknown_for

The main reason the person is notable.

Stringoptional
Notable worksnotable_works

Important books, films, inventions, research, artworks, or other works.

Stringoptional
Educationeducation

Educational background.

Stringoptional
Alma materalma_mater

University, college, or educational institution attended.

Stringoptional
Employeremployer

Notable employer associated with the person.

Stringoptional
Organizationorganization

Organization strongly associated with the person.

Stringoptional
Companycompany

Company strongly associated with the person.

Stringoptional
Founderfounder

Companies or organizations founded by the person.

Stringoptional
Titletitle

Professional, corporate, or official title.

Stringoptional
Political partypolitical_party

Political party membership when relevant.

Stringoptional
Officeoffice

Political or official position held by the person.

Stringoptional
Sportsport

Sport associated with an athlete.

Stringoptional
Teamteam

Current or notable sports team.

Stringoptional
Awardsawards

Major awards and recognitions.

Stringoptional
Spousespouse

Publicly documented spouse information.

Stringoptional
Childrenchildren

Publicly documented information about children.

Stringoptional
Websitewebsite

Official personal website.

URLoptional