Template:Infobox person: Difference between revisions
(let's test it out...) |
No edit summary Tag: 2017 source edit |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{infobox | |||
| title = {{{name|{{PAGENAME}}}}} | |||
| image = {{#if:{{{picture|}}}|[[File:{{{picture|}}}|200px]]|}} | |||
| caption1 = {{{caption|}}} | |||
| label1 = Date of birth | |||
| data1 = {{{date_birth|}}} | |||
| label2 = Place of birth | |||
| data2 = {{{place_birth|}}} | |||
| label3 = Date of death | |||
| data3 = {{{date_death|}}} | |||
| label4 = Place of death | |||
| data4 = {{{place_death|}}} | |||
| label5 = Nationality | |||
| data5 = {{{nationality|}}} | |||
< | | label6 = Pronouns | ||
| data6 = {{{pronouns|}}} | |||
| label7 = Gender identity | |||
| data7 = {{{gender|}}} | |||
| label8 = Occupation | |||
| data8 = {{{occupation|}}} | |||
| label9 = Known for | |||
| data9 = {{{known_for|}}} | |||
}}<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"date_birth": { | |||
"label": "Date of birth", | |||
"type": "date", | |||
"suggested": true | |||
</ | }, | ||
"place_birth": { | |||
"label": "Place of birth", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"date_death": { | |||
"label": "Date of death", | |||
"type": "date" | |||
}, | |||
"place_death": { | |||
"label": "Place of death", | |||
"type": "string" | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the person (defaults to the article title)", | |||
"type": "string" | |||
}, | |||
"picture": { | |||
"label": "Picture", | |||
"description": "Picture of the person", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Short description of the picture", | |||
"type": "string" | |||
}, | |||
"nationality": { | |||
"label": "Nationality", | |||
"description": "Where's this person from?" | |||
}, | |||
"pronouns": { | |||
"label": "Pronouns", | |||
"description": "Pronouns used by this person", | |||
"suggested": true | |||
}, | |||
"occupation": { | |||
"label": "Occupation" | |||
}, | |||
"known_for": { | |||
"label": "Known for", | |||
"description": "What is this person known for, other than their occupation?" | |||
}, | |||
"gender": { | |||
"label": "Gender identity", | |||
"description": "This person's gender identity", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "To be used in articles about people", | |||
"paramOrder": [ | |||
"name", | |||
"picture", | |||
"caption", | |||
"date_birth", | |||
"place_birth", | |||
"date_death", | |||
"place_death", | |||
"nationality", | |||
"pronouns", | |||
"gender", | |||
"occupation", | |||
"known_for" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
[[Category:Infobox templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 21:05, 8 December 2023
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 |