Template:Infobox person: Difference between revisions

(templatedata)
No edit summary
Tag: 2017 source edit
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<infobox theme="person">
{{infobox
<title source="name">
| title   = {{{name|{{PAGENAME}}}}}
<default>{{PAGENAME}}</default>
| image   = {{#if:{{{picture|}}}|[[File:{{{picture|}}}|200px]]|}}
</title>
| caption1 = {{{caption|}}}
<image source="picture">
| label1  = Date of birth
<caption source="caption" />
| data1    = {{{date_birth|}}}
</image>
| label2  = Place of birth
<data source="date_birth">
| data2    = {{{place_birth|}}}
<label>Birth</label>
| label3  = Date of death
<format>{{{date_birth}}} ({{{place_birth}}})</format>
| data3    = {{{date_death|}}}
</data>
| label4  = Place of death
<data source="date_death">
| data4    = {{{place_death|}}}
<label>Death</label>
| label5  = Nationality
<format>{{{date_death}}} ({{{place_death}}})</format>
| data5    = {{{nationality|}}}
</data>
| label6  = Pronouns
<data source="nationality">
| data6    = {{{pronouns|}}}
<label>Nationality</label>
| label7  = Gender identity
</data>
| data7    = {{{gender|}}}
<data source="pronouns">
| label8  = Occupation
<label>Pronouns</label>
| data8    = {{{occupation|}}}
</data>
| label9  = Known for
<data source="gender">
| data9    = {{{known_for|}}}
<label>Gender identity</label>
}}<noinclude>
</data>
<data source="occupation">
<label>Occupation</label>
</data>
<data source="known_for">
<label>Known for</label>
</data>
</infobox>
<noinclude>
<templatedata>
<templatedata>
{
{
Line 109: Line 100:
}
}
</templatedata>
</templatedata>
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 21:05, 8 December 2023

Infobox person

To be used in articles about people

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the person (defaults to the article title)

Stringoptional
Picturepicture

Picture of the person

Filesuggested
Captioncaption

Short description of the picture

Stringoptional
Date of birthdate_birth

no description

Datesuggested
Place of birthplace_birth

no description

Stringsuggested
Date of deathdate_death

no description

Dateoptional
Place of deathplace_death

no description

Stringoptional
Nationalitynationality

Where's this person from?

Unknownoptional
Pronounspronouns

Pronouns used by this person

Unknownsuggested
Gender identitygender

This person's gender identity

Stringsuggested
Occupationoccupation

no description

Unknownoptional
Known forknown_for

What is this person known for, other than their occupation?

Unknownoptional