Jump to content

Template:Infobox person: Difference between revisions

Add alt-text
(Change "Socials" label to "Other links" or "Links", bceause it feels weird to put "Socials" in the infobox if the subject doesn't have a website)
Tag: 2017 source edit
(Add alt-text)
Tag: 2017 source edit
 
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 89: 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 170: Line 175:
"notable_works",
"notable_works",
"website",
"website",
"socials"
"socials",
"alt"
],
],
"format": "block"
"format": "block"
282

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.