Template:Infobox person: Difference between revisions
(Add more fields from Wikipedia's version) Tag: 2017 source edit |
(Add alt-text) Tag: 2017 source edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| title = {{#if:{{{honorific_prefix|}}}|{{{honorific_prefix|}}} |}}{{{name|{{PAGENAME}}}}}{{#if:{{{honorific_suffix|}}}| {{{honorific_suffix|}}}|}} | | 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 37: | Line 37: | ||
| label17 = Website | | label17 = Website | ||
| data17 = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | | data17 = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | ||
| label18 = {{#if:{{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}}|Other links|Links}} | |||
| data18 = {{{other_links|{{{socials|}}}}}} | |||
}}<noinclude> | }}<noinclude> | ||
<templatedata> | <templatedata> | ||
Line 87: | 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 139: | Line 146: | ||
"description": "Only use if relevant", | "description": "Only use if relevant", | ||
"type": "string" | "type": "string" | ||
}, | |||
"socials": { | |||
"label": "Socials" | |||
} | } | ||
}, | }, | ||
Line 164: | Line 174: | ||
"organization", | "organization", | ||
"notable_works", | "notable_works", | ||
"website" | "website", | ||
"socials", | |||
"alt" | |||
], | ], | ||
"format": "block" | "format": "block" |
Latest revision as of 14:43, 13 July 2024
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 |