Module talk:InfoboxImage: Difference between revisions
m Archiving 1 discussion(s) to Module talk:InfoboxImage/Archive 1) (bot |
→Imagemap support: new section |
||
| Line 28: | Line 28: | ||
{{ping|Magog the Ogre}}. I'm not convinced by [//en.wikipedia.org/w/index.php?title=Module:InfoboxImage&diff=688314367&oldid=685692526 this edit]. This list is intended to be a complete alphabetical list of placeholder images, so that templates can ask the module to suppress display of placeholders. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 07:12, 31 October 2015 (UTC) | {{ping|Magog the Ogre}}. I'm not convinced by [//en.wikipedia.org/w/index.php?title=Module:InfoboxImage&diff=688314367&oldid=685692526 this edit]. This list is intended to be a complete alphabetical list of placeholder images, so that templates can ask the module to suppress display of placeholders. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 07:12, 31 October 2015 (UTC) | ||
:Image is needed male.svg was already in the list further up anyway, so I've undone that change. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 07:43, 31 October 2015 (UTC) | :Image is needed male.svg was already in the list further up anyway, so I've undone that change. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 07:43, 31 October 2015 (UTC) | ||
== Imagemap support == | |||
This module needs to be updated to support "imagemap", per the example at [[The Doctor (Doctor Who)]] to remove any extraneous markup. There is only one image used ([[:File:Versions of the Doctor.jpg]]), but multiple different links over the one image. A template or module should reflect all possible usages of it; even though this is only one such case, there may be other cases of this on Wikipedia. I'd do it myself in the sandbox, but I'm not entirely familiar with this module. [[User:AlexTheWhovian|<span style="color:#16329F;text-shadow:3px 3px 8px #102372;">'''Alex'''|''The''|'''Whovian'''</span>]]<sup>[[User talk:AlexTheWhovian#top|<span style="color:#8F0104">'''?'''</span>]]</sup> 23:59, 13 March 2016 (UTC) | |||
Revision as of 23:59, 13 March 2016
User:MiszaBot/config Template:Archives
Suggestion
Would it be possible to get an option for a maintenance category here? So for example in {{Infobox settlement}} automatically add the page to the hidden maintenance category Settlements with an infobox but no image? The module is awesome and would be really nice to just have an option to supply the name of the maintenance category to put the page in if the image is missing. --Zackmann08 (Talk to me/What I been doing) 00:59, 13 September 2015 (UTC)
Missing |page param (DjVu)
I'm trying to use a specific page from a DjVu file as an image in an infobox ({{Infobox magazine}}) but am only getting the first page (which is Google's scanning boilerplate). Scanning the source for this module I also see no reference to to a |page parameter (the infobox in question does have it, as |image_page, though). Was this forgotten for the Lua module, or am I missing something?
Test case: Alt text
Provided I have understood how this works correctly, so long as that image shows as Google's boilerplate the module is ignoring the given page. The correct image (page) is an 18th-century engraved fronticpiece of a woman starting pensively at a globe. --Xover (talk) 07:01, 14 October 2015 (UTC)
- I went ahead and attempted to fix it myself in the sandbox, and spectacularly dumb mistakes in the first attempt aside, I think it worked.Template:BrSandbox test case: Script error: No such module "InfoboxImage/sandbox".Template:BrI'll go ahead and update docs and testcases so it's complete whenever someone has time to review the proposed changes. --Xover (talk) 10:26, 14 October 2015 (UTC)
- Looks fine. I've copied it over to live. -- 11:46, 14 October 2015 (UTC)
List of placeholder images
Template:Ping. I'm not convinced by this edit. This list is intended to be a complete alphabetical list of placeholder images, so that templates can ask the module to suppress display of placeholders. -- John of Reading (talk) 07:12, 31 October 2015 (UTC)
- Image is needed male.svg was already in the list further up anyway, so I've undone that change. -- WOSlinker (talk) 07:43, 31 October 2015 (UTC)
Imagemap support
This module needs to be updated to support "imagemap", per the example at The Doctor (Doctor Who) to remove any extraneous markup. There is only one image used (File:Versions of the Doctor.jpg), but multiple different links over the one image. A template or module should reflect all possible usages of it; even though this is only one such case, there may be other cases of this on Wikipedia. I'd do it myself in the sandbox, but I'm not entirely familiar with this module. Alex|The|Whovian? 23:59, 13 March 2016 (UTC)