Jump to content

Module talk:InfoboxImage: Difference between revisions

From Fifth Empire Wiki
m Archiving 1 discussion(s) to Module talk:InfoboxImage/Archive 1) (bot
alt=?: Re (sorry for the delay)
Line 26: Line 26:
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 <code>alt=</code>? That's not valid best I remember. Fixing this would fix potentially many thousands of the "bogus file operation" lint categories. [[User:😂|<span style="color:#444;font-weight:bold">FACE WITH TEARS OF JOY</span>]]&nbsp;[[User_talk:😂|<sup style="color:#c22">[u+1F602]</sup>]]&nbsp;<em style="font-size:10px;">03:19, 21 December 2017 (UTC)</em>
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 <code>alt=</code>? That's not valid best I remember. Fixing this would fix potentially many thousands of the "bogus file operation" lint categories. [[User:😂|<span style="color:#444;font-weight:bold">FACE WITH TEARS OF JOY</span>]]&nbsp;[[User_talk:😂|<sup style="color:#c22">[u+1F602]</sup>]]&nbsp;<em style="font-size:10px;">03:19, 21 December 2017 (UTC)</em>
:Maybe you could make an example edit to an article, or to this module's sandbox, to show us what you mean. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 04:18, 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. – [[User:Jonesey95|Jonesey95]] ([[User talk: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. [[User:😂|<span style="color:#444;font-weight:bold">FACE WITH TEARS OF JOY</span>]]&nbsp;[[User_talk:😂|<sup style="color:#c22">[u+1F602]</sup>]]&nbsp;<em style="font-size:10px;">23:08, 18 January 2018 (UTC)</em>

Revision as of 23:08, 18 January 2018

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

Template-protected edit request on 19 October 2017

Template:Edit template-protected BCX (part of the Telkom Group) formerly known as Business Connexion Group Maraisrc (talk) 08:47, 19 October 2017 (UTC)

Template:Not done Unclear request, does not seem to be related to this module. -- AlexTW 08:49, 19 October 2017 (UTC)

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)