Wikipedia talk:Extended image syntax/Archive 4: Difference between revisions

Content deleted Content added
Archiving 1 discussion(s) from Wikipedia talk:Extended image syntax) (bot
 
m Archiving 1 discussion(s) from Wikipedia talk:Extended image syntax) (bot
 
(4 intermediate revisions by the same user not shown)
Line 20:
:::::::::::Then we do have a difference of opinion. I agree that it is good for readers to discover the file description, for the reasons you give, and like you I don’t see much value in adding coordinates to captions. But I don’t think we should legislate that data should not appear in one place because it would be better for the user to have to go to another place to see it. How the data should be presented is a design decision that I feel we should leave to the editor working on each instance. [[User:Mike Christie|Mike Christie]] ([[User_talk:Mike Christie|talk]] - [[Special:Contributions/Mike_Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 21:37, 15 July 2021 (UTC)
::::::::::::It's already legislated - [[MOS:CAPTION]] says {{tq|Captions should be succinct; more information can be included on its description page, or in the main text.}} So we put coords on the file description page, not in the caption. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 22:08, 15 July 2021 (UTC)
 
== Copiable text vs mouse-over text ==
 
Sometimes we need to substitute Unicode characters with images due to lack of widespread font support. Because a user manually copying the WP text should still get the correct character, the Unicode character is often added to the file syntax after a pipe. But that causes it to display as the mouse-over as well, which isn't useful (the mouse-over is either equivalent to the image, or displays as an empty box or question mark). I was thinking of adding the following text to our instructions to resolve the issue. But would this cause different problems with screen readers? Will a screen-reader recognize what a Unicode character is even if the user doesn't have the fonts to display it?
 
Suggested text:
{{blockquote|The alt text is what gets copied when a reader manually copies a section of Wikipedia text that includes images. This may be useful when an image is used to substitute for a Unicode character that may not yet have widespread font support. The mouse-over, however, should be something more descriptive, as it would be unhelpful for it to look just like the image or, worse, to display as a blank box. The alt parameter provides for this distinction:
 
:<nowiki>[[file:....svg|16px|(mouseover text)|alt=(copiable text)]]</nowiki>
 
For example,
:<nowiki>Information: [[file:Infobox info icon.svg|16px|alt=&amp;#x1F6C8;|The 'information' icon (circled 'i')]].</nowiki>
will display as:
:Information: [[file:Infobox info icon.svg|16px|alt=&#x1F6C8;|The 'information' icon (circled 'i')]].
 
Note that the mouse-over display is a description of the symbol, while if you copy the text and paste it in another document, you'll faithfully reproduce the intended text "Information: 🛈." (You may need to install a supporting font for the Unicode character '🛈' to display.)}}
 
Hopefully, a screen-reader would handle the Unicode character better than we would with our verbal description. But if that won't work, would it be possible to add a 'character' param to the file syntax that would enable faithful copying of the intended WP text without interfering with screen-readers or mouse-over texts? Please ping me if you respond — [[User:Kwamikagami|kwami]] ([[User talk:Kwamikagami|talk]]) 00:08, 1 January 2022 (UTC)
 
== em sizes ==
 
I think em sizes should be perfectly possible to support by now. Just have a bit JavaScript fix up the src-attributes if it turns out the initial guess was incorrect. [[Special:Contributions/92.67.227.181|92.67.227.181]] ([[User talk:92.67.227.181|talk]]) 16:31, 18 July 2022 (UTC)
 
==Proposal to change the default format of galleries==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]]&nbsp;You are invited to join the discussion at [[:Wikipedia:Village pump (proposals)#Galleries|Wikipedia:Village pump (proposals) §&nbsp;Galleries]]. <span style="color:#AAA"><small>&#123;{u&#124;</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}&#125;</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 03:40, 29 May 2023 (UTC)<!-- [[Template:Please see]] -->
 
== Quote marks around code examples ==
 
Is there any reason why long sections of this have quote marks around the code examples? This seems strange and potentially confusing formatting, with the risk that people will think they have to type the quote marks, besides being redundant and distracting.
 
Surely part of the point of using <code>code</code> style is that the text can be shown exactly as entered, without needing punctuation?
 
'''Edit:''' OK, I see that one user unilaterally put them in. Unfortunately, it looks as though there are also now places where <code>'''''bold italic code'''''</code> was taken out of code style altogether, so the typography doesn't match the opening explanation of how it's used.
[[User:Musiconeologist|Musiconeologist]] ([[User talk:Musiconeologist|talk]]) 23:09, 7 April 2024 (UTC)
:'''Update:''' I think I've now repaired the ''Brief syntax'' section, at least. I wanted to read up about the syntax and was finding the quote marks and changed formatting impossibly distracting.{{pb}}I didn't simply revert the edits that added them, as it looked a bit too risky a process that might lose good edits as well. [[User:Musiconeologist|Musiconeologist]] ([[User talk:Musiconeologist|talk]]) 19:13, 14 April 2024 (UTC)
 
== Displaying groups of images ==
Why does this page not mention templates like {{t|Photo montage}} and {{t|multiple image}}? [[User:Jarble|Jarble]] ([[User talk:Jarble|talk]]) 15:55, 4 May 2024 (UTC)
:Because you don't use the extended image syntax with them. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 15:58, 4 May 2024 (UTC)
:Because they are not part of the official syntax. They are just various templates with modifications on top of the syntax. There are several hundreds of templates to 'do things' with images, listing them all isn't really feasible. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 16:03, 4 May 2024 (UTC)