Template:Infobox person: Difference between revisions
| No edit summary | Amazingakita (talk | contribs)  Tag: Undo | ||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| {{infobox | {{infobox | ||
| | title    = {{{name|{{PAGENAME}}}}} | | title    = {{#if:{{{honorific_prefix|}}}|{{{honorific_prefix|}}} |}}{{{name|{{PAGENAME}}}}}{{#if:{{{honorific_suffix|}}}| {{{honorific_suffix|}}}|}} | ||
| | image    = {{#if:{{{picture|}}}|[[File:{{{picture|}}}|200px]]|}} | | image    = {{#if:{{{picture|}}}|[[File:{{{picture|}}}|200px|alt={{{alt|}}}]]|}} | ||
| | caption1 = {{{caption|}}} | | caption1 = {{{caption|}}} | ||
| | label1   = Date of birth | | label1   = Date of birth | ||
| Line 11: | Line 11: | ||
| | label4   = Place of death | | label4   = Place of death | ||
| | data4    = {{{place_death|}}} | | data4    = {{{place_death|}}} | ||
| | label5   = Nationality | | label5   = Other names | ||
| |  | | data5    = {{{other_names|}}} | ||
| |  | | label6   = Nationality | ||
| |  | | data6    = {{{nationality|}}} | ||
| |  | | label7   = Pronouns | ||
| |  | | data7    = {{{pronouns|}}} | ||
| |  | | label8   = Gender identity | ||
| |  | | data8    = {{{gender|}}} | ||
| |  | | label9   = Education | ||
| |  | | data9    = {{{education|}}} | ||
| }} | | label10  = Alma mater | ||
| <noinclude> | | data10   = {{{alma_mater|}}} | ||
| | label11  = Occupation | |||
| | data11   = {{{occupation|}}} | |||
| | label12  = Years active | |||
| | data12   = {{{years_active|}}} | |||
| | label13  = Employer | |||
| | data13   = {{{employer|}}} | |||
| | label14  = Organization | |||
| | data14   = {{{organization|}}} | |||
| | label15  = Known for | |||
| | data15   = {{{known_for|}}} | |||
| | label16  = Notable works | |||
| | data16   = {{{notable_works|}}} | |||
| | label17  = Website | |||
| | data17   = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | |||
| | label18  = {{#if:{{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}}|Other links|Links}} | |||
| | data18   = {{{other_links|{{{socials|}}}}}} | |||
| }}<noinclude> | |||
| <templatedata> | <templatedata> | ||
| { | { | ||
| 	"params": { | 	"params": { | ||
| 		"name": { | |||
| 			"label": "Name", | |||
| 			"description": "Name of the person (defaults to the article title)", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"honorific_prefix": { | |||
| 			"label": "Honorific (prefix)", | |||
| 			"description": "Mx, Sir, Ms, Mr, Rev, etcetera", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"honorific_suffix": { | |||
| 			"label": "Honorific (suffix)", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"date_birth": { | 		"date_birth": { | ||
| 			"label": "Date of birth", | 			"label": "Date of birth", | ||
| Line 44: | Line 75: | ||
| 			"type": "string" | 			"type": "string" | ||
| 		}, | 		}, | ||
| 		" | 		"other_names": { | ||
| 			"label": " | 			"label": "Other names", | ||
| 			"description": " | 			"description": "Other names the person uses/used, except deadnames", | ||
| 			"type": "string" | 			"type": "string" | ||
| 		}, | 		}, | ||
| Line 58: | Line 89: | ||
| 			"label": "Caption", | 			"label": "Caption", | ||
| 			"description": "Short description of the picture", | 			"description": "Short description of the picture", | ||
| 			"type": "string" | |||
| 		}, | |||
| 		"alt": { | |||
| 			"label": "Alt", | |||
| 			"description": "Alt text of image", | |||
| 			"type": "string" | 			"type": "string" | ||
| 		}, | 		}, | ||
| Line 71: | Line 107: | ||
| 		"occupation": { | 		"occupation": { | ||
| 			"label": "Occupation" | 			"label": "Occupation" | ||
| 		}, | |||
| 		"years_active": { | |||
| 			"label": "Years active", | |||
| 			"description": "Years active in occupation" | |||
| 		}, | |||
| 		"employer": { | |||
| 			"label": "Employer", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"organization": { | |||
| 			"label": "Organization", | |||
| 			"type": "string" | |||
| 		}, | 		}, | ||
| 		"known_for": { | 		"known_for": { | ||
| 			"label": "Known for", | 			"label": "Known for", | ||
| 			"description": "What is this person known for, other than their occupation?" | 			"description": "What is this person known for, other than their occupation?" | ||
| 		}, | |||
| 		"notable_works": { | |||
| 			"label": "Notable works", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"website": { | |||
| 			"label": "website" | |||
| 		}, | 		}, | ||
| 		"gender": { | 		"gender": { | ||
| Line 81: | Line 136: | ||
| 			"type": "string", | 			"type": "string", | ||
| 			"suggested": true | 			"suggested": true | ||
| 		}, | |||
| 		"education": { | |||
| 			"label": "Education", | |||
| 			"description": "Only use if relevant", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"alma_mater": { | |||
| 			"label": "Alma mater", | |||
| 			"description": "Only use if relevant", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"socials": { | |||
| 			"label": "Socials" | |||
| 		} | 		} | ||
| 	}, | 	}, | ||
| Line 96: | Line 164: | ||
| 		"gender", | 		"gender", | ||
| 		"occupation", | 		"occupation", | ||
| 		"known_for" | 		"known_for", | ||
| 		"honorific_prefix", | |||
| 		"honorific_suffix", | |||
| 		"other_names", | |||
| 		"education", | |||
| 		"alma_mater", | |||
| 		"years_active", | |||
| 		"employer", | |||
| 		"organization", | |||
| 		"notable_works", | |||
| 		"website", | |||
| 		"socials", | |||
| 		"alt" | |||
| 	], | 	], | ||
| 	"format": "block" | 	"format": "block" | ||
| } | } | ||
| </templatedata> | </templatedata> | ||
| [[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
| </noinclude> | </noinclude> | ||
Latest revision as of 20:35, 30 October 2025
To be used in articles about people
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the person (defaults to the article title) | String | optional | 
| Picture | picture | Picture of the person | File | suggested | 
| Caption | caption | Short description of the picture | String | optional | 
| Date of birth | date_birth | no description | Date | suggested | 
| Place of birth | place_birth | no description | String | suggested | 
| Date of death | date_death | no description | Date | optional | 
| Place of death | place_death | no description | String | optional | 
| Nationality | nationality | Where's this person from? | Unknown | optional | 
| Pronouns | pronouns | Pronouns used by this person | Unknown | suggested | 
| Gender identity | gender | This person's gender identity | String | suggested | 
| Occupation | occupation | no description | Unknown | optional | 
| Known for | known_for | What is this person known for, other than their occupation? | Unknown | optional | 
| Honorific (prefix) | honorific_prefix | Mx, Sir, Ms, Mr, Rev, etcetera | String | optional | 
| Honorific (suffix) | honorific_suffix | no description | String | optional | 
| Other names | other_names | Other names the person uses/used, except deadnames | String | optional | 
| Education | education | Only use if relevant | String | optional | 
| Alma mater | alma_mater | Only use if relevant | String | optional | 
| Years active | years_active | Years active in occupation | Unknown | optional | 
| Employer | employer | no description | String | optional | 
| Organization | organization | no description | String | optional | 
| Notable works | notable_works | no description | String | optional | 
| website | website | no description | Unknown | optional | 
| Socials | socials | no description | Unknown | optional | 
| Alt | alt | Alt text of image | String | optional |