Jump to content

Module talk:InfoboxImage

From Fifth Empire Wiki

Template:Talk header User:MiszaBot/config Template:Archives

location=right is possible?

I want to position an image right in a data(n) field. With regular WP:EIS notation this is possible (in body text). Is there a reason this is not possible (or: not advised) in an infobox? -DePiep (talk) 19:18, 24 October 2017 (UTC)

it's a hack, but |title=right works. Frietjes (talk) 18:59, 27 October 2017 (UTC)

alt=?

Wanted to ask for some feedback before I made an edit that broke a lot of crap: but shouldn't alt text just be appended to the image link without using alt=? That's not valid best I remember. Fixing this would fix potentially many thousands of the "bogus file operation" lint categories. FACE WITH TEARS OF JOY [u+1F602] 03:19, 21 December 2017 (UTC)

Maybe you could make an example edit to an article, or to this module's sandbox, to show us what you mean. – Jonesey95 (talk) 04:18, 21 December 2017 (UTC)

I'm looking at the following snippet in this module: <syntaxhighlight lang="lua">

       if alt ~= "" and alt ~= nil then
           result = result .. "|alt=" .. alt;
       end

</syntaxhighlight> This seems both incorrect (File links shouldn't have alt= parameters), as well as redundant, considering we handle alt/title further down. FACE WITH TEARS OF JOY [u+1F602] 23:08, 18 January 2018 (UTC)

The alt text is meant to be a description of the image for visually impaired readers and is not a redundant feature. -- WOSlinker (talk) 17:55, 19 January 2018 (UTC)

Is there a way to right-justify?

  ~ Tom.Reding (talkdgaf)  21:05, 10 March 2018 (UTC)

Just noticed the |title=right hack above. Thanks Template:U!   ~ Tom.Reding (talkdgaf)  21:08, 10 March 2018 (UTC)

I see you've used it in {{Year in Taiwan/sandbox}}. I'm not sure there much benefit in using InfoboxImage when all the parameters are fixed values. InfoboxImage is there to tidy up the values that are passed through. -- WOSlinker (talk) 21:21, 10 March 2018 (UTC)
Template:U, is there another/a better way of removing them from Category:Pages using deprecated image syntax?   ~ Tom.Reding (talkdgaf)  06:07, 11 March 2018 (UTC)
That category is only added by Module:InfoboxImage when the image param starts with [[ -- WOSlinker (talk) 08:28, 11 March 2018 (UTC)
Template:U the problem was upstream in the parent template. I have added a |images= to the parent template to allow the images to be preformatted. Frietjes (talk) 13:43, 11 March 2018 (UTC)

Template-protected edit request on 23 April 2018

Template:Edit template-protected

Max.Herrera3 (talk) 18:05, 23 April 2018 (UTC)

hi thats dem facts for yaή