Infoboxes | ||||
|
Add employer field - ask again
Employer exists in infobox person, but not here. It's probably not relevant for authors of books, but I think it is significant enough for the infobox of writers for newspapers, magazines, websites, etc. MB 7:47 am, 24 September 2021, Friday (11 months, 26 days ago) (UTC−7)
- There has been no opposition. I found someone else trying to use it today in Vladimir Nabokov, so that should count as further support. With no opposition, can you add this Jonesey95? MB 17:58, 19 September 2022 (UTC)
Edit request 14 November 2022
Description of suggested change: Addition of cause of death label @ line 44. This will require numerical updates for subsequent labels.
Diff: @ Line 44
− | + | |label4 = Cause of death
|data4 = {{{death cause|{{{death_cause|}}}}}} |
Will also require update @ line 127 for unknown parameter check.
Thanks! Please advise with any mistakes or for clarificaiton. Bgv. (talk) 01:15, 14 November 2022 (UTC)
- Not done Please get consensus for this change before submitting an edit request. Nikkimaria (talk) 01:17, 14 November 2022 (UTC)
Request to introduce the signature_type parameter
I added the |signature_type=
parameter to this template, it could be able to add alternative text in place of Signature (for example: Seal). This parameter is borrowed from {{Infobox royalty}}. -- Great Brightstar (talk) 16:01, 4 April 2023 (UTC)
- Completed. P.I. Ellsworth , ed. put'er there 12:58, 5 April 2023 (UTC)
This code for this infobox when embedding an image contains |title={{{caption|}}}
. When the alt=
parameter is empty or missing, this results in the image's ALT text getting set to the text of the caption. (example) This is an improper ALT text: The alt text is intended to be read out by screen readers just before the caption, so avoid having the same details in both.
(MOS:ALT) This behavior is also unhelpful for sighted readers in that it repeats the caption right below the image. Opencooper (talk) 16:19, 4 March 2024 (UTC)
- Please provide a simple example showing what you mean. Module:InfoboxImage's documentation says that
|title=
is used for the mouseover text, and it also saysWhen "alt" is used without "title", the alt text is also used as the title
, but I don't see anything about|title=
being used for alt text. Also, Wikipedia:Extended_image_syntax says that when thumb/frame/frameless is not specified,If no alt text is specifically requested, use the requested caption as alt text.
Also see on that page, the section that beginsThe actual alt text for the displayed image will be one of the following, in order of preference:
. The system may be working as designed. – Jonesey95 (talk) 18:46, 4 March 2024 (UTC)- Yes, that module does not say anything about the alt text being defaulted to the caption, so it seems to be a side effect somewhere. I looked at other infoboxes and most don't exhibit this behavior of using the caption for the alt. It's only the ones like this one where the HTML title is set. You can tell when this is set by simply hovering over the image, which will popup a tooltip repeating the caption, though the issue itself is in the generated HTML's img alt attribute. I'm not sure the image syntax page applies here—that is discussing the
[[File:Foo.jpg|thumb|Caption here…]]
syntax, whereas these templates embed images directly, no? Opencooper (talk) 00:04, 5 March 2024 (UTC)
- Yes, that module does not say anything about the alt text being defaulted to the caption, so it seems to be a side effect somewhere. I looked at other infoboxes and most don't exhibit this behavior of using the caption for the alt. It's only the ones like this one where the HTML title is set. You can tell when this is set by simply hovering over the image, which will popup a tooltip repeating the caption, though the issue itself is in the generated HTML's img alt attribute. I'm not sure the image syntax page applies here—that is discussing the