Template:Infobox person: Difference between revisions

Add more fields from Wikipedia's version
No edit summary
Tag: 2017 source edit
(Add more fields from Wikipedia's version)
Tag: 2017 source edit
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]]|}}
| caption1 = {{{caption|}}}
| caption1 = {{{caption|}}}
Line 11: Line 11:
| label4  = Place of death
| label4  = Place of death
| data4    = {{{place_death|}}}
| data4    = {{{place_death|}}}
| label5  = Nationality
| label5   = Other names
| data5   = {{{nationality|}}}
| data5    = {{{other_names|}}}
| label6   = Pronouns
| label6   = Nationality
| data6   = {{{pronouns|}}}
| data6   = {{{nationality|}}}
| label7   = Gender identity
| label7   = Pronouns
| data7   = {{{gender|}}}
| data7   = {{{pronouns|}}}
| label8   = Occupation
| label8   = Gender identity
| data8    = {{{occupation|}}}
| data8   = {{{gender|}}}
| label9   = Known for
| label9  = Education
| data9    = {{{known_for|}}}
| data9    = {{{education|}}}
| label10  = Alma mater
| 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|}}}}}}}}}}}}
}}<noinclude>
}}<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 43: Line 73:
"type": "string"
"type": "string"
},
},
"name": {
"other_names": {
"label": "Name",
"label": "Other names",
"description": "Name of the person (defaults to the article title)",
"description": "Other names the person uses/used, except deadnames",
"type": "string"
"type": "string"
},
},
Line 70: Line 100:
"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 80: Line 129:
"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"
}
}
},
},
Line 95: Line 154:
"gender",
"gender",
"occupation",
"occupation",
"known_for"
"known_for",
"honorific_prefix",
"honorific_suffix",
"other_names",
"education",
"alma_mater",
"years_active",
"employer",
"organization",
"notable_works",
"website"
],
],
"format": "block"
"format": "block"
282

edits